cmAuxSourceDirectoryCommand.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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 cmAuxSourceDirectoryCommand_h
  4. #define cmAuxSourceDirectoryCommand_h
  5. #include "cmConfigure.h" // IWYU pragma: keep
  6. #include <string>
  7. #include <vector>
  8. #include "cmCommand.h"
  9. class cmExecutionStatus;
  10. /** \class cmAuxSourceDirectoryCommand
  11. * \brief Specify auxiliary source code directories.
  12. *
  13. * cmAuxSourceDirectoryCommand specifies source code directories
  14. * that must be built as part of this build process. This directories
  15. * are not recursively processed like the SUBDIR command (cmSubdirCommand).
  16. * A side effect of this command is to create a subdirectory in the build
  17. * directory structure.
  18. */
  19. class cmAuxSourceDirectoryCommand : public cmCommand
  20. {
  21. public:
  22. /**
  23. * This is a virtual constructor for the command.
  24. */
  25. cmCommand* Clone() override { return new cmAuxSourceDirectoryCommand; }
  26. /**
  27. * This is called when the command is first encountered in
  28. * the CMakeLists.txt file.
  29. */
  30. bool InitialPass(std::vector<std::string> const& args,
  31. cmExecutionStatus& status) override;
  32. };
  33. #endif