[CMake] C# and cmake ?

Gerhard den Hollander gdenhollander at fugro-jason.com
Wed Aug 22 07:03:54 EDT 2012


We have a large code base, that consists of a large number of C++ file
and a smaller number of C# files.

Most fo the C++ code is being build using CMake,
the C# code is build using the msbuild tools.

I know that currently there is no C# support planned in CMake,
but reading through the google results, it sounds like people have had
various degrees of success using custom_command(..) or other CMake
tricks to kick of C# builds using msbuild/devenv.

For those who have succesfully build mixed code projects (so C# and
C/C++ ), would you mind explainign how this is done ?

Preferably with some example CMake files ?

Thanks



More information about the CMake mailing list