Commit b14aaffd authored by gaborbencze's avatar gaborbencze

minor fixes:

- IWYU warnings
- accidentally reordered lines in cmCommands.cxx during rebase
parent d64b79e9
Pipeline #144102 passed with stage
......@@ -3,6 +3,7 @@
#include "cmCMakeHostSystemInformationCommand.h"
#include <sstream>
#include <stddef.h>
#include "cmExecutionStatus.h"
#include "cmMakefile.h"
......
......@@ -5,14 +5,10 @@
#include "cmConfigure.h" // IWYU pragma: keep
#include <stddef.h>
#include <string>
#include <vector>
class cmExecutionStatus;
namespace cmsys {
class SystemInformation;
} // namespace cmsys
/**
* \brief Query host system specific information
......
......@@ -122,8 +122,8 @@ void GetScriptingCommands(cmState* state)
state->AddBuiltinCommand("configure_file", cmConfigureFileCommand);
state->AddBuiltinCommand("continue", cmContinueCommand);
state->AddBuiltinCommand("exec_program", cmExecProgramCommand);
state->AddBuiltinCommand("file", cmFileCommand);
state->AddBuiltinCommand("execute_process", cmExecuteProcessCommand);
state->AddBuiltinCommand("file", cmFileCommand);
state->AddBuiltinCommand("find_file", cm::make_unique<cmFindFileCommand>());
state->AddBuiltinCommand("find_library",
cm::make_unique<cmFindLibraryCommand>());
......
......@@ -10,8 +10,6 @@
#include "cmNewLineStyle.h"
#include "cmSystemTools.h"
class cmExecutionStatus;
// cmConfigureFileCommand
bool cmConfigureFileCommand(std::vector<std::string> const& args,
cmExecutionStatus& status)
......
......@@ -8,6 +8,7 @@
#include <algorithm>
#include <ctype.h> /* isspace */
#include <iostream>
#include <memory>
#include <stdio.h>
#include <vector>
......
......@@ -13,6 +13,7 @@
#include "cmExecutionStatus.h"
#include "cmFunctionBlocker.h"
#include "cmListFileCache.h"
#include "cmMakefile.h"
#include "cmMessageType.h"
#include "cmRange.h"
......
......@@ -12,6 +12,7 @@
#include "cmAlgorithms.h"
#include "cmExecutionStatus.h"
#include "cmFunctionBlocker.h"
#include "cmListFileCache.h"
#include "cmMakefile.h"
#include "cmPolicies.h"
#include "cmRange.h"
......
......@@ -13,6 +13,7 @@
#include "cmAlgorithms.h"
#include "cmExecutionStatus.h"
#include "cmFunctionBlocker.h"
#include "cmListFileCache.h"
#include "cmMakefile.h"
#include "cmPolicies.h"
#include "cmRange.h"
......
......@@ -2,6 +2,7 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmSetPropertyCommand.h"
#include <set>
#include <sstream>
#include "cmExecutionStatus.h"
......
......@@ -6,9 +6,9 @@
#include "cmsys/RegularExpression.hxx"
#include <algorithm>
#include <cstddef>
#include <ctype.h>
#include <iterator>
#include <memory>
#include <sstream>
#include <stdio.h>
#include <stdlib.h>
......
......@@ -2,6 +2,7 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmVariableWatchCommand.h"
#include <memory>
#include <sstream>
#include <utility>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment