cmRemoveDefinitionsCommand.h 1004 B

1234567891011121314151617181920212223242526272829303132333435363738
  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 cmRemoveDefinitionsCommand_h
  4. #define cmRemoveDefinitionsCommand_h
  5. #include "cmConfigure.h" // IWYU pragma: keep
  6. #include <string>
  7. #include <vector>
  8. #include "cmCommand.h"
  9. class cmExecutionStatus;
  10. /** \class cmRemoveDefinitionsCommand
  11. * \brief Specify a list of compiler defines
  12. *
  13. * cmRemoveDefinitionsCommand specifies a list of compiler defines.
  14. * These defines will
  15. * be removed from the compile command.
  16. */
  17. class cmRemoveDefinitionsCommand : public cmCommand
  18. {
  19. public:
  20. /**
  21. * This is a virtual constructor for the command.
  22. */
  23. cmCommand* Clone() override { return new cmRemoveDefinitionsCommand; }
  24. /**
  25. * This is called when the command is first encountered in
  26. * the CMakeLists.txt file.
  27. */
  28. bool InitialPass(std::vector<std::string> const& args,
  29. cmExecutionStatus& status) override;
  30. };
  31. #endif