diff options
author | Patrick Gansterer <paroga@paroga.com> | 2012-11-20 12:12:27 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-11-27 13:31:17 (GMT) |
commit | 6fe4fcba787e4e27a4863faa28aa41ae11026d6b (patch) | |
tree | 9c8059ebf44b70194a71f6e777de6befac1896be /Source/cmGlobalVisualStudio8Generator.h | |
parent | 2118a2016f69f3c7cdb711eaaa2f6ca9374103ce (diff) | |
download | CMake-6fe4fcba787e4e27a4863faa28aa41ae11026d6b.zip CMake-6fe4fcba787e4e27a4863faa28aa41ae11026d6b.tar.gz CMake-6fe4fcba787e4e27a4863faa28aa41ae11026d6b.tar.bz2 |
VS: Add parser for WCE.VCPlatform.config to read WinCE platforms
Parse the WCE.VCPlatform.config file, which contains the installed
WindowsCE SDKs in XML format, and add possibility to generate
Visual Studio generators for them.
Diffstat (limited to 'Source/cmGlobalVisualStudio8Generator.h')
-rw-r--r-- | Source/cmGlobalVisualStudio8Generator.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio8Generator.h b/Source/cmGlobalVisualStudio8Generator.h index 8163d6a..08674cd 100644 --- a/Source/cmGlobalVisualStudio8Generator.h +++ b/Source/cmGlobalVisualStudio8Generator.h @@ -64,6 +64,10 @@ public: LinkLibraryDependencies and link to .sln dependencies. */ virtual bool NeedLinkLibraryDependencies(cmTarget& target); + /** Return true if building for Windows CE */ + virtual bool TargetsWindowsCE() const { + return !this->WindowsCEVersion.empty(); } + protected: virtual const char* GetIDEVersion() { return "8.0"; } @@ -83,8 +87,10 @@ protected: const char* path, cmTarget &t); std::string Name; + std::string WindowsCEVersion; private: class Factory; + friend class Factory; }; #endif |