summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudioWCEPlatformParser.h
diff options
context:
space:
mode:
authorPatrick Gansterer <paroga@paroga.com>2012-11-29 15:36:20 (GMT)
committerBrad King <brad.king@kitware.com>2012-11-30 12:59:25 (GMT)
commitdce54b103af0ee1627de9e0cf04a5e390442a929 (patch)
treef56bd77d241bdb0a2641297b5340fdbdd9335143 /Source/cmVisualStudioWCEPlatformParser.h
parentd5ac791366595be307896e9894c66815c1e1eb2f (diff)
downloadCMake-dce54b103af0ee1627de9e0cf04a5e390442a929.zip
CMake-dce54b103af0ee1627de9e0cf04a5e390442a929.tar.gz
CMake-dce54b103af0ee1627de9e0cf04a5e390442a929.tar.bz2
Add command to generate environment for a Windows CE SDK
Diffstat (limited to 'Source/cmVisualStudioWCEPlatformParser.h')
-rw-r--r--Source/cmVisualStudioWCEPlatformParser.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/Source/cmVisualStudioWCEPlatformParser.h b/Source/cmVisualStudioWCEPlatformParser.h
index 28061fd..466e1dd 100644
--- a/Source/cmVisualStudioWCEPlatformParser.h
+++ b/Source/cmVisualStudioWCEPlatformParser.h
@@ -31,6 +31,12 @@ public:
bool Found() const {return this->FoundRequiredName;}
const char* GetArchitectureFamily() const;
std::string GetOSVersion() const;
+ std::string GetIncludeDirectories() const {
+ return this->FixPaths(this->Include); }
+ std::string GetLibraryDirectories() const {
+ return this->FixPaths(this->Library); }
+ std::string GetPathDirectories() const {
+ return this->FixPaths(this->Path); }
const std::vector<std::string>& GetAvailablePlatforms() const {
return this->AvailablePlatforms; }
@@ -40,8 +46,13 @@ protected:
void CharacterDataHandler(const char* data, int length);
private:
+ std::string FixPaths(const std::string& paths) const;
+
std::string CharacterData;
+ std::string Include;
+ std::string Library;
+ std::string Path;
std::string PlatformName;
std::string OSMajorVersion;
std::string OSMinorVersion;
@@ -50,6 +61,8 @@ private:
const char* RequiredName;
bool FoundRequiredName;
+ std::string VcInstallDir;
+ std::string VsInstallDir;
};
#endif