ENH: fixes for xcode21 and build styles and comments in the generated project

This commit is contained in:
Bill Hoffman
2005-11-16 13:13:39 -05:00
parent 7a1745b84b
commit 8b7091a0a6
4 changed files with 163 additions and 46 deletions

View File

@@ -24,12 +24,7 @@ public:
Type GetType() { return m_Type;}
PBXType GetIsA() { return m_IsA;}
void SetString(const char* s)
{
m_String = "\"";
m_String += s;
m_String += "\"";
}
void SetString(const char* s);
const char* GetString()
{
return m_String.c_str();
@@ -80,6 +75,8 @@ public:
{
m_cmTarget = t;
}
const char* GetComment() {return m_Comment.c_str();}
bool HasComment() { return (m_Comment.size() != 0);}
cmXCodeObject* GetObject(const char* name)
{
if(m_ObjectAttributes.count(name))
@@ -122,11 +119,14 @@ public:
return m_DependLibraries;
}
std::vector<cmXCodeObject*> const& GetObjectList() { return m_List;}
void SetComment(const char* c) { m_Comment = c;}
protected:
cmTarget* m_cmTarget;
Type m_Type;
cmStdString m_Id;
PBXType m_IsA;
int m_Version;
cmStdString m_Comment;
cmStdString m_String;
cmXCodeObject* m_Object;
cmXCodeObject* m_PBXTargetDependency;