|
|
@@ -8,36 +8,9 @@
|
|
|
#include <string>
|
|
|
#include <vector>
|
|
|
|
|
|
-#include "cm_memory.hxx"
|
|
|
-
|
|
|
-#include "cmCommand.h"
|
|
|
-
|
|
|
class cmExecutionStatus;
|
|
|
|
|
|
-/** \class cmRemoveDefinitionsCommand
|
|
|
- * \brief Specify a list of compiler defines
|
|
|
- *
|
|
|
- * cmRemoveDefinitionsCommand specifies a list of compiler defines.
|
|
|
- * These defines will
|
|
|
- * be removed from the compile command.
|
|
|
- */
|
|
|
-class cmRemoveDefinitionsCommand : public cmCommand
|
|
|
-{
|
|
|
-public:
|
|
|
- /**
|
|
|
- * This is a virtual constructor for the command.
|
|
|
- */
|
|
|
- std::unique_ptr<cmCommand> Clone() override
|
|
|
- {
|
|
|
- return cm::make_unique<cmRemoveDefinitionsCommand>();
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * This is called when the command is first encountered in
|
|
|
- * the CMakeLists.txt file.
|
|
|
- */
|
|
|
- bool InitialPass(std::vector<std::string> const& args,
|
|
|
- cmExecutionStatus& status) override;
|
|
|
-};
|
|
|
+bool cmRemoveDefinitionsCommand(std::vector<std::string> const& args,
|
|
|
+ cmExecutionStatus& status);
|
|
|
|
|
|
#endif
|