[CMake] out of source build problems
Brad King
brad.king at kitware.com
Fri Oct 15 11:06:13 EDT 2004
Kent Williams wrote:
> OK I know this is a stupid question, because I've solved it before, but
> have forgotten what I did.
>
> I put a CMakeLists.txt file in a directory, lets call it 'A'
> I make a directory for an out of source build, called 'B'
> I do this:
>
> cd B
> ccmake ../A
>
> The problem is that the CMakeCache.txt and CMakeCCompiler.CMake and the
> rest of the CMake dandruff goes into directory 'A' and not directory 'B'
This means you have a CMakeCache.txt left in A. You should obtain a
pristine copy of the source tree. I'll add this to the FAQ when I get a
chance.
-Brad
More information about the CMake
mailing list