Browse Source

removed some includes

Ken Martin 23 years ago
parent
commit
7ddb408621

+ 2 - 0
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)

+ 0 - 1
Source/cmAddDependenciesCommand.cxx

@@ -15,7 +15,6 @@
 
 =========================================================================*/
 #include "cmAddDependenciesCommand.h"
-#include "cmCacheManager.h"
 
 // cmDependenciesCommand
 bool cmAddDependenciesCommand::InitialPass(std::vector<std::string> const& argsIn)

+ 0 - 1
Source/cmAddExecutableCommand.cxx

@@ -15,7 +15,6 @@
 
 =========================================================================*/
 #include "cmAddExecutableCommand.h"
-#include "cmCacheManager.h"
 
 // cmExecutableCommand
 bool cmAddExecutableCommand::InitialPass(std::vector<std::string> const& argsIn)

+ 0 - 1
Source/cmAddLibraryCommand.cxx

@@ -15,7 +15,6 @@
 
 =========================================================================*/
 #include "cmAddLibraryCommand.h"
-#include "cmCacheManager.h"
 
 // cmLibraryCommand
 bool cmAddLibraryCommand::InitialPass(std::vector<std::string> const& argsIn)

+ 0 - 1
Source/cmAddTestCommand.cxx

@@ -15,7 +15,6 @@
 
 =========================================================================*/
 #include "cmAddTestCommand.h"
-#include "cmCacheManager.h"
 
 // cmExecutableCommand
 bool cmAddTestCommand::InitialPass(std::vector<std::string> const& args)

+ 1 - 0
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)

+ 1 - 1
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.

+ 1 - 1
Source/cmCreateTestSourceList.cxx

@@ -15,7 +15,7 @@
 
 =========================================================================*/
 #include "cmCreateTestSourceList.h"
-
+#include "cmSourceFile.h"
 
 // cmCreateTestSourceList
 bool cmCreateTestSourceList::InitialPass(std::vector<std::string> const& argsIn)

+ 0 - 1
Source/cmElseCommand.cxx

@@ -15,7 +15,6 @@
 
 =========================================================================*/
 #include "cmElseCommand.h"
-#include "cmCacheManager.h"
 
 bool cmElseCommand::InitialPass(std::vector<std::string> const&)
 {

+ 0 - 1
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

+ 0 - 1
Source/cmEndForEachCommand.cxx

@@ -15,7 +15,6 @@
 
 =========================================================================*/
 #include "cmEndForEachCommand.h"
-#include "cmCacheManager.h"
 
 bool cmEndForEachCommand::InitialPass(std::vector<std::string> const& args)
 {

+ 0 - 1
Source/cmEndIfCommand.cxx

@@ -15,7 +15,6 @@
 
 =========================================================================*/
 #include "cmEndIfCommand.h"
-#include "cmCacheManager.h"
 
 bool cmEndIfCommand::InitialPass(std::vector<std::string> const&)
 {

+ 0 - 1
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, 

+ 0 - 1
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, 

+ 1 - 1
Source/cmIncludeDirectoryCommand.cxx

@@ -15,7 +15,7 @@
 
 =========================================================================*/
 #include "cmIncludeDirectoryCommand.h"
-#include "cmCacheManager.h"
+
 // cmIncludeDirectoryCommand
 bool cmIncludeDirectoryCommand::InitialPass(std::vector<std::string> const& argsIn)
 {

+ 0 - 1
Source/cmInstallFilesCommand.cxx

@@ -15,7 +15,6 @@
 
 =========================================================================*/
 #include "cmInstallFilesCommand.h"
-#include "cmCacheManager.h"
 
 // cmExecutableCommand
 bool cmInstallFilesCommand::InitialPass(std::vector<std::string> const& argsIn)

+ 0 - 1
Source/cmInstallProgramsCommand.cxx

@@ -15,7 +15,6 @@
 
 =========================================================================*/
 #include "cmInstallProgramsCommand.h"
-#include "cmCacheManager.h"
 
 // cmExecutableCommand
 bool cmInstallProgramsCommand::InitialPass(std::vector<std::string> const& argsIn)

+ 0 - 1
Source/cmInstallTargetsCommand.cxx

@@ -15,7 +15,6 @@
 
 =========================================================================*/
 #include "cmInstallTargetsCommand.h"
-#include "cmCacheManager.h"
 
 // cmExecutableCommand
 bool cmInstallTargetsCommand::InitialPass(std::vector<std::string> const& argsIn)

+ 0 - 1
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, 

+ 0 - 1
Source/cmMessageCommand.cxx

@@ -15,7 +15,6 @@
 
 =========================================================================*/
 #include "cmMessageCommand.h"
-#include "cmCacheManager.h"
 
 // cmLibraryCommand
 bool cmMessageCommand::InitialPass(std::vector<std::string> const& argsIn)

+ 1 - 0
Source/cmTarget.cxx

@@ -16,6 +16,7 @@
 =========================================================================*/
 #include "cmTarget.h"
 #include "cmMakefile.h"
+#include "cmSourceFile.h"
 
 #include <map>
 #include <set>

+ 1 - 1
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.

+ 0 - 1
Source/cmWriteFileCommand.cxx

@@ -15,7 +15,6 @@
 
 =========================================================================*/
 #include "cmWriteFileCommand.h"
-#include "cmCacheManager.h"
 
 // cmLibraryCommand
 bool cmWriteFileCommand::InitialPass(std::vector<std::string> const& argsIn)