[CMake] Newbie questions: verbosity and compiler invocation
Michael Wild
themiwi at gmail.com
Thu Sep 9 09:51:57 EDT 2010
On 9. Sep, 2010, at 15:37 , David Aldrich wrote:
> Hi Michael
>
>> Are they _always_ next to each other and is FolderB always called by that
>> name?
>
> Yes
>
>> If so, just do ${CMAKE_PROJECT_DIR}/../FolderB.
>
> Thanks that worked fine. I wasn't aware of that syntax possibility.
>
> David
>
There's not much CMake syntax involved here. CMake expands ${CMAKE_PROJECT_DIR} to the absolute path of the directory containing the top-level CMakeLists.txt file, and then the rest is just normal path specification.
Michael
--
There is always a well-known solution to every human problem -- neat, plausible, and wrong.
H. L. Mencken
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100909/b8591f86/attachment.pgp>
More information about the CMake
mailing list