diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2005-02-15 22:25:40 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2005-02-15 22:25:40 (GMT) |
commit | f508fc98390a2899e343e4d9197fa805a2cf9857 (patch) | |
tree | c7c02facdb60ff6c6956a7997e21feae507b5623 /Source/cmGlobalXCodeGenerator.h | |
parent | ca205223da31fcda6d9f59d831f98786111c2742 (diff) | |
download | CMake-f508fc98390a2899e343e4d9197fa805a2cf9857.zip CMake-f508fc98390a2899e343e4d9197fa805a2cf9857.tar.gz CMake-f508fc98390a2899e343e4d9197fa805a2cf9857.tar.bz2 |
ENH: add custom commands, still failing a bunch of tests
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h index f9ca31e..ccf627a 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. |