summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmAbstractFilesCommand.cxx2
-rw-r--r--Source/cmAddDependenciesCommand.cxx1
-rw-r--r--Source/cmAddExecutableCommand.cxx1
-rw-r--r--Source/cmAddLibraryCommand.cxx1
-rw-r--r--Source/cmAddTestCommand.cxx1
-rw-r--r--Source/cmAuxSourceDirectoryCommand.cxx1
-rw-r--r--Source/cmCommand.h2
-rw-r--r--Source/cmCreateTestSourceList.cxx2
-rw-r--r--Source/cmElseCommand.cxx1
-rw-r--r--Source/cmEnableTestingCommand.cxx1
-rw-r--r--Source/cmEndForEachCommand.cxx1
-rw-r--r--Source/cmEndIfCommand.cxx1
-rw-r--r--Source/cmForEachCommand.cxx1
-rw-r--r--Source/cmIfCommand.cxx1
-rw-r--r--Source/cmIncludeDirectoryCommand.cxx2
-rw-r--r--Source/cmInstallFilesCommand.cxx1
-rw-r--r--Source/cmInstallProgramsCommand.cxx1
-rw-r--r--Source/cmInstallTargetsCommand.cxx1
-rw-r--r--Source/cmMacroCommand.cxx1
-rw-r--r--Source/cmMessageCommand.cxx1
-rw-r--r--Source/cmTarget.cxx1
-rw-r--r--Source/cmTarget.h2
-rw-r--r--Source/cmWriteFileCommand.cxx1
23 files changed, 8 insertions, 20 deletions
diff --git a/Source/cmAbstractFilesCommand.cxx b/Source/cmAbstractFilesCommand.cxx
index a23ce54..4dd516d 100644
--- a/Source/cmAbstractFilesCommand.cxx
+++ b/Source/cmAbstractFilesCommand.cxx
@@ -15,6 +15,8 @@
=========================================================================*/
#include "cmAbstractFilesCommand.h"
+#include "cmMakefile.h"
+#include "cmSourceFile.h"
// cmAbstractFilesCommand
bool cmAbstractFilesCommand::InitialPass(std::vector<std::string> const& argsIn)
diff --git a/Source/cmAddDependenciesCommand.cxx b/Source/cmAddDependenciesCommand.cxx
index 161005e..d2fe911 100644
--- a/Source/cmAddDependenciesCommand.cxx
+++ b/Source/cmAddDependenciesCommand.cxx
@@ -15,7 +15,6 @@
=========================================================================*/
#include "cmAddDependenciesCommand.h"
-#include "cmCacheManager.h"
// cmDependenciesCommand
bool cmAddDependenciesCommand::InitialPass(std::vector<std::string> const& argsIn)
diff --git a/Source/cmAddExecutableCommand.cxx b/Source/cmAddExecutableCommand.cxx
index c668b20..2ff42c9 100644
--- a/Source/cmAddExecutableCommand.cxx
+++ b/Source/cmAddExecutableCommand.cxx
@@ -15,7 +15,6 @@
=========================================================================*/
#include "cmAddExecutableCommand.h"
-#include "cmCacheManager.h"
// cmExecutableCommand
bool cmAddExecutableCommand::InitialPass(std::vector<std::string> const& argsIn)
diff --git a/Source/cmAddLibraryCommand.cxx b/Source/cmAddLibraryCommand.cxx
index baecbe3..289e574 100644
--- a/Source/cmAddLibraryCommand.cxx
+++ b/Source/cmAddLibraryCommand.cxx
@@ -15,7 +15,6 @@
=========================================================================*/
#include "cmAddLibraryCommand.h"
-#include "cmCacheManager.h"
// cmLibraryCommand
bool cmAddLibraryCommand::InitialPass(std::vector<std::string> const& argsIn)
diff --git a/Source/cmAddTestCommand.cxx b/Source/cmAddTestCommand.cxx
index ff4e3ba..790a8cd 100644
--- a/Source/cmAddTestCommand.cxx
+++ b/Source/cmAddTestCommand.cxx
@@ -15,7 +15,6 @@
=========================================================================*/
#include "cmAddTestCommand.h"
-#include "cmCacheManager.h"
// cmExecutableCommand
bool cmAddTestCommand::InitialPass(std::vector<std::string> const& args)
diff --git a/Source/cmAuxSourceDirectoryCommand.cxx b/Source/cmAuxSourceDirectoryCommand.cxx
index 6ebb035..e1fafba 100644
--- a/Source/cmAuxSourceDirectoryCommand.cxx
+++ b/Source/cmAuxSourceDirectoryCommand.cxx
@@ -16,6 +16,7 @@
=========================================================================*/
#include "cmAuxSourceDirectoryCommand.h"
#include "cmDirectory.h"
+#include "cmSourceFile.h"
// cmAuxSourceDirectoryCommand
bool cmAuxSourceDirectoryCommand::InitialPass(std::vector<std::string> const& args)
diff --git a/Source/cmCommand.h b/Source/cmCommand.h
index e119027..6c37b58 100644
--- a/Source/cmCommand.h
+++ b/Source/cmCommand.h
@@ -18,7 +18,7 @@
#define cmCommand_h
#include "cmStandardIncludes.h"
-#include "cmMakefile.h"
+class cmMakefile;
/** \class cmCommand
* \brief Superclass for all commands in CMake.
diff --git a/Source/cmCreateTestSourceList.cxx b/Source/cmCreateTestSourceList.cxx
index a8e0c57..8a20151 100644
--- a/Source/cmCreateTestSourceList.cxx
+++ b/Source/cmCreateTestSourceList.cxx
@@ -15,7 +15,7 @@
=========================================================================*/
#include "cmCreateTestSourceList.h"
-
+#include "cmSourceFile.h"
// cmCreateTestSourceList
bool cmCreateTestSourceList::InitialPass(std::vector<std::string> const& argsIn)
diff --git a/Source/cmElseCommand.cxx b/Source/cmElseCommand.cxx
index c943975..7e9b23f 100644
--- a/Source/cmElseCommand.cxx
+++ b/Source/cmElseCommand.cxx
@@ -15,7 +15,6 @@
=========================================================================*/
#include "cmElseCommand.h"
-#include "cmCacheManager.h"
bool cmElseCommand::InitialPass(std::vector<std::string> const&)
{
diff --git a/Source/cmEnableTestingCommand.cxx b/Source/cmEnableTestingCommand.cxx
index 101b523..20f1a36 100644
--- a/Source/cmEnableTestingCommand.cxx
+++ b/Source/cmEnableTestingCommand.cxx
@@ -15,7 +15,6 @@
=========================================================================*/
#include "cmEnableTestingCommand.h"
-#include "cmCacheManager.h"
// we do this in the final pass so that we now the subdirs have all
// been defined
diff --git a/Source/cmEndForEachCommand.cxx b/Source/cmEndForEachCommand.cxx
index f32e914..c2c6a05 100644
--- a/Source/cmEndForEachCommand.cxx
+++ b/Source/cmEndForEachCommand.cxx
@@ -15,7 +15,6 @@
=========================================================================*/
#include "cmEndForEachCommand.h"
-#include "cmCacheManager.h"
bool cmEndForEachCommand::InitialPass(std::vector<std::string> const& args)
{
diff --git a/Source/cmEndIfCommand.cxx b/Source/cmEndIfCommand.cxx
index fb408a1..9b539c6 100644
--- a/Source/cmEndIfCommand.cxx
+++ b/Source/cmEndIfCommand.cxx
@@ -15,7 +15,6 @@
=========================================================================*/
#include "cmEndIfCommand.h"
-#include "cmCacheManager.h"
bool cmEndIfCommand::InitialPass(std::vector<std::string> const&)
{
diff --git a/Source/cmForEachCommand.cxx b/Source/cmForEachCommand.cxx
index c95c558..9595613 100644
--- a/Source/cmForEachCommand.cxx
+++ b/Source/cmForEachCommand.cxx
@@ -15,7 +15,6 @@
=========================================================================*/
#include "cmForEachCommand.h"
-#include "cmCacheManager.h"
bool cmForEachFunctionBlocker::
IsFunctionBlocked(const char *name, const std::vector<std::string> &args,
diff --git a/Source/cmIfCommand.cxx b/Source/cmIfCommand.cxx
index de5a09b..ffcd901 100644
--- a/Source/cmIfCommand.cxx
+++ b/Source/cmIfCommand.cxx
@@ -15,7 +15,6 @@
=========================================================================*/
#include "cmIfCommand.h"
-#include "cmCacheManager.h"
bool cmIfFunctionBlocker::
IsFunctionBlocked(const char *name, const std::vector<std::string> &args,
diff --git a/Source/cmIncludeDirectoryCommand.cxx b/Source/cmIncludeDirectoryCommand.cxx
index f1d7ba9..998fac0 100644
--- a/Source/cmIncludeDirectoryCommand.cxx
+++ b/Source/cmIncludeDirectoryCommand.cxx
@@ -15,7 +15,7 @@
=========================================================================*/
#include "cmIncludeDirectoryCommand.h"
-#include "cmCacheManager.h"
+
// cmIncludeDirectoryCommand
bool cmIncludeDirectoryCommand::InitialPass(std::vector<std::string> const& argsIn)
{
diff --git a/Source/cmInstallFilesCommand.cxx b/Source/cmInstallFilesCommand.cxx
index d16354a..38e9fb4 100644
--- a/Source/cmInstallFilesCommand.cxx
+++ b/Source/cmInstallFilesCommand.cxx
@@ -15,7 +15,6 @@
=========================================================================*/
#include "cmInstallFilesCommand.h"
-#include "cmCacheManager.h"
// cmExecutableCommand
bool cmInstallFilesCommand::InitialPass(std::vector<std::string> const& argsIn)
diff --git a/Source/cmInstallProgramsCommand.cxx b/Source/cmInstallProgramsCommand.cxx
index 6089538..a750b9c 100644
--- a/Source/cmInstallProgramsCommand.cxx
+++ b/Source/cmInstallProgramsCommand.cxx
@@ -15,7 +15,6 @@
=========================================================================*/
#include "cmInstallProgramsCommand.h"
-#include "cmCacheManager.h"
// cmExecutableCommand
bool cmInstallProgramsCommand::InitialPass(std::vector<std::string> const& argsIn)
diff --git a/Source/cmInstallTargetsCommand.cxx b/Source/cmInstallTargetsCommand.cxx
index e7e1bf6..4cf40e2 100644
--- a/Source/cmInstallTargetsCommand.cxx
+++ b/Source/cmInstallTargetsCommand.cxx
@@ -15,7 +15,6 @@
=========================================================================*/
#include "cmInstallTargetsCommand.h"
-#include "cmCacheManager.h"
// cmExecutableCommand
bool cmInstallTargetsCommand::InitialPass(std::vector<std::string> const& argsIn)
diff --git a/Source/cmMacroCommand.cxx b/Source/cmMacroCommand.cxx
index b6b1194..2f9004a 100644
--- a/Source/cmMacroCommand.cxx
+++ b/Source/cmMacroCommand.cxx
@@ -15,7 +15,6 @@
=========================================================================*/
#include "cmMacroCommand.h"
-#include "cmCacheManager.h"
bool cmMacroFunctionBlocker::
IsFunctionBlocked(const char *name, const std::vector<std::string> &args,
diff --git a/Source/cmMessageCommand.cxx b/Source/cmMessageCommand.cxx
index 809cfe6..426b26a 100644
--- a/Source/cmMessageCommand.cxx
+++ b/Source/cmMessageCommand.cxx
@@ -15,7 +15,6 @@
=========================================================================*/
#include "cmMessageCommand.h"
-#include "cmCacheManager.h"
// cmLibraryCommand
bool cmMessageCommand::InitialPass(std::vector<std::string> const& argsIn)
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index d253810..de92dab 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -16,6 +16,7 @@
=========================================================================*/
#include "cmTarget.h"
#include "cmMakefile.h"
+#include "cmSourceFile.h"
#include <map>
#include <set>
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index cbd2dd6..30fd3ba 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -19,7 +19,7 @@
#include "cmStandardIncludes.h"
#include "cmCustomCommand.h"
-#include "cmSourceFile.h"
+class cmSourceFile;
/** \class cmTarget
* \brief Represent a library or executable target loaded from a makefile.
diff --git a/Source/cmWriteFileCommand.cxx b/Source/cmWriteFileCommand.cxx
index 8198713..b8f43d8 100644
--- a/Source/cmWriteFileCommand.cxx
+++ b/Source/cmWriteFileCommand.cxx
@@ -15,7 +15,6 @@
=========================================================================*/
#include "cmWriteFileCommand.h"
-#include "cmCacheManager.h"
// cmLibraryCommand
bool cmWriteFileCommand::InitialPass(std::vector<std::string> const& argsIn)