[CMake] -DCMAKE_C_COMPILER:string="g++"

Bill Hoffman bill.hoffman at kitware.com
Wed Aug 8 15:25:14 EDT 2007


Marie-Christine Vallet wrote:
> Hi,
> I would like to use g++ as my c compiler (which works) but cmake does 
> not let me do that. Is this normal?
> Thanks again,
> Marie 
I suspect you want to look at LINKER_LANGUAGE.  You really don't want to 
use g++ for a c compiler.
What are you trying to do?

-Bill



More information about the CMake mailing list