summaryrefslogtreecommitdiff
path: root/Source/cmGlobalXCodeGenerator.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-02-15 17:25:40 -0500
committerBill Hoffman <bill.hoffman@kitware.com>2005-02-15 17:25:40 -0500
commitf508fc98390a2899e343e4d9197fa805a2cf9857 (patch)
treec7c02facdb60ff6c6956a7997e21feae507b5623 /Source/cmGlobalXCodeGenerator.h
parentca205223da31fcda6d9f59d831f98786111c2742 (diff)
downloadcmake-f508fc98390a2899e343e4d9197fa805a2cf9857.tar.gz
ENH: add custom commands, still failing a bunch of tests
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r--Source/cmGlobalXCodeGenerator.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h
index f9ca31ece8..ccf627aaa7 100644
--- a/Source/cmGlobalXCodeGenerator.h
+++ b/Source/cmGlobalXCodeGenerator.h
@@ -19,6 +19,7 @@
#include "cmGlobalGenerator.h"
#include "cmXCodeObject.h"
+#include "cmCustomCommand.h"
class cmTarget;
class cmSourceFile;
@@ -66,6 +67,17 @@ public:
virtual void Generate();
private:
+ void CreateCustomCommands(cmXCodeObject* buildPhases,
+ cmXCodeObject* sourceBuildPhase,
+ cmXCodeObject* headerBuildPhase,
+ cmXCodeObject* frameworkBuildPhase,
+ cmTarget& cmtarget);
+
+ void AddCommandsToBuildPhase(cmXCodeObject* buildphase,
+ cmTarget& target,
+ std::vector<cmCustomCommand>
+ const & commands,
+ const char* commandFileName);
cmXCodeObject* FindXCodeTarget(cmTarget*);
// create cmXCodeObject from these functions so that memory can be managed
// correctly. All objects created are stored in m_XCodeObjects.