summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio10Generator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-02-08 21:28:39 (GMT)
committerBrad King <brad.king@kitware.com>2017-03-10 15:19:52 (GMT)
commit83bf980c9601c2e5d6a6247867606539d8a14528 (patch)
tree1eb2f3ed264ede9aab8569eabbc7337bea232650 /Source/cmGlobalVisualStudio10Generator.h
parent0a312e2271710554f8e73518dc4b28bd1d0d1d7a (diff)
downloadCMake-83bf980c9601c2e5d6a6247867606539d8a14528.zip
CMake-83bf980c9601c2e5d6a6247867606539d8a14528.tar.gz
CMake-83bf980c9601c2e5d6a6247867606539d8a14528.tar.bz2
VS: Find the MSBuild value for VCTargetsPath
Run MSBuild on a simple `.vcxproj` file to extract the location of the toolset definitions. This will later be useful for looking at available BuildCustomizations.
Diffstat (limited to 'Source/cmGlobalVisualStudio10Generator.h')
-rw-r--r--Source/cmGlobalVisualStudio10Generator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.h b/Source/cmGlobalVisualStudio10Generator.h
index c5e4bcd..149dcba 100644
--- a/Source/cmGlobalVisualStudio10Generator.h
+++ b/Source/cmGlobalVisualStudio10Generator.h
@@ -160,6 +160,9 @@ private:
bool ParseGeneratorToolset(std::string const& ts, cmMakefile* mf);
+ std::string VCTargetsPath;
+ bool FindVCTargetsPath(cmMakefile* mf);
+
// We do not use the reload macros for VS >= 10.
virtual std::string GetUserMacrosDirectory() { return ""; }
};