[Cmake] Fwd: compiling out of place
Peter Vanroose
Peter.Vanroose at esat.kuleuven.ac.be
Tue Sep 14 03:39:17 EDT 2004
> with cmake 1.8 there was no problem to compile source out of place.
> But with cmake 2.0 release this feature no longer works !!!
> Makefiles are always created in the source tree !!!
I've had the same problem.
Apparently the only change in 2.0 is that, when CMake detects an
in-source build, it ignores the current directory and goes for the
in-source (re)build.
So one has to remove all CMake created files (especially CMakeCache.txt
and CMakeSystem.cmake) from the source tree.
-- Peter.
More information about the Cmake
mailing list