diff options
author | Ken Martin <ken.martin@kitware.com> | 2002-09-27 16:24:10 -0400 |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2002-09-27 16:24:10 -0400 |
commit | 7ddb408621cf39288e0ab12ce8c93ba8132a64a0 (patch) | |
tree | da8adac69eee6024718b66419dcfdd2f803673af | |
parent | eb6bba34cd2fcef722f8db55d81beb6393e83744 (diff) | |
download | cmake-7ddb408621cf39288e0ab12ce8c93ba8132a64a0.tar.gz |
removed some includes
-rw-r--r-- | Source/cmAbstractFilesCommand.cxx | 2 | ||||
-rw-r--r-- | Source/cmAddDependenciesCommand.cxx | 1 | ||||
-rw-r--r-- | Source/cmAddExecutableCommand.cxx | 1 | ||||
-rw-r--r-- | Source/cmAddLibraryCommand.cxx | 1 | ||||
-rw-r--r-- | Source/cmAddTestCommand.cxx | 1 | ||||
-rw-r--r-- | Source/cmAuxSourceDirectoryCommand.cxx | 1 | ||||
-rw-r--r-- | Source/cmCommand.h | 2 | ||||
-rw-r--r-- | Source/cmCreateTestSourceList.cxx | 2 | ||||
-rw-r--r-- | Source/cmElseCommand.cxx | 1 | ||||
-rw-r--r-- | Source/cmEnableTestingCommand.cxx | 1 | ||||
-rw-r--r-- | Source/cmEndForEachCommand.cxx | 1 | ||||
-rw-r--r-- | Source/cmEndIfCommand.cxx | 1 | ||||
-rw-r--r-- | Source/cmForEachCommand.cxx | 1 | ||||
-rw-r--r-- | Source/cmIfCommand.cxx | 1 | ||||
-rw-r--r-- | Source/cmIncludeDirectoryCommand.cxx | 2 | ||||
-rw-r--r-- | Source/cmInstallFilesCommand.cxx | 1 | ||||
-rw-r--r-- | Source/cmInstallProgramsCommand.cxx | 1 | ||||
-rw-r--r-- | Source/cmInstallTargetsCommand.cxx | 1 | ||||
-rw-r--r-- | Source/cmMacroCommand.cxx | 1 | ||||
-rw-r--r-- | Source/cmMessageCommand.cxx | 1 | ||||
-rw-r--r-- | Source/cmTarget.cxx | 1 | ||||
-rw-r--r-- | Source/cmTarget.h | 2 | ||||
-rw-r--r-- | Source/cmWriteFileCommand.cxx | 1 |
23 files changed, 8 insertions, 20 deletions
diff --git a/Source/cmAbstractFilesCommand.cxx b/Source/cmAbstractFilesCommand.cxx index a23ce546be..4dd516daf7 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 161005e583..d2fe9115ef 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 c668b20038..2ff42c909c 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 baecbe374f..289e574d7c 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 ff4e3ba641..790a8cd5f1 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 6ebb0353e7..e1fafba0f2 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 e119027b6d..6c37b58902 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 a8e0c57f3c..8a201511ad 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 c9439758aa..7e9b23f38b 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 101b5238a9..20f1a36130 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 f32e914cb6..c2c6a05c9a 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 fb408a12c6..9b539c603d 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 c95c55829e..95956135ed 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 de5a09bea5..ffcd901889 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 f1d7ba9cef..998fac06f8 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 d16354a56d..38e9fb4199 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 6089538df7..a750b9cae1 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 e7e1bf6ed0..4cf40e2d59 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 b6b1194224..2f9004a19d 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 809cfe6fd0..426b26ae3b 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 d253810b16..de92dabb07 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 cbd2dd6c1c..30fd3baad2 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 8198713b9f..b8f43d8966 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) |