Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
CMake
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
3,183
Issues
3,183
List
Boards
Labels
Service Desk
Milestones
Merge Requests
14
Merge Requests
14
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
External Wiki
External Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
CMake
CMake
Commits
f69e768d
Commit
f69e768d
authored
Oct 19, 2016
by
Daniel Pfeifer
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Separate compilation for commands included in cmCommands
parent
1e555a44
Pipeline
#32263
passed with stage
Changes
62
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
62 changed files
with
449 additions
and
32 deletions
+449
-32
Source/CMakeLists.txt
Source/CMakeLists.txt
+5
-10
Source/cmAddCompileOptionsCommand.cxx
Source/cmAddCompileOptionsCommand.cxx
+4
-0
Source/cmAddCompileOptionsCommand.h
Source/cmAddCompileOptionsCommand.h
+7
-0
Source/cmAuxSourceDirectoryCommand.cxx
Source/cmAuxSourceDirectoryCommand.cxx
+9
-1
Source/cmAuxSourceDirectoryCommand.h
Source/cmAuxSourceDirectoryCommand.h
+7
-0
Source/cmBuildNameCommand.cxx
Source/cmBuildNameCommand.cxx
+8
-0
Source/cmBuildNameCommand.h
Source/cmBuildNameCommand.h
+7
-0
Source/cmCMakeHostSystemInformationCommand.cxx
Source/cmCMakeHostSystemInformationCommand.cxx
+7
-0
Source/cmCMakeHostSystemInformationCommand.h
Source/cmCMakeHostSystemInformationCommand.h
+10
-1
Source/cmCPluginAPI.cxx
Source/cmCPluginAPI.cxx
+4
-2
Source/cmElseIfCommand.cxx
Source/cmElseIfCommand.cxx
+2
-0
Source/cmElseIfCommand.h
Source/cmElseIfCommand.h
+8
-1
Source/cmExportCommand.cxx
Source/cmExportCommand.cxx
+13
-5
Source/cmExportCommand.h
Source/cmExportCommand.h
+7
-1
Source/cmExportLibraryDependenciesCommand.cxx
Source/cmExportLibraryDependenciesCommand.cxx
+10
-2
Source/cmExportLibraryDependenciesCommand.h
Source/cmExportLibraryDependenciesCommand.h
+7
-0
Source/cmFLTKWrapUICommand.cxx
Source/cmFLTKWrapUICommand.cxx
+8
-0
Source/cmFLTKWrapUICommand.h
Source/cmFLTKWrapUICommand.h
+8
-0
Source/cmIncludeExternalMSProjectCommand.cxx
Source/cmIncludeExternalMSProjectCommand.cxx
+6
-0
Source/cmIncludeExternalMSProjectCommand.h
Source/cmIncludeExternalMSProjectCommand.h
+7
-0
Source/cmInstallProgramsCommand.cxx
Source/cmInstallProgramsCommand.cxx
+8
-0
Source/cmInstallProgramsCommand.h
Source/cmInstallProgramsCommand.h
+7
-0
Source/cmLinkLibrariesCommand.cxx
Source/cmLinkLibrariesCommand.cxx
+4
-0
Source/cmLinkLibrariesCommand.h
Source/cmLinkLibrariesCommand.h
+7
-0
Source/cmLoadCacheCommand.cxx
Source/cmLoadCacheCommand.cxx
+7
-1
Source/cmLoadCacheCommand.h
Source/cmLoadCacheCommand.h
+8
-0
Source/cmLoadCommandCommand.cxx
Source/cmLoadCommandCommand.cxx
+9
-2
Source/cmLoadCommandCommand.h
Source/cmLoadCommandCommand.h
+7
-0
Source/cmOutputRequiredFilesCommand.cxx
Source/cmOutputRequiredFilesCommand.cxx
+11
-1
Source/cmOutputRequiredFilesCommand.h
Source/cmOutputRequiredFilesCommand.h
+8
-0
Source/cmQTWrapCPPCommand.cxx
Source/cmQTWrapCPPCommand.cxx
+7
-0
Source/cmQTWrapCPPCommand.h
Source/cmQTWrapCPPCommand.h
+6
-1
Source/cmQTWrapUICommand.cxx
Source/cmQTWrapUICommand.cxx
+7
-0
Source/cmQTWrapUICommand.h
Source/cmQTWrapUICommand.h
+6
-1
Source/cmRemoveCommand.cxx
Source/cmRemoveCommand.cxx
+5
-0
Source/cmRemoveCommand.h
Source/cmRemoveCommand.h
+7
-0
Source/cmRemoveDefinitionsCommand.cxx
Source/cmRemoveDefinitionsCommand.cxx
+4
-0
Source/cmRemoveDefinitionsCommand.h
Source/cmRemoveDefinitionsCommand.h
+7
-0
Source/cmSourceGroupCommand.cxx
Source/cmSourceGroupCommand.cxx
+8
-0
Source/cmSourceGroupCommand.h
Source/cmSourceGroupCommand.h
+7
-0
Source/cmSubdirDependsCommand.cxx
Source/cmSubdirDependsCommand.cxx
+4
-0
Source/cmSubdirDependsCommand.h
Source/cmSubdirDependsCommand.h
+7
-0
Source/cmTargetCompileDefinitionsCommand.cxx
Source/cmTargetCompileDefinitionsCommand.cxx
+7
-0
Source/cmTargetCompileDefinitionsCommand.h
Source/cmTargetCompileDefinitionsCommand.h
+9
-0
Source/cmTargetCompileFeaturesCommand.cxx
Source/cmTargetCompileFeaturesCommand.cxx
+8
-0
Source/cmTargetCompileFeaturesCommand.h
Source/cmTargetCompileFeaturesCommand.h
+9
-0
Source/cmTargetCompileOptionsCommand.cxx
Source/cmTargetCompileOptionsCommand.cxx
+9
-0
Source/cmTargetCompileOptionsCommand.h
Source/cmTargetCompileOptionsCommand.h
+9
-0
Source/cmTargetIncludeDirectoriesCommand.cxx
Source/cmTargetIncludeDirectoriesCommand.cxx
+10
-0
Source/cmTargetIncludeDirectoriesCommand.h
Source/cmTargetIncludeDirectoriesCommand.h
+9
-0
Source/cmTargetSourcesCommand.cxx
Source/cmTargetSourcesCommand.cxx
+9
-1
Source/cmTargetSourcesCommand.h
Source/cmTargetSourcesCommand.h
+9
-0
Source/cmUseMangledMesaCommand.cxx
Source/cmUseMangledMesaCommand.cxx
+5
-2
Source/cmUseMangledMesaCommand.h
Source/cmUseMangledMesaCommand.h
+7
-0
Source/cmUtilitySourceCommand.cxx
Source/cmUtilitySourceCommand.cxx
+8
-0
Source/cmUtilitySourceCommand.h
Source/cmUtilitySourceCommand.h
+7
-0
Source/cmVariableRequiresCommand.cxx
Source/cmVariableRequiresCommand.cxx
+5
-0
Source/cmVariableRequiresCommand.h
Source/cmVariableRequiresCommand.h
+7
-0
Source/cmVariableWatchCommand.cxx
Source/cmVariableWatchCommand.cxx
+7
-0
Source/cmVariableWatchCommand.h
Source/cmVariableWatchCommand.h
+8
-0
Source/cmWriteFileCommand.cxx
Source/cmWriteFileCommand.cxx
+5
-0
Source/cmWriteFileCommand.h
Source/cmWriteFileCommand.h
+7
-0
No files found.
Source/CMakeLists.txt
View file @
f69e768d
...
...
@@ -401,9 +401,8 @@ set(SRCS
cm_codecvt.cxx
)
set
(
COMMAND_INCLUDES
"#include
\"
cmTargetPropCommandBase.cxx
\"\n
"
)
list
(
APPEND SRCS cmTargetPropCommandBase.cxx
)
set_property
(
SOURCE cmTargetPropCommandBase.cxx PROPERTY HEADER_FILE_ONLY ON
)
set
(
COMMAND_INCLUDES
"#include
\"
cmTargetPropCommandBase.h
\"\n
"
)
list
(
APPEND SRCS cmTargetPropCommandBase.cxx cmTargetPropCommandBase.h
)
set
(
NEW_COMMANDS
""
)
foreach
(
command_file
cmAddCompileOptionsCommand
...
...
@@ -418,6 +417,7 @@ foreach(command_file
cmInstallProgramsCommand
cmLinkLibrariesCommand
cmLoadCacheCommand
cmLoadCommandCommand
cmOutputRequiredFilesCommand
cmQTWrapCPPCommand
cmQTWrapUICommand
...
...
@@ -435,15 +435,10 @@ foreach(command_file
cmVariableRequiresCommand
cmVariableWatchCommand
cmWriteFileCommand
# This one must be last because it includes windows.h and
# windows.h #defines GetCurrentDirectory which is a member
# of cmMakefile
cmLoadCommandCommand
)
set
(
COMMAND_INCLUDES
"
${
COMMAND_INCLUDES
}
#include
\"
${
command_file
}
.
cxx
\"\n
"
)
set
(
COMMAND_INCLUDES
"
${
COMMAND_INCLUDES
}
#include
\"
${
command_file
}
.
h
\"\n
"
)
set
(
NEW_COMMANDS
"
${
NEW_COMMANDS
}
commands.push_back(new
${
command_file
}
);
\n
"
)
list
(
APPEND SRCS
${
command_file
}
.cxx
)
set_property
(
SOURCE
${
command_file
}
.cxx PROPERTY HEADER_FILE_ONLY ON
)
list
(
APPEND SRCS
${
command_file
}
.cxx
${
command_file
}
.h
)
endforeach
()
configure_file
(
cmCommands.cxx.in
${
CMAKE_CURRENT_BINARY_DIR
}
/cmCommands.cxx @ONLY
)
...
...
Source/cmAddCompileOptionsCommand.cxx
View file @
f69e768d
...
...
@@ -2,6 +2,10 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmAddCompileOptionsCommand.h"
#include "cmMakefile.h"
class
cmExecutionStatus
;
bool
cmAddCompileOptionsCommand
::
InitialPass
(
std
::
vector
<
std
::
string
>
const
&
args
,
cmExecutionStatus
&
)
{
...
...
Source/cmAddCompileOptionsCommand.h
View file @
f69e768d
...
...
@@ -3,7 +3,14 @@
#ifndef cmAddCompileOptionsCommand_h
#define cmAddCompileOptionsCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
#include "cmCommand.h"
#include "cmTypeMacro.h"
class
cmExecutionStatus
;
class
cmAddCompileOptionsCommand
:
public
cmCommand
{
...
...
Source/cmAuxSourceDirectoryCommand.cxx
View file @
f69e768d
...
...
@@ -2,9 +2,17 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmAuxSourceDirectoryCommand.h"
#include <algorithm>
#include <cmsys/Directory.hxx>
#include <stddef.h>
#include "cmAlgorithms.h"
#include "cmMakefile.h"
#include "cmSourceFile.h"
#include "cmSystemTools.h"
#include "cmake.h"
#include <cmsys/Directory.hxx>
class
cmExecutionStatus
;
// cmAuxSourceDirectoryCommand
bool
cmAuxSourceDirectoryCommand
::
InitialPass
(
...
...
Source/cmAuxSourceDirectoryCommand.h
View file @
f69e768d
...
...
@@ -3,7 +3,14 @@
#ifndef cmAuxSourceDirectoryCommand_h
#define cmAuxSourceDirectoryCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
#include "cmCommand.h"
#include "cmTypeMacro.h"
class
cmExecutionStatus
;
/** \class cmAuxSourceDirectoryCommand
* \brief Specify auxiliary source code directories.
...
...
Source/cmBuildNameCommand.cxx
View file @
f69e768d
...
...
@@ -2,8 +2,16 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmBuildNameCommand.h"
#include <algorithm>
#include <cmsys/RegularExpression.hxx>
#include "cmMakefile.h"
#include "cmPolicies.h"
#include "cmState.h"
#include "cmSystemTools.h"
class
cmExecutionStatus
;
// cmBuildNameCommand
bool
cmBuildNameCommand
::
InitialPass
(
std
::
vector
<
std
::
string
>
const
&
args
,
cmExecutionStatus
&
)
...
...
Source/cmBuildNameCommand.h
View file @
f69e768d
...
...
@@ -3,7 +3,14 @@
#ifndef cmBuildNameCommand_h
#define cmBuildNameCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
#include "cmCommand.h"
#include "cmTypeMacro.h"
class
cmExecutionStatus
;
class
cmBuildNameCommand
:
public
cmCommand
{
...
...
Source/cmCMakeHostSystemInformationCommand.cxx
View file @
f69e768d
...
...
@@ -2,6 +2,13 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmCMakeHostSystemInformationCommand.h"
#include <sstream>
#include "cmMakefile.h"
#include "cmsys/SystemInformation.hxx"
class
cmExecutionStatus
;
// cmCMakeHostSystemInformation
bool
cmCMakeHostSystemInformationCommand
::
InitialPass
(
std
::
vector
<
std
::
string
>
const
&
args
,
cmExecutionStatus
&
)
...
...
Source/cmCMakeHostSystemInformationCommand.h
View file @
f69e768d
...
...
@@ -3,9 +3,18 @@
#ifndef cmCMakeHostSystemInformationCommand_h
#define cmCMakeHostSystemInformationCommand_h
#include <cmConfigure.h>
#include <stddef.h>
#include <string>
#include <vector>
#include "cmCommand.h"
#include "cmTypeMacro.h"
#include <cmsys/SystemInformation.hxx>
class
cmExecutionStatus
;
namespace
cmsys
{
class
SystemInformation
;
}
// namespace cmsys
/** \class cmCMakeHostSystemInformationCommand
* \brief Query host system specific information
...
...
Source/cmCPluginAPI.cxx
View file @
f69e768d
...
...
@@ -7,10 +7,12 @@
#include "cmCPluginAPI.h"
#include "cmExecutionStatus.h"
#include "cmGlobalGenerator.h"
#include "cmMakefile.h"
#include "cmVersion.h"
#include "cmSourceFile.h"
#include "cmState.h"
#include "cmVersion.h"
#include <stdlib.h>
...
...
Source/cmElseIfCommand.cxx
View file @
f69e768d
...
...
@@ -2,6 +2,8 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmElseIfCommand.h"
class
cmExecutionStatus
;
bool
cmElseIfCommand
::
InitialPass
(
std
::
vector
<
std
::
string
>
const
&
,
cmExecutionStatus
&
)
{
...
...
Source/cmElseIfCommand.h
View file @
f69e768d
...
...
@@ -3,7 +3,14 @@
#ifndef cmElseIfCommand_h
#define cmElseIfCommand_h
#include "cmIfCommand.h"
#include <cmConfigure.h>
#include <string>
#include <vector>
#include "cmCommand.h"
#include "cmTypeMacro.h"
class
cmExecutionStatus
;
/** \class cmElseIfCommand
* \brief ends an if block
...
...
Source/cmExportCommand.cxx
View file @
f69e768d
...
...
@@ -2,15 +2,22 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmExportCommand.h"
#include "cmGeneratedFileStream.h"
#include "cmGlobalGenerator.h"
#include "cmake.h"
#include <cmsys/Encoding.hxx>
#include <cmsys/RegularExpression.hxx>
#include <map>
#include <sstream>
#include "cmExportBuildAndroidMKGenerator.h"
#include "cmExportBuildFileGenerator.h"
#include "cmExportSetMap.h"
#include "cmGeneratedFileStream.h"
#include "cmGlobalGenerator.h"
#include "cmMakefile.h"
#include "cmState.h"
#include "cmSystemTools.h"
#include "cmTarget.h"
#include "cmake.h"
class
cmExecutionStatus
;
#if defined(__HAIKU__)
#include <FindDirectory.h>
...
...
@@ -271,6 +278,7 @@ bool cmExportCommand::HandlePackage(std::vector<std::string> const& args)
#if defined(_WIN32) && !defined(__CYGWIN__)
#include <windows.h>
#undef GetCurrentDirectory
void
cmExportCommand
::
ReportRegistryError
(
std
::
string
const
&
msg
,
std
::
string
const
&
key
,
long
err
)
...
...
Source/cmExportCommand.h
View file @
f69e768d
...
...
@@ -3,9 +3,15 @@
#ifndef cmExportCommand_h
#define cmExportCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
#include "cmCommand.h"
#include "cmCommandArgumentsHelper.h"
#include "cmTypeMacro.h"
class
cmEx
portBuildFileGenerator
;
class
cmEx
ecutionStatus
;
class
cmExportSet
;
/** \class cmExportLibraryDependenciesCommand
...
...
Source/cmExportLibraryDependenciesCommand.cxx
View file @
f69e768d
...
...
@@ -2,12 +2,20 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmExportLibraryDependenciesCommand.h"
#include <cm_auto_ptr.hxx>
#include <cmsys/FStream.hxx>
#include "cmGeneratedFileStream.h"
#include "cmGlobalGenerator.h"
#include "cmVersion.h"
#include "cmMakefile.h"
#include "cmPolicies.h"
#include "cmState.h"
#include "cmSystemTools.h"
#include "cmTarget.h"
#include "cmTargetLinkLibraryType.h"
#include "cmake.h"
#include <cm_auto_ptr.hxx>
class
cmExecutionStatus
;
bool
cmExportLibraryDependenciesCommand
::
InitialPass
(
std
::
vector
<
std
::
string
>
const
&
args
,
cmExecutionStatus
&
)
...
...
Source/cmExportLibraryDependenciesCommand.h
View file @
f69e768d
...
...
@@ -3,7 +3,14 @@
#ifndef cmExportLibraryDependenciesCommand_h
#define cmExportLibraryDependenciesCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
#include "cmCommand.h"
#include "cmTypeMacro.h"
class
cmExecutionStatus
;
class
cmExportLibraryDependenciesCommand
:
public
cmCommand
{
...
...
Source/cmFLTKWrapUICommand.cxx
View file @
f69e768d
...
...
@@ -2,7 +2,15 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmFLTKWrapUICommand.h"
#include <stddef.h>
#include "cmCustomCommandLines.h"
#include "cmMakefile.h"
#include "cmSourceFile.h"
#include "cmSystemTools.h"
class
cmExecutionStatus
;
class
cmTarget
;
// cmFLTKWrapUICommand
bool
cmFLTKWrapUICommand
::
InitialPass
(
std
::
vector
<
std
::
string
>
const
&
args
,
...
...
Source/cmFLTKWrapUICommand.h
View file @
f69e768d
...
...
@@ -3,7 +3,15 @@
#ifndef cmFLTKWrapUICommand_h
#define cmFLTKWrapUICommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
#include "cmCommand.h"
#include "cmTypeMacro.h"
class
cmExecutionStatus
;
class
cmSourceFile
;
/** \class cmFLTKWrapUICommand
* \brief Create .h and .cxx files rules for FLTK user interfaces files
...
...
Source/cmIncludeExternalMSProjectCommand.cxx
View file @
f69e768d
...
...
@@ -2,6 +2,12 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmIncludeExternalMSProjectCommand.h"
#ifdef _WIN32
#include "cmSystemTools.h"
#endif
class
cmExecutionStatus
;
// cmIncludeExternalMSProjectCommand
bool
cmIncludeExternalMSProjectCommand
::
InitialPass
(
std
::
vector
<
std
::
string
>
const
&
args
,
cmExecutionStatus
&
)
...
...
Source/cmIncludeExternalMSProjectCommand.h
View file @
f69e768d
...
...
@@ -3,7 +3,14 @@
#ifndef cmIncludeExternalMSProjectCommand_h
#define cmIncludeExternalMSProjectCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
#include "cmCommand.h"
#include "cmTypeMacro.h"
class
cmExecutionStatus
;
/** \class cmIncludeExternalMSProjectCommand
* \brief Specify an external MS project file for inclusion in the workspace.
...
...
Source/cmInstallProgramsCommand.cxx
View file @
f69e768d
...
...
@@ -2,7 +2,15 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmInstallProgramsCommand.h"
#include "cmGeneratorExpression.h"
#include "cmGlobalGenerator.h"
#include "cmInstallFilesGenerator.h"
#include "cmInstallGenerator.h"
#include "cmMakefile.h"
#include "cmSystemTools.h"
class
cmExecutionStatus
;
// cmExecutableCommand
bool
cmInstallProgramsCommand
::
InitialPass
(
std
::
vector
<
std
::
string
>
const
&
args
,
cmExecutionStatus
&
)
...
...
Source/cmInstallProgramsCommand.h
View file @
f69e768d
...
...
@@ -3,7 +3,14 @@
#ifndef cmInstallProgramsCommand_h
#define cmInstallProgramsCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
#include "cmCommand.h"
#include "cmTypeMacro.h"
class
cmExecutionStatus
;
/** \class cmInstallProgramsCommand
* \brief Specifies where to install some programs
...
...
Source/cmLinkLibrariesCommand.cxx
View file @
f69e768d
...
...
@@ -2,6 +2,10 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmLinkLibrariesCommand.h"
#include "cmMakefile.h"
class
cmExecutionStatus
;
// cmLinkLibrariesCommand
bool
cmLinkLibrariesCommand
::
InitialPass
(
std
::
vector
<
std
::
string
>
const
&
args
,
cmExecutionStatus
&
)
...
...
Source/cmLinkLibrariesCommand.h
View file @
f69e768d
...
...
@@ -3,7 +3,14 @@
#ifndef cmLinkLibrariesCommand_h
#define cmLinkLibrariesCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
#include "cmCommand.h"
#include "cmTypeMacro.h"
class
cmExecutionStatus
;
/** \class cmLinkLibrariesCommand
* \brief Specify a list of libraries to link into executables.
...
...
Source/cmLoadCacheCommand.cxx
View file @
f69e768d
...
...
@@ -3,7 +3,13 @@
#include "cmLoadCacheCommand.h"
#include <cmsys/FStream.hxx>
#include <cmsys/RegularExpression.hxx>
#include "cmMakefile.h"
#include "cmState.h"
#include "cmSystemTools.h"
#include "cmake.h"
class
cmExecutionStatus
;
// cmLoadCacheCommand
bool
cmLoadCacheCommand
::
InitialPass
(
std
::
vector
<
std
::
string
>
const
&
args
,
...
...
Source/cmLoadCacheCommand.h
View file @
f69e768d
...
...
@@ -3,7 +3,15 @@
#ifndef cmLoadCacheCommand_h
#define cmLoadCacheCommand_h
#include <cmConfigure.h>
#include <set>
#include <string>
#include <vector>
#include "cmCommand.h"
#include "cmTypeMacro.h"
class
cmExecutionStatus
;
/** \class cmLoadCacheCommand
* \brief load a cache file
...
...
Source/cmLoadCommandCommand.cxx
View file @
f69e768d
...
...
@@ -5,16 +5,23 @@
#include "cmCPluginAPI.cxx"
#include "cmCPluginAPI.h"
#include "cmDynamicLoader.h"
#include "cmMakefile.h"
#include "cmPolicies.h"
#include "cmState.h"
#include "cmSystemTools.h"
#include <cmsys/DynamicLoader.hxx>
class
cmExecutionStatus
;
#include <signal.h>
#include <sstream>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef __QNX__
#include <malloc.h>
/* for malloc/free on QNX */
#endif
#include <signal.h>
extern
"C"
void
TrapsForSignalsCFunction
(
int
sig
);
// a class for loadabple commands
...
...
Source/cmLoadCommandCommand.h
View file @
f69e768d
...
...
@@ -3,7 +3,14 @@
#ifndef cmLoadCommandCommand_h
#define cmLoadCommandCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
#include "cmCommand.h"
#include "cmTypeMacro.h"
class
cmExecutionStatus
;
class
cmLoadCommandCommand
:
public
cmCommand
{
...
...
Source/cmOutputRequiredFilesCommand.cxx
View file @
f69e768d
...
...
@@ -2,8 +2,18 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmOutputRequiredFilesCommand.h"
#include "cmAlgorithms.h"
#include <cmsys/FStream.hxx>
#include <cmsys/RegularExpression.hxx>
#include "cmAlgorithms.h"
#include "cmGeneratorExpression.h"
#include "cmMakefile.h"
#include "cmPolicies.h"
#include "cmSourceFile.h"
#include "cmSystemTools.h"
#include "cmTarget.h"
class
cmExecutionStatus
;
/** \class cmDependInformation
* \brief Store dependency information for a single source file.
...
...
Source/cmOutputRequiredFilesCommand.h
View file @
f69e768d
...
...
@@ -3,9 +3,17 @@
#ifndef cmOutputRequiredFilesCommand_h
#define cmOutputRequiredFilesCommand_h
#include <cmConfigure.h>
#include <set>
#include <stdio.h>
#include <string>
#include <vector>
#include "cmCommand.h"
#include "cmTypeMacro.h"
class
cmDependInformation
;
class
cmExecutionStatus
;
class
cmOutputRequiredFilesCommand
:
public
cmCommand
{
...
...
Source/cmQTWrapCPPCommand.cxx
View file @
f69e768d
...
...
@@ -2,6 +2,13 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmQTWrapCPPCommand.h"
#include "cmCustomCommandLines.h"
#include "cmMakefile.h"
#include "cmSourceFile.h"
#include "cmSystemTools.h"
class
cmExecutionStatus
;
// cmQTWrapCPPCommand
bool
cmQTWrapCPPCommand
::
InitialPass
(
std
::
vector
<
std
::
string
>
const
&
args
,
cmExecutionStatus
&
)
...
...
Source/cmQTWrapCPPCommand.h
View file @
f69e768d
...
...
@@ -3,9 +3,14 @@
#ifndef cmQTWrapCPPCommand_h
#define cmQTWrapCPPCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
#include "cmCommand.h"
#include "cmTypeMacro.h"
#include "cmSourceFile.h"
class
cmExecutionStatus
;
/** \class cmQTWrapCPPCommand
* \brief Create moc file rules for Qt classes
...
...
Source/cmQTWrapUICommand.cxx
View file @
f69e768d
...
...
@@ -2,6 +2,13 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmQTWrapUICommand.h"
#include "cmCustomCommandLines.h"
#include "cmMakefile.h"
#include "cmSourceFile.h"
#include "cmSystemTools.h"
class
cmExecutionStatus
;
// cmQTWrapUICommand
bool
cmQTWrapUICommand
::
InitialPass
(
std
::
vector
<
std
::
string
>
const
&
args
,
cmExecutionStatus
&
)
...
...
Source/cmQTWrapUICommand.h
View file @
f69e768d
...
...
@@ -3,9 +3,14 @@
#ifndef cmQTWrapUICommand_h
#define cmQTWrapUICommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
#include "cmCommand.h"
#include "cmTypeMacro.h"
#include "cmSourceFile.h"
class
cmExecutionStatus
;
/** \class cmQTWrapUICommand
* \brief Create .h and .cxx files rules for Qt user interfaces files
...
...
Source/cmRemoveCommand.cxx
View file @
f69e768d
...
...
@@ -2,6 +2,11 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmRemoveCommand.h"
#include "cmMakefile.h"
#include "cmSystemTools.h"
class
cmExecutionStatus
;
// cmRemoveCommand
bool
cmRemoveCommand
::
InitialPass
(
std
::
vector
<
std
::
string
>
const
&
args
,
cmExecutionStatus
&
)
...
...
Source/cmRemoveCommand.h
View file @
f69e768d
...
...
@@ -3,7 +3,14 @@
#ifndef cmRemoveCommand_h
#define cmRemoveCommand_h
#include <cmConfigure.h>
#include <string>
#include <vector>
#include "cmCommand.h"
#include "cmTypeMacro.h"
class
cmExecutionStatus
;
/** \class cmRemoveCommand
* \brief remove command
...
...
Source/cmRemoveDefinitionsCommand.cxx
View file @
f69e768d
...
...
@@ -2,6 +2,10 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmRemoveDefinitionsCommand.h"