cmMakefileExecutableTargetGenerator.h 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. /*============================================================================
  2. CMake - Cross Platform Makefile Generator
  3. Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
  4. Distributed under the OSI-approved BSD License (the "License");
  5. see accompanying file Copyright.txt for details.
  6. This software is distributed WITHOUT ANY WARRANTY; without even the
  7. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  8. See the License for more information.
  9. ============================================================================*/
  10. #ifndef cmMakefileExecutableTargetGenerator_h
  11. #define cmMakefileExecutableTargetGenerator_h
  12. #include "cmMakefileTargetGenerator.h"
  13. class cmMakefileExecutableTargetGenerator: public cmMakefileTargetGenerator
  14. {
  15. public:
  16. cmMakefileExecutableTargetGenerator(cmTarget* target);
  17. /* the main entry point for this class. Writes the Makefiles associated
  18. with this target */
  19. virtual void WriteRuleFiles();
  20. protected:
  21. virtual void WriteExecutableRule(bool relink);
  22. void CreateAppBundle(std::string& targetName, std::string& outpath);
  23. };
  24. #endif