cmExecProgramCommand.h 683 B

1234567891011121314151617181920212223
  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 cmExecProgramCommand_h
  4. #define cmExecProgramCommand_h
  5. #include "cmConfigure.h" // IWYU pragma: keep
  6. #include <string>
  7. #include <vector>
  8. class cmExecutionStatus;
  9. /**
  10. * \brief Command that adds a target to the build system.
  11. *
  12. * cmExecProgramCommand adds an extra target to the build system.
  13. * This is useful when you would like to add special
  14. * targets like "install,", "clean," and so on.
  15. */
  16. bool cmExecProgramCommand(std::vector<std::string> const& args,
  17. cmExecutionStatus& status);
  18. #endif