diff options
author | Michael Stürmer <michael.stuermer@schaeffler.com> | 2016-12-01 11:07:03 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-12-01 15:36:43 (GMT) |
commit | 66bd8a3cf2f401f5d37bb8eff6da711824adea91 (patch) | |
tree | 46114e2cef46f1082f2cba2a94ab563e9b328c66 /Source/cmVisualStudio10TargetGenerator.h | |
parent | 7b6f6d9e67431cdcdd9a8f1de92c66651768814c (diff) | |
download | CMake-66bd8a3cf2f401f5d37bb8eff6da711824adea91.zip CMake-66bd8a3cf2f401f5d37bb8eff6da711824adea91.tar.gz CMake-66bd8a3cf2f401f5d37bb8eff6da711824adea91.tar.bz2 |
cmVisualStudio10TargetGenerator: Prepare to handle C# projects
Generalize some internal infrastructure to prepare for generating
either `.vcxproj` or `.csproj` files.
- Add member string for project file extension
- Add member enum for project type
- Add member flag for in-source build
- Add member flag for managed build
- Rename PathToVcxproj to PathToProjectFile
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.h')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.h b/Source/cmVisualStudio10TargetGenerator.h index a4e3adb..e68bf1a 100644 --- a/Source/cmVisualStudio10TargetGenerator.h +++ b/Source/cmVisualStudio10TargetGenerator.h @@ -145,7 +145,14 @@ private: OptionsMap RcOptions; OptionsMap MasmOptions; OptionsMap LinkOptions; - std::string PathToVcxproj; + std::string PathToProjectFile; + std::string ProjectFileExtension; + enum VsProjectType + { + vcxproj, + csproj + } ProjectType; + bool InSourceBuild; std::vector<std::string> Configurations; std::vector<TargetsFileAndConfigs> TargetsFileAndConfigsVec; cmGeneratorTarget* GeneratorTarget; @@ -154,6 +161,7 @@ private: std::string GUID; std::string Name; bool MSTools; + bool Managed; bool NsightTegra; int NsightTegraVersion[4]; bool TargetCompileAsWinRT; |