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 <[EMAIL PROTECTED]>:
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
[email protected]
http://www.cmake.org/mailman/listinfo/cmake



--
Erk
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to