[CMake] reusable cmakecache.txt
Mike Jackson
imikejackson at gmail.com
Mon Feb 26 12:00:49 EST 2007
You _could_ use 2 separate build directories..
So create GNU_Build and run ccmake from there with all the GNU
variables.
Create another Directory called DIAB_Build and run ccmake from there
with all the Diab variables. Then you can switch your compiles
between them. I use this to "switch" between the intel compilers and
the gnu tool chain on OS X (Intel).
Cheers
--
Mike Jackson
imikejackson & gmail * com
On Feb 26, 2007, at 11:37 AM, Alexander Ivash wrote:
> Hello, cmake.
>
> I have 2 compilers: gnu and diab. Cmake can't find them so I have to
> run cmakesetup and enter path for them every time I need to prepare
> new project for compilation. Is it possible to keep gnu related path
> in gnu.cmake and diab related in diab.cmake and later do something
> like
> this:
>
> cmake -G "Unix Makefiles" -gnu.cmake ?
>
> I thought -C option exists for this purposes, but it seems that -C
> just set path to CMakeLists.txt. It will be very cool if the written
> above is possible.
>
> --
> Best regards,
> Alexander mailto:alexander.ivash at psa-
> software.com
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
More information about the CMake
mailing list