title: Generate C# project using CMake
body: <p>I'm trying to generate a C# project within an existing C++ CMake code base on Windows. After some research, I could find only two projects that built their own CSharp compilers for CMake:
  <a href="http://gdcm.svn.sourceforge.net/viewvc/gdcm/Sandbox/CMakeCSharp/" rel="noreferrer">gdcm</a> and <a href="http://websvn.kde.org/?revision=1061491&amp;view=revision" rel="noreferrer">kde</a>.</p>
  
  <p>I tried both of them. Unfortunately, the first one failed to generate a C# project. Instead it created a VS C++ project with cs files in it, and because of C++ flags set for linker, the build always failed with errors. After experimenting with the sample project they provided, I wonder whether this could be due to a limitation of the "Visual Studio 8 2005" code generator?</p>
  
  <p>The second project was primarily aimed at Mono, so I wasn't successful with it either.</p>
  
  <p>Has anyone had a positive experience with building C# projects using one of those CMake modules or something else? </p>