[CMake] How to link the output of a custom command (VS2013) when the output is an obj file, since LinkObjects is hardcoded to false?

2015-09-02 Thread Nick Georghiou
Hi, I have the custom command provided below which successfully creates mydll.obj in the correct intermediate directory. However the LinkObjects property of the custom command within Visual Studio 2013 is set to false and therefore the object file is not linked. Upon inspection of the CMake

Re: [CMake] How to link the output of a custom command (VS2013) when the output is an obj file, since LinkObjects is hardcoded to false?

2015-09-02 Thread Nick Georghiou
: [CMake] How to link the output of a custom command (VS2013) when the output is an obj file, since LinkObjects is hardcoded to false? Hi, why don't you just add the asm file to your add_library() call and enable the ASM language? HS Am 2. September 2015 09:21:11 MESZ, schrieb Nick Georghiou