[CMake] PROJECT_SOURCE_DIR ...

Witold E Wolski wewolski at gmail.com
Sun Nov 10 14:12:10 EST 2013


Looking at CMakeLists.txt and trying to anderstand...

the project is:
PROJECT(LIBFBI)

than there are variables within the the file such as
LIBFBI_BINARY_DIR
LIBFBI_SOURCE_DIR

They seem not be set in this script nor in the included script. Does
cmake generates these variables? If so can anyone point me to where
this is documented?



And they are the same as CMAKE_BINARY_DIR , or CMAKE_SOURCE_DIR.

So why one would use the ${PROJECT}_BINARY_DIR variables?


Kind regards
Witold





-- 
Witold Eryk Wolski


More information about the CMake mailing list