Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
David Adam
CMake
Commits
e81c323d
Commit
e81c323d
authored
Oct 25, 2016
by
Daniel Pfeifer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include necessary headers in commands
parent
2a567c68
Changes
163
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
163 changed files
with
962 additions
and
107 deletions
+962
-107
Source/cmAddCustomCommandCommand.cxx
Source/cmAddCustomCommandCommand.cxx
+10
-2
Source/cmAddCustomCommandCommand.h
Source/cmAddCustomCommandCommand.h
+6
-0
Source/cmAddCustomTargetCommand.cxx
Source/cmAddCustomTargetCommand.cxx
+10
-0
Source/cmAddCustomTargetCommand.h
Source/cmAddCustomTargetCommand.h
+6
-0
Source/cmAddDefinitionsCommand.cxx
Source/cmAddDefinitionsCommand.cxx
+4
-0
Source/cmAddDefinitionsCommand.h
Source/cmAddDefinitionsCommand.h
+6
-0
Source/cmAddDependenciesCommand.cxx
Source/cmAddDependenciesCommand.cxx
+7
-1
Source/cmAddDependenciesCommand.h
Source/cmAddDependenciesCommand.h
+6
-0
Source/cmAddExecutableCommand.cxx
Source/cmAddExecutableCommand.cxx
+10
-0
Source/cmAddExecutableCommand.h
Source/cmAddExecutableCommand.h
+6
-0
Source/cmAddLibraryCommand.cxx
Source/cmAddLibraryCommand.cxx
+8
-0
Source/cmAddLibraryCommand.h
Source/cmAddLibraryCommand.h
+6
-0
Source/cmAddSubDirectoryCommand.cxx
Source/cmAddSubDirectoryCommand.cxx
+6
-0
Source/cmAddSubDirectoryCommand.h
Source/cmAddSubDirectoryCommand.h
+6
-0
Source/cmAddTestCommand.cxx
Source/cmAddTestCommand.cxx
+5
-1
Source/cmAddTestCommand.h
Source/cmAddTestCommand.h
+6
-0
Source/cmBreakCommand.cxx
Source/cmBreakCommand.cxx
+5
-0
Source/cmBreakCommand.h
Source/cmBreakCommand.h
+6
-0
Source/cmBuildCommand.cxx
Source/cmBuildCommand.cxx
+8
-0
Source/cmBuildCommand.h
Source/cmBuildCommand.h
+6
-0
Source/cmBuildNameCommand.cxx
Source/cmBuildNameCommand.cxx
+1
-1
Source/cmCMakeMinimumRequired.cxx
Source/cmCMakeMinimumRequired.cxx
+1
-0
Source/cmCMakePolicyCommand.cxx
Source/cmCMakePolicyCommand.cxx
+8
-1
Source/cmCMakePolicyCommand.h
Source/cmCMakePolicyCommand.h
+6
-0
Source/cmCommand.cxx
Source/cmCommand.cxx
+6
-0
Source/cmCommand.h
Source/cmCommand.h
+9
-2
Source/cmCommands.cxx
Source/cmCommands.cxx
+0
-12
Source/cmConditionEvaluator.cxx
Source/cmConditionEvaluator.cxx
+1
-0
Source/cmConditionEvaluator.h
Source/cmConditionEvaluator.h
+2
-0
Source/cmConfigureFileCommand.cxx
Source/cmConfigureFileCommand.cxx
+5
-1
Source/cmConfigureFileCommand.h
Source/cmConfigureFileCommand.h
+7
-0
Source/cmContinueCommand.cxx
Source/cmContinueCommand.cxx
+2
-0
Source/cmContinueCommand.h
Source/cmContinueCommand.h
+6
-0
Source/cmCoreTryCompile.cxx
Source/cmCoreTryCompile.cxx
+1
-0
Source/cmCoreTryCompile.h
Source/cmCoreTryCompile.h
+1
-0
Source/cmCreateTestSourceList.cxx
Source/cmCreateTestSourceList.cxx
+1
-0
Source/cmDefinePropertyCommand.cxx
Source/cmDefinePropertyCommand.cxx
+6
-2
Source/cmDefinePropertyCommand.h
Source/cmDefinePropertyCommand.h
+6
-0
Source/cmElseCommand.cxx
Source/cmElseCommand.cxx
+2
-0
Source/cmElseCommand.h
Source/cmElseCommand.h
+7
-1
Source/cmEnableLanguageCommand.cxx
Source/cmEnableLanguageCommand.cxx
+4
-0
Source/cmEnableLanguageCommand.h
Source/cmEnableLanguageCommand.h
+6
-0
Source/cmEnableTestingCommand.cxx
Source/cmEnableTestingCommand.cxx
+4
-0
Source/cmEnableTestingCommand.h
Source/cmEnableTestingCommand.h
+6
-0
Source/cmEndForEachCommand.cxx
Source/cmEndForEachCommand.cxx
+3
-0
Source/cmEndForEachCommand.h
Source/cmEndForEachCommand.h
+7
-0
Source/cmEndFunctionCommand.cxx
Source/cmEndFunctionCommand.cxx
+3
-0
Source/cmEndFunctionCommand.h
Source/cmEndFunctionCommand.h
+7
-0
Source/cmEndIfCommand.cxx
Source/cmEndIfCommand.cxx
+5
-0
Source/cmEndIfCommand.h
Source/cmEndIfCommand.h
+7
-1
Source/cmEndMacroCommand.cxx
Source/cmEndMacroCommand.cxx
+3
-0
Source/cmEndMacroCommand.h
Source/cmEndMacroCommand.h
+7
-0
Source/cmEndWhileCommand.cxx
Source/cmEndWhileCommand.cxx
+4
-0
Source/cmEndWhileCommand.h
Source/cmEndWhileCommand.h
+7
-0
Source/cmExecProgramCommand.cxx
Source/cmExecProgramCommand.cxx
+5
-1
Source/cmExecProgramCommand.h
Source/cmExecProgramCommand.h
+6
-0
Source/cmExecuteProcessCommand.cxx
Source/cmExecuteProcessCommand.cxx
+7
-3
Source/cmExecuteProcessCommand.h
Source/cmExecuteProcessCommand.h
+6
-0
Source/cmExportCommand.cxx
Source/cmExportCommand.cxx
+1
-1
Source/cmExportLibraryDependenciesCommand.cxx
Source/cmExportLibraryDependenciesCommand.cxx
+5
-2
Source/cmFileCommand.cxx
Source/cmFileCommand.cxx
+2
-2
Source/cmFileCommand.h
Source/cmFileCommand.h
+5
-1
Source/cmFindBase.cxx
Source/cmFindBase.cxx
+1
-0
Source/cmFindCommon.cxx
Source/cmFindCommon.cxx
+1
-0
Source/cmFindFileCommand.cxx
Source/cmFindFileCommand.cxx
+0
-2
Source/cmFindFileCommand.h
Source/cmFindFileCommand.h
+5
-0
Source/cmFindLibraryCommand.cxx
Source/cmFindLibraryCommand.cxx
+9
-2
Source/cmFindLibraryCommand.h
Source/cmFindLibraryCommand.h
+7
-0
Source/cmFindPackageCommand.cxx
Source/cmFindPackageCommand.cxx
+21
-14
Source/cmFindPackageCommand.h
Source/cmFindPackageCommand.h
+10
-1
Source/cmFindPathCommand.cxx
Source/cmFindPathCommand.cxx
+5
-1
Source/cmFindPathCommand.h
Source/cmFindPathCommand.h
+7
-0
Source/cmFindProgramCommand.cxx
Source/cmFindProgramCommand.cxx
+3
-1
Source/cmFindProgramCommand.h
Source/cmFindProgramCommand.h
+7
-0
Source/cmForEachCommand.cxx
Source/cmForEachCommand.cxx
+8
-2
Source/cmForEachCommand.h
Source/cmForEachCommand.h
+7
-1
Source/cmFunctionCommand.cxx
Source/cmFunctionCommand.cxx
+7
-1
Source/cmFunctionCommand.h
Source/cmFunctionCommand.h
+8
-1
Source/cmGetCMakePropertyCommand.cxx
Source/cmGetCMakePropertyCommand.cxx
+6
-2
Source/cmGetCMakePropertyCommand.h
Source/cmGetCMakePropertyCommand.h
+6
-0
Source/cmGetDirectoryPropertyCommand.cxx
Source/cmGetDirectoryPropertyCommand.cxx
+4
-0
Source/cmGetDirectoryPropertyCommand.h
Source/cmGetDirectoryPropertyCommand.h
+6
-0
Source/cmGetFilenameComponentCommand.cxx
Source/cmGetFilenameComponentCommand.cxx
+4
-0
Source/cmGetFilenameComponentCommand.h
Source/cmGetFilenameComponentCommand.h
+6
-0
Source/cmGetPropertyCommand.cxx
Source/cmGetPropertyCommand.cxx
+12
-1
Source/cmGetPropertyCommand.h
Source/cmGetPropertyCommand.h
+6
-0
Source/cmGetSourceFilePropertyCommand.cxx
Source/cmGetSourceFilePropertyCommand.cxx
+3
-0
Source/cmGetSourceFilePropertyCommand.h
Source/cmGetSourceFilePropertyCommand.h
+6
-0
Source/cmGetTargetPropertyCommand.cxx
Source/cmGetTargetPropertyCommand.cxx
+10
-0
Source/cmGetTargetPropertyCommand.h
Source/cmGetTargetPropertyCommand.h
+6
-0
Source/cmGetTestPropertyCommand.cxx
Source/cmGetTestPropertyCommand.cxx
+3
-1
Source/cmGetTestPropertyCommand.h
Source/cmGetTestPropertyCommand.h
+6
-0
Source/cmIfCommand.cxx
Source/cmIfCommand.cxx
+6
-7
Source/cmIfCommand.h
Source/cmIfCommand.h
+9
-1
Source/cmIncludeCommand.cxx
Source/cmIncludeCommand.cxx
+7
-0
Source/cmIncludeCommand.h
Source/cmIncludeCommand.h
+6
-0
Source/cmIncludeDirectoryCommand.cxx
Source/cmIncludeDirectoryCommand.cxx
+6
-0
Source/cmIncludeDirectoryCommand.h
Source/cmIncludeDirectoryCommand.h
+6
-0
Source/cmIncludeExternalMSProjectCommand.cxx
Source/cmIncludeExternalMSProjectCommand.cxx
+3
-0
Source/cmIncludeRegularExpressionCommand.cxx
Source/cmIncludeRegularExpressionCommand.cxx
+4
-0
Source/cmIncludeRegularExpressionCommand.h
Source/cmIncludeRegularExpressionCommand.h
+6
-0
Source/cmInstallCommand.cxx
Source/cmInstallCommand.cxx
+16
-1
Source/cmInstallCommand.h
Source/cmInstallCommand.h
+6
-0
Source/cmInstallFilesCommand.cxx
Source/cmInstallFilesCommand.cxx
+5
-0
Source/cmInstallFilesCommand.h
Source/cmInstallFilesCommand.h
+6
-0
Source/cmInstallTargetsCommand.cxx
Source/cmInstallTargetsCommand.cxx
+7
-0
Source/cmInstallTargetsCommand.h
Source/cmInstallTargetsCommand.h
+6
-0
Source/cmLinkDirectoriesCommand.cxx
Source/cmLinkDirectoriesCommand.cxx
+7
-0
Source/cmLinkDirectoriesCommand.h
Source/cmLinkDirectoriesCommand.h
+6
-0
Source/cmListCommand.cxx
Source/cmListCommand.cxx
+13
-6
Source/cmListCommand.h
Source/cmListCommand.h
+6
-0
Source/cmLoadCacheCommand.cxx
Source/cmLoadCacheCommand.cxx
+1
-1
Source/cmMacroCommand.cxx
Source/cmMacroCommand.cxx
+7
-1
Source/cmMacroCommand.h
Source/cmMacroCommand.h
+8
-1
Source/cmMakeDirectoryCommand.cxx
Source/cmMakeDirectoryCommand.cxx
+3
-0
Source/cmMakeDirectoryCommand.h
Source/cmMakeDirectoryCommand.h
+6
-0
Source/cmMarkAsAdvancedCommand.cxx
Source/cmMarkAsAdvancedCommand.cxx
+5
-0
Source/cmMarkAsAdvancedCommand.h
Source/cmMarkAsAdvancedCommand.h
+6
-0
Source/cmMathCommand.cxx
Source/cmMathCommand.cxx
+5
-0
Source/cmMathCommand.h
Source/cmMathCommand.h
+6
-0
Source/cmMessageCommand.cxx
Source/cmMessageCommand.cxx
+7
-0
Source/cmMessageCommand.h
Source/cmMessageCommand.h
+6
-0
Source/cmOptionCommand.cxx
Source/cmOptionCommand.cxx
+7
-0
Source/cmOptionCommand.h
Source/cmOptionCommand.h
+6
-0
Source/cmOutputRequiredFilesCommand.cxx
Source/cmOutputRequiredFilesCommand.cxx
+3
-0
Source/cmParseArgumentsCommand.cxx
Source/cmParseArgumentsCommand.cxx
+11
-0
Source/cmParseArgumentsCommand.h
Source/cmParseArgumentsCommand.h
+6
-0
Source/cmProjectCommand.cxx
Source/cmProjectCommand.cxx
+10
-0
Source/cmProjectCommand.h
Source/cmProjectCommand.h
+6
-0
Source/cmReturnCommand.h
Source/cmReturnCommand.h
+6
-0
Source/cmSearchPath.cxx
Source/cmSearchPath.cxx
+3
-0
Source/cmSeparateArgumentsCommand.cxx
Source/cmSeparateArgumentsCommand.cxx
+6
-0
Source/cmSeparateArgumentsCommand.h
Source/cmSeparateArgumentsCommand.h
+6
-0
Source/cmSetCommand.cxx
Source/cmSetCommand.cxx
+8
-0
Source/cmSetCommand.h
Source/cmSetCommand.h
+6
-0
Source/cmSetDirectoryPropertiesCommand.cxx
Source/cmSetDirectoryPropertiesCommand.cxx
+3
-1
Source/cmSetDirectoryPropertiesCommand.h
Source/cmSetDirectoryPropertiesCommand.h
+7
-0
Source/cmSetPropertyCommand.cxx
Source/cmSetPropertyCommand.cxx
+10
-3
Source/cmSetPropertyCommand.h
Source/cmSetPropertyCommand.h
+11
-0
Source/cmSetSourceFilesPropertiesCommand.cxx
Source/cmSetSourceFilesPropertiesCommand.cxx
+3
-0
Source/cmSetSourceFilesPropertiesCommand.h
Source/cmSetSourceFilesPropertiesCommand.h
+7
-0
Source/cmSetTargetPropertiesCommand.cxx
Source/cmSetTargetPropertiesCommand.cxx
+6
-1
Source/cmSetTargetPropertiesCommand.h
Source/cmSetTargetPropertiesCommand.h
+7
-0
Source/cmSetTestsPropertiesCommand.cxx
Source/cmSetTestsPropertiesCommand.cxx
+5
-1
Source/cmSetTestsPropertiesCommand.h
Source/cmSetTestsPropertiesCommand.h
+7
-0
Source/cmSiteNameCommand.cxx
Source/cmSiteNameCommand.cxx
+5
-1
Source/cmSiteNameCommand.h
Source/cmSiteNameCommand.h
+6
-0
Source/cmStringCommand.cxx
Source/cmStringCommand.cxx
+14
-9
Source/cmStringCommand.h
Source/cmStringCommand.h
+5
-4
Source/cmSubdirCommand.cxx
Source/cmSubdirCommand.cxx
+3
-0
Source/cmSubdirCommand.h
Source/cmSubdirCommand.h
+6
-0
Source/cmTargetLinkLibrariesCommand.cxx
Source/cmTargetLinkLibrariesCommand.cxx
+10
-0
Source/cmTargetLinkLibrariesCommand.h
Source/cmTargetLinkLibrariesCommand.h
+8
-0
Source/cmTargetPropCommandBase.cxx
Source/cmTargetPropCommandBase.cxx
+1
-0
Source/cmTryCompileCommand.cxx
Source/cmTryCompileCommand.cxx
+5
-0
Source/cmTryCompileCommand.h
Source/cmTryCompileCommand.h
+7
-0
Source/cmTryRunCommand.cxx
Source/cmTryRunCommand.cxx
+8
-2
Source/cmTryRunCommand.h
Source/cmTryRunCommand.h
+7
-0
Source/cmUnsetCommand.cxx
Source/cmUnsetCommand.cxx
+6
-0
Source/cmUnsetCommand.h
Source/cmUnsetCommand.h
+6
-0
Source/cmUtilitySourceCommand.cxx
Source/cmUtilitySourceCommand.cxx
+1
-1
Source/cmWhileCommand.cxx
Source/cmWhileCommand.cxx
+5
-0
Source/cmWhileCommand.h
Source/cmWhileCommand.h
+7
-1
No files found.
Source/cmAddCustomCommandCommand.cxx
View file @
e81c323d
...
...
@@ -2,11 +2,19 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmAddCustomCommandCommand.h"
#include
"cmTarget.h"
#include
<sstream>
#include "cmCustomCommand.h"
#include "cmCustomCommandLines.h"
#include "cmGlobalGenerator.h"
#include "cmMakefile.h"
#include "cmPolicies.h"
#include "cmSourceFile.h"
#include "cmSystemTools.h"
#include "cmTarget.h"
#include "cmake.h"
#include "cmGlobalGenerator.h"
class
cmExecutionStatus
;
// cmAddCustomCommandCommand
bool
cmAddCustomCommandCommand
::
InitialPass
(
...
...
Source/cmAddCustomCommandCommand.h
View file @
e81c323d
...
...
@@ -3,8 +3,14 @@
#ifndef cmAddCustomCommandCommand_h
#define cmAddCustomCommandCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
#include "cmCommand.h"
class
cmExecutionStatus
;
/** \class cmAddCustomCommandCommand
* \brief cmAddCustomCommandCommand defines a new command (rule) that can
* be executed within the build process
...
...
Source/cmAddCustomTargetCommand.cxx
View file @
e81c323d
...
...
@@ -2,8 +2,18 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmAddCustomTargetCommand.h"
#include <sstream>
#include "cmCustomCommandLines.h"
#include "cmGeneratorExpression.h"
#include "cmGlobalGenerator.h"
#include "cmMakefile.h"
#include "cmPolicies.h"
#include "cmSystemTools.h"
#include "cmTarget.h"
#include "cmake.h"
class
cmExecutionStatus
;
// cmAddCustomTargetCommand
bool
cmAddCustomTargetCommand
::
InitialPass
(
...
...
Source/cmAddCustomTargetCommand.h
View file @
e81c323d
...
...
@@ -3,8 +3,14 @@
#ifndef cmAddCustomTargetCommand_h
#define cmAddCustomTargetCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
#include "cmCommand.h"
class
cmExecutionStatus
;
/** \class cmAddCustomTargetCommand
* \brief Command that adds a target to the build system.
*
...
...
Source/cmAddDefinitionsCommand.cxx
View file @
e81c323d
...
...
@@ -2,6 +2,10 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmAddDefinitionsCommand.h"
#include "cmMakefile.h"
class
cmExecutionStatus
;
// cmAddDefinitionsCommand
bool
cmAddDefinitionsCommand
::
InitialPass
(
std
::
vector
<
std
::
string
>
const
&
args
,
cmExecutionStatus
&
)
...
...
Source/cmAddDefinitionsCommand.h
View file @
e81c323d
...
...
@@ -3,8 +3,14 @@
#ifndef cmAddDefinitionsCommand_h
#define cmAddDefinitionsCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
#include "cmCommand.h"
class
cmExecutionStatus
;
/** \class cmAddDefinitionsCommand
* \brief Specify a list of compiler defines
*
...
...
Source/cmAddDependenciesCommand.cxx
View file @
e81c323d
...
...
@@ -2,7 +2,13 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmAddDependenciesCommand.h"
#include "cmGlobalGenerator.h"
#include <sstream>
#include "cmMakefile.h"
#include "cmTarget.h"
#include "cmake.h"
class
cmExecutionStatus
;
// cmDependenciesCommand
bool
cmAddDependenciesCommand
::
InitialPass
(
...
...
Source/cmAddDependenciesCommand.h
View file @
e81c323d
...
...
@@ -3,8 +3,14 @@
#ifndef cmDependenciessCommand_h
#define cmDependenciessCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
#include "cmCommand.h"
class
cmExecutionStatus
;
/** \class cmAddDependenciesCommand
* \brief Add a dependency to a target
*
...
...
Source/cmAddExecutableCommand.cxx
View file @
e81c323d
...
...
@@ -2,7 +2,17 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmAddExecutableCommand.h"
#include <sstream>
#include "cmGeneratorExpression.h"
#include "cmGlobalGenerator.h"
#include "cmMakefile.h"
#include "cmPolicies.h"
#include "cmStateTypes.h"
#include "cmTarget.h"
#include "cmake.h"
class
cmExecutionStatus
;
// cmExecutableCommand
bool
cmAddExecutableCommand
::
InitialPass
(
std
::
vector
<
std
::
string
>
const
&
args
,
...
...
Source/cmAddExecutableCommand.h
View file @
e81c323d
...
...
@@ -3,8 +3,14 @@
#ifndef cmExecutablesCommand_h
#define cmExecutablesCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
#include "cmCommand.h"
class
cmExecutionStatus
;
/** \class cmExecutablesCommand
* \brief Defines a list of executables to build.
*
...
...
Source/cmAddLibraryCommand.cxx
View file @
e81c323d
...
...
@@ -2,12 +2,20 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmAddLibraryCommand.h"
#include <sstream>
#include "cmGeneratorExpression.h"
#include "cmGlobalGenerator.h"
#include "cmMakefile.h"
#include "cmPolicies.h"
#include "cmState.h"
#include "cmStateTypes.h"
#include "cmSystemTools.h"
#include "cmTarget.h"
#include "cmake.h"
class
cmExecutionStatus
;
// cmLibraryCommand
bool
cmAddLibraryCommand
::
InitialPass
(
std
::
vector
<
std
::
string
>
const
&
args
,
cmExecutionStatus
&
)
...
...
Source/cmAddLibraryCommand.h
View file @
e81c323d
...
...
@@ -3,8 +3,14 @@
#ifndef cmLibrarysCommand_h
#define cmLibrarysCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
#include "cmCommand.h"
class
cmExecutionStatus
;
/** \class cmLibrarysCommand
* \brief Defines a list of executables to build.
*
...
...
Source/cmAddSubDirectoryCommand.cxx
View file @
e81c323d
...
...
@@ -2,8 +2,14 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmAddSubDirectoryCommand.h"
#include <sstream>
#include <string.h>
#include "cmMakefile.h"
#include "cmSystemTools.h"
class
cmExecutionStatus
;
// cmAddSubDirectoryCommand
bool
cmAddSubDirectoryCommand
::
InitialPass
(
std
::
vector
<
std
::
string
>
const
&
args
,
cmExecutionStatus
&
)
...
...
Source/cmAddSubDirectoryCommand.h
View file @
e81c323d
...
...
@@ -3,8 +3,14 @@
#ifndef cmAddSubDirectoryCommand_h
#define cmAddSubDirectoryCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
#include "cmCommand.h"
class
cmExecutionStatus
;
/** \class cmAddSubDirectoryCommand
* \brief Specify a subdirectory to build
*
...
...
Source/cmAddTestCommand.cxx
View file @
e81c323d
...
...
@@ -2,9 +2,13 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmAddTestCommand.h"
#include
"cmTestGenerator.h"
#include
<sstream>
#include "cmMakefile.h"
#include "cmTest.h"
#include "cmTestGenerator.h"
class
cmExecutionStatus
;
// cmExecutableCommand
bool
cmAddTestCommand
::
InitialPass
(
std
::
vector
<
std
::
string
>
const
&
args
,
...
...
Source/cmAddTestCommand.h
View file @
e81c323d
...
...
@@ -3,8 +3,14 @@
#ifndef cmAddTestCommand_h
#define cmAddTestCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
#include "cmCommand.h"
class
cmExecutionStatus
;
/** \class cmAddTestCommand
* \brief Add a test to the lists of tests to run.
*
...
...
Source/cmBreakCommand.cxx
View file @
e81c323d
...
...
@@ -2,7 +2,12 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmBreakCommand.h"
#include <sstream>
#include "cmExecutionStatus.h"
#include "cmMakefile.h"
#include "cmPolicies.h"
#include "cmake.h"
// cmBreakCommand
bool
cmBreakCommand
::
InitialPass
(
std
::
vector
<
std
::
string
>
const
&
args
,
...
...
Source/cmBreakCommand.h
View file @
e81c323d
...
...
@@ -3,8 +3,14 @@
#ifndef cmBreakCommand_h
#define cmBreakCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
#include "cmCommand.h"
class
cmExecutionStatus
;
/** \class cmBreakCommand
* \brief Break from an enclosing foreach or while loop
*
...
...
Source/cmBuildCommand.cxx
View file @
e81c323d
...
...
@@ -2,7 +2,15 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmBuildCommand.h"
#include <sstream>
#include "cmGlobalGenerator.h"
#include "cmMakefile.h"
#include "cmStateTypes.h"
#include "cmSystemTools.h"
#include "cmake.h"
class
cmExecutionStatus
;
bool
cmBuildCommand
::
InitialPass
(
std
::
vector
<
std
::
string
>
const
&
args
,
cmExecutionStatus
&
)
...
...
Source/cmBuildCommand.h
View file @
e81c323d
...
...
@@ -3,8 +3,14 @@
#ifndef cmBuildCommand_h
#define cmBuildCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
#include "cmCommand.h"
class
cmExecutionStatus
;
/** \class cmBuildCommand
* \brief build_command command
*
...
...
Source/cmBuildNameCommand.cxx
View file @
e81c323d
...
...
@@ -7,7 +7,7 @@
#include "cmMakefile.h"
#include "cmPolicies.h"
#include "cmState.h"
#include "cmState
Types
.h"
#include "cmSystemTools.h"
class
cmExecutionStatus
;
...
...
Source/cmCMakeMinimumRequired.cxx
View file @
e81c323d
...
...
@@ -2,6 +2,7 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmCMakeMinimumRequired.h"
#include "cmMakefile.h"
#include "cmSystemTools.h"
#include "cmVersion.h"
...
...
Source/cmCMakePolicyCommand.cxx
View file @
e81c323d
...
...
@@ -2,8 +2,15 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmCMakePolicyCommand.h"
#include <sstream>
#include "cmMakefile.h"
#include "cmPolicies.h"
#include "cmState.h"
#include "cmVersion.h"
#include "cmStateTypes.h"
#include "cmake.h"
class
cmExecutionStatus
;
// cmCMakePolicyCommand
bool
cmCMakePolicyCommand
::
InitialPass
(
std
::
vector
<
std
::
string
>
const
&
args
,
...
...
Source/cmCMakePolicyCommand.h
View file @
e81c323d
...
...
@@ -3,8 +3,14 @@
#ifndef cmCMakePolicyCommand_h
#define cmCMakePolicyCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
#include "cmCommand.h"
class
cmExecutionStatus
;
/** \class cmCMakePolicyCommand
* \brief Set how CMake should handle policies
*
...
...
Source/cmCommand.cxx
View file @
e81c323d
...
...
@@ -2,6 +2,12 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmCommand.h"
#include "cmMakefile.h"
#include "cmake.h"
class
cmExecutionStatus
;
struct
cmListFileArgument
;
bool
cmCommand
::
InvokeInitialPass
(
const
std
::
vector
<
cmListFileArgument
>&
args
,
cmExecutionStatus
&
status
)
{
...
...
Source/cmCommand.h
View file @
e81c323d
...
...
@@ -3,9 +3,16 @@
#ifndef cmCommand_h
#define cmCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
#include "cmCommandArgumentsHelper.h"
#include "cmListFileCache.h"
#include "cmMakefile.h"
#include "cmPolicies.h"
class
cmExecutionStatus
;
class
cmMakefile
;
struct
cmListFileArgument
;
/** \class cmCommand
* \brief Superclass for all commands in CMake.
...
...
Source/cmCommands.cxx
View file @
e81c323d
...
...
@@ -14,11 +14,8 @@
#include "cmBuildCommand.h"
#include "cmCMakeMinimumRequired.h"
#include "cmCMakePolicyCommand.h"
#include "cmCommandArgumentsHelper.h"
#include "cmConditionEvaluator.h"
#include "cmConfigureFileCommand.h"
#include "cmContinueCommand.h"
#include "cmCoreTryCompile.h"
#include "cmCreateTestSourceList.h"
#include "cmDefinePropertyCommand.h"
#include "cmElseCommand.h"
...
...
@@ -31,10 +28,7 @@
#include "cmEndWhileCommand.h"
#include "cmExecProgramCommand.h"
#include "cmExecuteProcessCommand.h"
#include "cmExpandedCommandArgument.h"
#include "cmFileCommand.h"
#include "cmFindBase.h"
#include "cmFindCommon.h"
#include "cmFindFileCommand.h"
#include "cmFindLibraryCommand.h"
#include "cmFindPackageCommand.h"
...
...
@@ -49,13 +43,11 @@
#include "cmGetSourceFilePropertyCommand.h"
#include "cmGetTargetPropertyCommand.h"
#include "cmGetTestPropertyCommand.h"
#include "cmHexFileConverter.h"
#include "cmIfCommand.h"
#include "cmIncludeCommand.h"
#include "cmIncludeDirectoryCommand.h"
#include "cmIncludeRegularExpressionCommand.h"
#include "cmInstallCommand.h"
#include "cmInstallCommandArguments.h"
#include "cmInstallFilesCommand.h"
#include "cmInstallTargetsCommand.h"
#include "cmLinkDirectoriesCommand.h"
...
...
@@ -67,10 +59,8 @@
#include "cmMessageCommand.h"
#include "cmOptionCommand.h"
#include "cmParseArgumentsCommand.h"
#include "cmPathLabel.h"
#include "cmProjectCommand.h"
#include "cmReturnCommand.h"
#include "cmSearchPath.h"
#include "cmSeparateArgumentsCommand.h"
#include "cmSetCommand.h"
#include "cmSetDirectoryPropertiesCommand.h"
...
...
@@ -82,7 +72,6 @@
#include "cmStringCommand.h"
#include "cmSubdirCommand.h"
#include "cmTargetLinkLibrariesCommand.h"
#include "cmTimestamp.h"
#include "cmTryCompileCommand.h"
#include "cmTryRunCommand.h"
#include "cmUnsetCommand.h"
...
...
@@ -113,7 +102,6 @@
#include "cmTargetCompileFeaturesCommand.h"
#include "cmTargetCompileOptionsCommand.h"
#include "cmTargetIncludeDirectoriesCommand.h"
#include "cmTargetPropCommandBase.h"
#include "cmTargetSourcesCommand.h"
#include "cmUseMangledMesaCommand.h"
#include "cmUtilitySourceCommand.h"
...
...
Source/cmConditionEvaluator.cxx
View file @
e81c323d
...
...
@@ -3,6 +3,7 @@
#include "cmConditionEvaluator.h"
#include "cmAlgorithms.h"
#include "cmMakefile.h"
#include "cmOutputConverter.h"
#include "cmState.h"
#include "cmSystemTools.h"
...
...
Source/cmConditionEvaluator.h
View file @
e81c323d
...
...
@@ -5,6 +5,8 @@
#include "cmCommand.h"
#include "cmExpandedCommandArgument.h"
#include "cmListFileCache.h"
#include "cmake.h"
#include <list>
...
...
Source/cmConfigureFileCommand.cxx
View file @
e81c323d
...
...
@@ -2,9 +2,13 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmConfigureFileCommand.h"
#include <sstream>
#include "cmMakefile.h"
#include "cmSystemTools.h"
#include "cmake.h"
#include <cmsys/RegularExpression.hxx>
class
cmExecutionStatus
;
// cmConfigureFileCommand
bool
cmConfigureFileCommand
::
InitialPass
(
std
::
vector
<
std
::
string
>
const
&
args
,
...
...
Source/cmConfigureFileCommand.h
View file @
e81c323d
...
...
@@ -3,7 +3,14 @@
#ifndef cmConfigureFileCommand_h
#define cmConfigureFileCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
#include "cmCommand.h"
#include "cmNewLineStyle.h"
class
cmExecutionStatus
;
class
cmConfigureFileCommand
:
public
cmCommand
{
...
...
Source/cmContinueCommand.cxx
View file @
e81c323d
...
...
@@ -3,7 +3,9 @@
#include "cmContinueCommand.h"
#include "cmExecutionStatus.h"
#include "cmMakefile.h"
#include "cmSystemTools.h"
#include "cmake.h"
// cmContinueCommand
bool
cmContinueCommand
::
InitialPass
(
std
::
vector
<
std
::
string
>
const
&
args
,
...
...
Source/cmContinueCommand.h
View file @
e81c323d
...
...
@@ -3,8 +3,14 @@
#ifndef cmContinueCommand_h
#define cmContinueCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
#include "cmCommand.h"
class
cmExecutionStatus
;
/** \class cmContinueCommand
* \brief Continue from an enclosing foreach or while loop
*
...
...
Source/cmCoreTryCompile.cxx
View file @
e81c323d
...
...
@@ -5,6 +5,7 @@
#include "cmAlgorithms.h"
#include "cmExportTryCompileFileGenerator.h"
#include "cmGlobalGenerator.h"
#include "cmMakefile.h"
#include "cmOutputConverter.h"
#include "cmState.h"
#include "cmake.h"
...
...
Source/cmCoreTryCompile.h
View file @
e81c323d
...
...
@@ -4,6 +4,7 @@
#define cmCoreTryCompile_h
#include "cmCommand.h"
#include "cmStateTypes.h"
/** \class cmCoreTryCompile
* \brief Base class for cmTryCompileCommand and cmTryRunCommand
...
...
Source/cmCreateTestSourceList.cxx
View file @
e81c323d
...
...
@@ -2,6 +2,7 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmCreateTestSourceList.h"