[CMake] Compile new language file to object file

James Bigler jamesbigler at gmail.com
Sun May 17 01:26:21 EDT 2009


If I have a compiler that can generate object files for later linkage, is
the best way to add support for this in CMake to use the Assembler feature?

http://www.cmake.org/Wiki/CMake/Assembler

Or is it better to simply create custom commands to build the object files,
set the EXTERNAL_OBJECT and GENERATED flags to true and add it to the source
list for the executable or library?

Thanks,
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090516/764e5e5e/attachment.htm>


More information about the CMake mailing list