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

Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to