cmMakefileExecutableTargetGenerator.h 880 B

1234567891011121314151617181920212223242526272829303132
  1. /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. file Copyright.txt or https://cmake.org/licensing for details. */
  3. #ifndef cmMakefileExecutableTargetGenerator_h
  4. #define cmMakefileExecutableTargetGenerator_h
  5. #include "cmConfigure.h" // IWYU pragma: keep
  6. #include <string>
  7. #include "cmMakefileTargetGenerator.h"
  8. class cmGeneratorTarget;
  9. class cmMakefileExecutableTargetGenerator : public cmMakefileTargetGenerator
  10. {
  11. public:
  12. cmMakefileExecutableTargetGenerator(cmGeneratorTarget* target);
  13. ~cmMakefileExecutableTargetGenerator() override;
  14. /* the main entry point for this class. Writes the Makefiles associated
  15. with this target */
  16. void WriteRuleFiles() override;
  17. protected:
  18. virtual void WriteExecutableRule(bool relink);
  19. virtual void WriteDeviceExecutableRule(bool relink);
  20. private:
  21. std::string DeviceLinkObject;
  22. };
  23. #endif