How to make CMake not forget the command-line parameters

Thiago Macieira thiago at
Sun May 21 15:13:31 CEST 2006

William A. Hoffman wrote:
>OK, that is some information.  At least the problem was not introduced
>by 2.4.2, (my first fear....).   Did someone add a
> set(CMAKE_CXX_COMPILER ... FORCE) into kdelibs??   The size of the
> project should not cause this problem. Are there any environment
> variables that you are setting?

I'm trying the following test:

$ cmake -DCMAKE_CXX_COMPILER=/opt/teambuilder2/bin/g++ $OLDPWD
$ cp CMakeCache.txt CMakeCache.txt.old
$ touch $OLDPWD/CMakeLists.txt
$ make

$ diff -u CMakeCache.txt{.old,}
^[[6~--- CMakeCache.txt.old     2006-05-21 15:06:11.000000000 +0200
+++ CMakeCache.txt      2006-05-21 15:06:41.000000000 +0200
@@ -57,7 +57,7 @@

 //CXX compiler.

 //Flags used by the compiler during all build types.

As you can see, the only thing that changes is the C++ compiler.

Thiago Macieira  -  thiago (AT) - thiago (AT)
  thiago.macieira (AT)     Trolltech AS
    GPG: 0x6EF45358                   |  Sandakerveien 116,
    E067 918B B660 DBD1 105C          |  NO-0402
    966C 33F5 F005 6EF4 5358          |  Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : 

More information about the Kde-buildsystem mailing list