summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-09-23 12:48:39 (GMT)
committerBrad King <brad.king@kitware.com>2009-09-23 12:48:39 (GMT)
commite55bbab88bb93a51e29f6e4831f238b1c218e9b1 (patch)
tree629b2add65dc54795c711a5c487a025bd63f5f08 /Source/cmGlobalXCodeGenerator.h
parentb7142e9214b05aa793d6ad12ce1eb7caa234539d (diff)
downloadCMake-e55bbab88bb93a51e29f6e4831f238b1c218e9b1.zip
CMake-e55bbab88bb93a51e29f6e4831f238b1c218e9b1.tar.gz
CMake-e55bbab88bb93a51e29f6e4831f238b1c218e9b1.tar.bz2
Teach Xcode generator to set XCODE_VERSION
We set the variable 'XCODE_VERSION' in the CMake language to the Xcode version string (e.g. "3.1.2"). Platform config files may use it later.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r--Source/cmGlobalXCodeGenerator.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h
index 189d7fb..adc675b 100644
--- a/Source/cmGlobalXCodeGenerator.h
+++ b/Source/cmGlobalXCodeGenerator.h
@@ -33,10 +33,9 @@ class cmSourceGroup;
class cmGlobalXCodeGenerator : public cmGlobalGenerator
{
public:
- cmGlobalXCodeGenerator();
+ cmGlobalXCodeGenerator(std::string const& version);
static cmGlobalGenerator* New();
- void SetVersion(int v) { this->XcodeVersion = v;}
///! Get the name for the generator.
virtual const char* GetName() const {
return cmGlobalXCodeGenerator::GetActualName();}
@@ -193,7 +192,8 @@ protected:
virtual const char* GetInstallTargetName() { return "install"; }
virtual const char* GetPackageTargetName() { return "package"; }
- int XcodeVersion;
+ unsigned int XcodeVersion;
+ std::string VersionString;
std::vector<cmXCodeObject*> XCodeObjects;
cmXCodeObject* RootObject;
private: