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?<br><br>
<a href="http://www.cmake.org/Wiki/CMake/Assembler" target="_blank">http://www.cmake.org/Wiki/CMake/Assembler</a><br><br>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?<br>

<br>Thanks,<br>James<br>