mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 15:19:51 -05:00
Refactor VsProjectType to its own header
Move VsProject to its own header so that we can consolidate IsManaged and IsCSharp.
This commit is contained in:
@@ -766,6 +766,7 @@ if (WIN32)
|
||||
cmGlobalVisualStudio9Generator.h
|
||||
cmVisualStudioGeneratorOptions.h
|
||||
cmVisualStudioGeneratorOptions.cxx
|
||||
cmVsProjectType.h
|
||||
cmVisualStudio10TargetGenerator.h
|
||||
cmVisualStudio10TargetGenerator.cxx
|
||||
cmLocalVisualStudio10Generator.cxx
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#pragma once
|
||||
|
||||
#include "cmConfigure.h" // IWYU pragma: keep
|
||||
|
||||
enum class VsProjectType
|
||||
{
|
||||
vcxproj,
|
||||
csproj
|
||||
};
|
||||
Reference in New Issue
Block a user