Include it only where used.
@@ -25,6 +25,7 @@
#include <cmsys/Glob.hxx>
#include <cmsys/FStream.hxx>
#include <algorithm>
+#include <list>
#if defined(__HAIKU__)
#include <FindDirectory.h>
@@ -14,6 +14,8 @@
#include "cmCTestVC.h"
+
/** \class cmCTestGlobalVC
* \brief Base class for handling globally-versioned trees
*
@@ -16,6 +16,7 @@
#include "cmSystemTools.h"
#include <stdlib.h>
#include <stack>
#include <float.h>
#include "cmCTestGlobalVC.h"
/** \class cmCTestSVN
* \brief Interaction with subversion command-line tool
@@ -13,6 +13,8 @@
#define cmCommands_h
#include "cmStandardIncludes.h"
class cmCommand;
/**
* Global function to return all compiled in commands.
@@ -15,6 +15,8 @@
#include "cmCommand.h"
#include "cmExpandedCommandArgument.h"
class cmConditionEvaluator
{
public:
class cmFileLockResult;
class cmFileLock;
@@ -38,6 +38,7 @@
#include <cmsys/auto_ptr.hxx>
#include <ctype.h> // for isspace
#include <assert.h>
#ifndef cmQtAutoGenerators_h
#define cmQtAutoGenerators_h
class cmGlobalGenerator;
class cmMakefile;
@@ -53,7 +53,6 @@
#include <functional>
#include <map>
-#include <list>
#include <set>
// include the "c" string header
@@ -103,6 +103,8 @@
#include <sys/stat.h> // struct stat
static bool cmakeCheckStampFile(const char* stampName);
static bool cmakeCheckStampList(const char* stampName);