Skip to content

C# support: new member variables in cmVisualStudio10TargetGenerator

Michael Stürmer requested to merge stuermic/cmake:target_project_type into master

For the cmVisualStudio10TargetGenerator to be able to generate .csproj files in addition to .vcxproj files some additional member variables make sense:

  • ProjectFileExtension (std::string)
  • ProjectType (enum)
  • InSourceBuild (bool)
  • Managed (bool)

This MR introduces the variables and sets their values accordingly. The variables are used in future MRs where actual .csproj generation is integrated. For now everything works just exactly like before, but information about type of project and usage of managed code is available.

Merge request reports