diff options
author | Brad King <brad.king@kitware.com> | 2013-11-13 19:27:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-11-18 13:26:24 (GMT) |
commit | 5f5c92b9a2c2f9c780c08e23231b93af71f175bd (patch) | |
tree | d9c078f01baba2b21b8aacff0679921d6cf533b0 /Source/cmGlobalVisualStudio10Generator.h | |
parent | 4ac75fdfe6e7a91f3beea037d13b1f4c8c8b80ed (diff) | |
download | CMake-5f5c92b9a2c2f9c780c08e23231b93af71f175bd.zip CMake-5f5c92b9a2c2f9c780c08e23231b93af71f175bd.tar.gz CMake-5f5c92b9a2c2f9c780c08e23231b93af71f175bd.tar.bz2 |
VS: Add internal APIs to find MSBuild, devenv/VCExpress, and msdev
Teach the VS generators to compute the locations of these tools directly
from registry entries. Add internal APIs to get the locations on demand.
Diffstat (limited to 'Source/cmGlobalVisualStudio10Generator.h')
-rw-r--r-- | Source/cmGlobalVisualStudio10Generator.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.h b/Source/cmGlobalVisualStudio10Generator.h index f358e5e..ad0aa6d 100644 --- a/Source/cmGlobalVisualStudio10Generator.h +++ b/Source/cmGlobalVisualStudio10Generator.h @@ -94,6 +94,8 @@ public: protected: virtual const char* GetIDEVersion() { return "10.0"; } + std::string const& GetMSBuildCommand(); + std::string PlatformToolset; bool ExpressEdition; bool MasmEnabled; @@ -111,5 +113,10 @@ private: std::string SourceRel; }; LongestSourcePath LongestSource; + + std::string MSBuildCommand; + bool MSBuildCommandInitialized; + virtual std::string FindMSBuildCommand(); + virtual std::string FindDevEnvCommand(); }; #endif |