1 /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
2 file Copyright.txt or https://cmake.org/licensing for details. */
3 #include "cmRemoveDefinitionsCommand.h"
5 #include "cmExecutionStatus.h"
6 #include "cmMakefile.h"
8 bool cmRemoveDefinitionsCommand(std::vector<std::string> const& args,
9 cmExecutionStatus& status)
11 cmMakefile& mf = status.GetMakefile();
12 for (std::string const& i : args) {
13 mf.RemoveDefineFlag(i);