[CMake] Where to change default link line on Cmake

Rene Salmon salmr0 at bp.com
Wed May 5 09:55:56 EDT 2010




> 
> No, no way to hint, they can specify that on the command line.
> 
> cmake -DCMAKE_CXX_COMPILER=CC
> 
> The environment vars do not be around during the build, only the first
> time that you run cmake.
> 
> So, you can do this:
> CXX=CC cmake ../source


Ok Thanks.

Rene




More information about the CMake mailing list