From 7ddb408621cf39288e0ab12ce8c93ba8132a64a0 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Fri, 27 Sep 2002 16:24:10 -0400 Subject: removed some includes --- Source/cmAbstractFilesCommand.cxx | 2 ++ Source/cmAddDependenciesCommand.cxx | 1 - Source/cmAddExecutableCommand.cxx | 1 - Source/cmAddLibraryCommand.cxx | 1 - Source/cmAddTestCommand.cxx | 1 - Source/cmAuxSourceDirectoryCommand.cxx | 1 + Source/cmCommand.h | 2 +- Source/cmCreateTestSourceList.cxx | 2 +- Source/cmElseCommand.cxx | 1 - Source/cmEnableTestingCommand.cxx | 1 - Source/cmEndForEachCommand.cxx | 1 - Source/cmEndIfCommand.cxx | 1 - Source/cmForEachCommand.cxx | 1 - Source/cmIfCommand.cxx | 1 - Source/cmIncludeDirectoryCommand.cxx | 2 +- Source/cmInstallFilesCommand.cxx | 1 - Source/cmInstallProgramsCommand.cxx | 1 - Source/cmInstallTargetsCommand.cxx | 1 - Source/cmMacroCommand.cxx | 1 - Source/cmMessageCommand.cxx | 1 - Source/cmTarget.cxx | 1 + Source/cmTarget.h | 2 +- Source/cmWriteFileCommand.cxx | 1 - 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 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 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 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 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 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 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 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 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 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 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 &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 &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 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 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 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 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 &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 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 #include 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 const& argsIn) -- cgit v0.12