Emmanuel Blot schrieb:
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

Maybe you've un cmake accidently in the source dir and now have a CMakeCache.txt in there which is picked up by cmake.


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

Reply via email to