[CMake] Out-of-source build

Yinon Ehrlich yinon.me at gmail.com
Sun Nov 11 10:25:38 EST 2007


Hi,

* I'm new to CMake, trying to convert our existing GNU Makefiles to CMake.
* I need the out-of-source feature, and I want to make sure I do it the 
right way:
    SET(TOPLEVEL "../../..")
    SET(CMAKE_BINARY_DIR ${CMAKE_SOURCE_DIR}/${TOPLEVEL}/bin)
   ... is this the "right" way to do this ?

Thanks in advance,
Yinon


More information about the CMake mailing list