summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio10Generator.cxx
diff options
context:
space:
mode:
authorSumit Bhardwaj <bhardwajs@outlook.com>2021-12-25 06:38:13 (GMT)
committerBrad King <brad.king@kitware.com>2022-02-12 17:09:09 (GMT)
commit925da7d428831f8e1db4eb9b632b066af4c9d6e1 (patch)
tree865ae788a43d2c54698350e50db0e5ca844dc42e /Source/cmGlobalVisualStudio10Generator.cxx
parent11b8366e55e13661854fc9ecb33efbe0863ae0e7 (diff)
downloadCMake-925da7d428831f8e1db4eb9b632b066af4c9d6e1.zip
CMake-925da7d428831f8e1db4eb9b632b066af4c9d6e1.tar.gz
CMake-925da7d428831f8e1db4eb9b632b066af4c9d6e1.tar.bz2
VS: Write ZERO_CHECK.proj for VS19 and above
Use VsProjectType::proj as the file format for ZERO_CHECK and write ZERO_CHECK.proj as a msbuild dependency for other projects.
Diffstat (limited to 'Source/cmGlobalVisualStudio10Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio10Generator.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.cxx b/Source/cmGlobalVisualStudio10Generator.cxx
index a96f6f0..3301e8c 100644
--- a/Source/cmGlobalVisualStudio10Generator.cxx
+++ b/Source/cmGlobalVisualStudio10Generator.cxx
@@ -1286,6 +1286,13 @@ cmGlobalVisualStudio10Generator::GenerateBuildCommand(
return makeCommands;
}
+bool cmGlobalVisualStudio10Generator::IsInSolution(
+ const cmGeneratorTarget* gt) const
+{
+ return gt->IsInBuildSystem() &&
+ gt->GetName() != CMAKE_CHECK_BUILD_SYSTEM_TARGET;
+}
+
bool cmGlobalVisualStudio10Generator::Find64BitTools(cmMakefile* mf)
{
if (this->DefaultPlatformToolset == "v100") {