[cmake-developers] C# support ready for review

Stuermer, Michael SP/HZA-ZSEP michael.stuermer at schaeffler.com
Wed Feb 10 09:03:00 EST 2016


Native C# support is ready for review. I split the patch in two parts:

part 1:

Some preparational stuff that does not really change or enable anything. Documentation and Test files as well as the required CMake module is added. The changes to existing code are small, only few methods in existing classes are added/changed. Changes to existing code should be easy to review in this part

part 2:

This contains the main work. Almost everything takes place within cmVisualStudio10TargetGenerator.


In addition to C# support three more target properties were introduced:

-       VS_USER_PROPS_CXX (allows use of custom .user.props MSBuild file in .vcxproj files)
-       VS_USER_PROPS_CSHARP (allows use of custom .user.props MSBuild file in .csproj files)
-       VS_DEBUGGER_WORKING_DIRECTORY (allows setting of debugger working directory in .vcxproj files)

I tested the features using Visual Studio 2010-2015 in 32/64 bit and everything works on my machine so far.

Please review/test/comment and give feedback what is necessary to get native C# support in upstream cmake.

best regards,
Michael




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20160210/57bee140/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-prepared-C-support.patch
Type: application/octet-stream
Size: 41066 bytes
Desc: 0001-prepared-C-support.patch
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20160210/57bee140/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-implemented-C-support.patch
Type: application/octet-stream
Size: 43761 bytes
Desc: 0002-implemented-C-support.patch
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20160210/57bee140/attachment-0003.obj>


More information about the cmake-developers mailing list