diff options
author | Sumit Bhardwaj <bhardwajs@outlook.com> | 2021-12-23 19:53:39 (GMT) |
---|---|---|
committer | Sumit Bhardwaj <bhardwajs@outlook.com> | 2021-12-23 19:53:39 (GMT) |
commit | 938a53f4f15de2cc9075d5c5929de0012060cf43 (patch) | |
tree | 0240c9c2d0da7ca992c1f9399d974a7af7836cb8 /Source/cmVisualStudio10TargetGenerator.h | |
parent | 26ab79082084ef09ba55315e4b846b1d362d6c41 (diff) | |
download | CMake-938a53f4f15de2cc9075d5c5929de0012060cf43.zip CMake-938a53f4f15de2cc9075d5c5929de0012060cf43.tar.gz CMake-938a53f4f15de2cc9075d5c5929de0012060cf43.tar.bz2 |
Refactor VsProjectType to its own header
Move VsProject to its own header so that we can consolidate IsManaged
and IsCSharp.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.h')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.h b/Source/cmVisualStudio10TargetGenerator.h index 37b8dfd..8d2b77d 100644 --- a/Source/cmVisualStudio10TargetGenerator.h +++ b/Source/cmVisualStudio10TargetGenerator.h @@ -14,6 +14,7 @@ #include <vector> #include "cmGeneratorTarget.h" +#include "cmVsProjectType.h" class cmComputeLinkInformation; class cmCustomCommand; @@ -211,11 +212,7 @@ private: OptionsMap LinkOptions; std::string LangForClCompile; - enum class VsProjectType - { - vcxproj, - csproj - } ProjectType; + VsProjectType ProjectType; bool InSourceBuild; std::vector<std::string> Configurations; std::vector<TargetsFileAndConfigs> TargetsFileAndConfigsVec; |