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

Brandon Van Every bvanevery at gmail.com
Wed Aug 8 19:04:29 EDT 2007


On 8/8/07, Marie-Christine Vallet <mmvallet at ucdavis.edu> 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?

Dunno.  But the preferred interface nowadays is to set the LANGUAGE
and LINKER_LANGUAGE properties of a file.  LINKER_LANGUAGE is
documented; LANGUAGE was overlooked as per bug #5393.

Cheers,
Brandon Van Every


More information about the CMake mailing list