Is there a way to make CMake not forget the parameters I give it in the command-line?
Every time I modify one CMakeLists.txt file, the values I had passed in
the command-line are reset to their defaults. Automake/Autoconf
had "config.status" that remembered those values, but I can't find the
equivalent for CMake.
I had this in CMakeCache.txt:
$ grep CMAKE_CXX_COMPILER CMakeCache.txt
CMAKE_CXX_COMPILER:FILEPATH=/opt/teambuilder2/bin/g++
Then I modified one CMakeLists.txt file and ran make:
$ make -j25
make: Entering directory `/home/tjmaciei/obj/kde4/KDE/kdelibs/khtml'
-- Found Qt-Version 4.1.3-snapshot-20060502
-- Building kdelibs...
[...]
$ grep CMAKE_CXX_COMPILER CMakeCache.txt
CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++
This means, of course, that 25 instances of the C++ compiler made my
machine VERY sluggish.
PS: Why does CMake search for "c++" instead of "g++"?
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
thiago.macieira (AT) trolltech.com Trolltech AS
GPG: 0x6EF45358 | Sandakerveien 116,
E067 918B B660 DBD1 105C | NO-0402
966C 33F5 F005 6EF4 5358 | Oslo, Norway
pgpxECG0QkLQB.pgp
Description: PGP signature
_______________________________________________ Kde-buildsystem mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-buildsystem
