Am Donnerstag 10 April 2008 schrieb Brad King:
> Hendrik Sattler wrote:
> > The C compiler test fails because CMake insists on createing
> > testCCompiler.c.r30  and there doesn't seem to be way to tell it to not
> > include the source file name extension (here: .c) into the object file
> > name.
>
> It's undocumented because I didn't anticipate anyone would need to change
> the default, but the variable is "CMAKE_<lang>_OUTPUT_EXTENSION_REPLACE".
> Try adding
>
>    SET(CMAKE_C_OUTPUT_EXTENSION_REPLACE 1)
>    SET(CMAKE_CXX_OUTPUT_EXTENSION_REPLACE 1)
>
> to your compiler configuration file.

Great :)
I was about to give up but will try this as first thing tomorrow.

HS
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to