[CMake] Trying to find a directory
Eric Noulard
eric.noulard at gmail.com
Fri Nov 24 03:31:26 EST 2006
Not sure to understand your need
but did you look at:
IF(EXISTS file-name)
IF(EXISTS directory-name)
or
FILE(RELATIVE_PATH variable directory file)
or
GET_FILENAME_COMPONENT
depending on your need?
2006/11/24, Timo Rumland <cr at olympclan.de>:
> Hello,
>
> I'm trying to get a directory into a variable:
>
> ${PROJECT_BINARY_DIR} is "c:/project/test/buildfiles", now how can I
> determine the relative path "../bin" resulting in
> "c:/project/test/bin"?
>
>
> Thanks a lot for your help
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
--
Erk
More information about the CMake
mailing list