[CMake] Help on how to handle the name of a object file?

Alexander Neundorf a.neundorf-work at gmx.net
Fri Apr 24 13:32:20 EDT 2009


On Friday 24 April 2009, zhang wrote:
> The default format of the obj's name is like this *.c.obj or *.cpp.obj,
> etc.
> I want the source-file-type in the name got rid of. What can I do in
> Cmake.
>
> I have no choice if some linkers like the Digitalmars's can't handle
> these names with this format.

Does it help if you set the variable CMAKE_(C|CXX)_OUTPUT_EXTENSION_REPLACE to 
TRUE ? 

Alex


More information about the CMake mailing list