summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-07-19 20:40:44 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-07-19 20:40:44 (GMT)
commita13713818cea07e565bdda8463f054e3d2ccd1fa (patch)
tree48194d3ac194b22c1fe90afb240af025f3ae89a3 /Source/cmGlobalXCodeGenerator.h
parent0ba0cb8a1ac6902ae41f4814d041fcec658c1af2 (diff)
downloadCMake-a13713818cea07e565bdda8463f054e3d2ccd1fa.zip
CMake-a13713818cea07e565bdda8463f054e3d2ccd1fa.tar.gz
CMake-a13713818cea07e565bdda8463f054e3d2ccd1fa.tar.bz2
ENH: if Xcode21 is installed then create 21 compatible project files
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r--Source/cmGlobalXCodeGenerator.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h
index 41d4cf6..350440e 100644
--- a/Source/cmGlobalXCodeGenerator.h
+++ b/Source/cmGlobalXCodeGenerator.h
@@ -34,12 +34,12 @@ class cmGlobalXCodeGenerator : public cmGlobalGenerator
{
public:
cmGlobalXCodeGenerator();
- static cmGlobalGenerator* New() { return new cmGlobalXCodeGenerator; }
+ static cmGlobalGenerator* New();
///! Get the name for the generator.
virtual const char* GetName() const {
return cmGlobalXCodeGenerator::GetActualName();}
- static const char* GetActualName() {return "Xcode15";}
+ static const char* GetActualName() {return "Xcode";}
/** Get the documentation entry for this generator. */
virtual void GetDocumentation(cmDocumentationEntry& entry) const;
@@ -133,6 +133,8 @@ private:
cmTarget& cmtarget,
const std::vector<cmCustomCommand>&);
void CreateReRunCMakeFile(cmLocalGenerator* root);
+protected:
+ int m_XcodeVersion;
private:
std::vector<cmXCodeObject*> m_XCodeObjects;
cmXCodeObject* m_RootObject;