[CMake] Cmake and CXX
Brandon J. Van Every
bvanevery at gmail.com
Fri Sep 22 04:04:37 EDT 2006
Xavier Larrode wrote:
> Hello all,
> Cmake is using by default /usr/bin/c++ to compile project.
> Is it a way to set it ton another compiler like g++, or gcc-color.
You can set CMAKE_CXX_COMPILER to whatever you want.
This is documented at http://www.cmake.org/Wiki/CMake_Useful_Variables
but not in the docs that ship with CMake 2.4.3.
Cheers,
Brandon Van Every
More information about the CMake
mailing list