[CMake] Out-of-source build broken ?

Emmanuel Blot eblotml at free.fr
Wed Jun 18 16:13:58 EDT 2008


I can't figure out why CMake keeps building in the source directory  
rather than in the current directory:

$ cmake --version
cmake version 2.6-patch 0

$ echo $PWD
/home/eblot/t380/host/build/project

$ cmake ../../src/project
-- Configuring done
-- Generating done
-- Build files have been written to: /home/eblot/t380/host/src/project

Should I need to set some specific configuration parameters to enable  
out-of-source build ?

This issue occurs on Cygwin (WinXP SP3) - at least

Thanks,
Manu




More information about the CMake mailing list