[CMake] Support for languages without linking phase etc

Michael Wild themiwi at gmail.com
Tue Feb 23 11:43:00 EST 2010


On 23. Feb, 2010, at 15:13 , Ivan Chernetsky wrote:

> 2010/2/22 Michael Wild <themiwi at gmail.com>:
>> How about languages where there is no separate compiling phase, such as e.g. C#? Is there a placeholder in CMAKE_<LANG>_LINK_EXECUTABLE and CMAKE_<LANG>_CREATE_SHARED_LIBRARY that gets expanded to the list of source files instead of the object files? How to tell CMake to skip the compile-phase without calling "cmake --version" a few thousand times (and creating a lot of bogus output on the screen)?
> 
> You can use a no-op command instead. On *nix platforms, for example,
> it's a shell command named ":", though it's definitely not a right
> solution of this problem.


That's going to create a lot of output like "Compiling C# object XXX.cs" which is actually bogus and very confusing...

Michael


More information about the CMake mailing list