Browse Source

make sure to include cmConfigure.h before cmStandardIncludes.h

Daniel Pfeifer 9 years ago
parent
commit
3838a0d5fb
72 changed files with 145 additions and 1 deletions
  1. 2 0
      Source/CPack/WiX/cmWIXRichTextFormatWriter.h
  2. 2 0
      Source/CPack/cmCPackComponentGroup.h
  3. 2 0
      Source/CursesDialog/cmCursesStandardIncludes.h
  4. 2 0
      Source/bindexplib.h
  5. 2 0
      Source/cmAlgorithms.h
  6. 2 0
      Source/cmCTest.h
  7. 2 0
      Source/cmCallVisualStudioMacro.h
  8. 2 0
      Source/cmCommandArgumentParserHelper.h
  9. 2 0
      Source/cmCommandArgumentsHelper.h
  10. 1 1
      Source/cmConfigure.cmake.h.in
  11. 2 0
      Source/cmCryptoHash.h
  12. 2 0
      Source/cmCurl.h
  13. 2 0
      Source/cmCustomCommand.h
  14. 2 0
      Source/cmCustomCommandGenerator.h
  15. 2 0
      Source/cmDefinitions.h
  16. 2 0
      Source/cmDepends.h
  17. 2 0
      Source/cmDependsJavaLexer.cxx
  18. 2 0
      Source/cmDependsJavaParserHelper.h
  19. 2 0
      Source/cmDocumentation.h
  20. 2 0
      Source/cmDocumentationFormatter.h
  21. 2 0
      Source/cmDynamicLoader.h
  22. 2 0
      Source/cmExecutionStatus.h
  23. 2 0
      Source/cmExpandedCommandArgument.h
  24. 2 0
      Source/cmExprLexer.cxx
  25. 2 0
      Source/cmExprParserHelper.h
  26. 2 0
      Source/cmExternalMakefileProjectGenerator.h
  27. 2 0
      Source/cmFileLock.h
  28. 2 0
      Source/cmFileLockPool.h
  29. 2 0
      Source/cmFileLockResult.h
  30. 2 0
      Source/cmFilePathUuid.h
  31. 2 0
      Source/cmFileTimeComparison.h
  32. 2 0
      Source/cmFortranParser.h
  33. 2 0
      Source/cmFunctionBlocker.h
  34. 2 0
      Source/cmGeneratedFileStream.h
  35. 2 0
      Source/cmGeneratorExpression.h
  36. 2 0
      Source/cmGeneratorExpressionDAGChecker.h
  37. 2 0
      Source/cmGeneratorExpressionLexer.h
  38. 2 0
      Source/cmGhsMultiGpj.h
  39. 2 0
      Source/cmGlobalGenerator.h
  40. 4 0
      Source/cmGlobalGeneratorFactory.h
  41. 2 0
      Source/cmGraphAdjacencyList.h
  42. 2 0
      Source/cmGraphVizWriter.h
  43. 2 0
      Source/cmHexFileConverter.h
  44. 2 0
      Source/cmIDEOptions.h
  45. 2 0
      Source/cmInstallCommandArguments.h
  46. 2 0
      Source/cmLinkedTree.h
  47. 2 0
      Source/cmListFileCache.h
  48. 2 0
      Source/cmLocalGenerator.h
  49. 2 0
      Source/cmLocale.h
  50. 2 0
      Source/cmNinjaTypes.h
  51. 2 0
      Source/cmOSXBundleGenerator.h
  52. 2 0
      Source/cmObject.h
  53. 2 0
      Source/cmOrderDirectories.h
  54. 2 0
      Source/cmOutputConverter.h
  55. 2 0
      Source/cmPathLabel.h
  56. 2 0
      Source/cmQtAutoGeneratorInitializer.h
  57. 2 0
      Source/cmQtAutoGenerators.h
  58. 2 0
      Source/cmRST.h
  59. 2 0
      Source/cmScriptGenerator.h
  60. 2 0
      Source/cmSearchPath.h
  61. 2 0
      Source/cmSourceFileLocation.h
  62. 2 0
      Source/cmSourceGroup.h
  63. 2 0
      Source/cmTargetDepend.h
  64. 2 0
      Source/cmTargetExport.h
  65. 2 0
      Source/cmTimestamp.h
  66. 2 0
      Source/cmVisualStudio10TargetGenerator.h
  67. 2 0
      Source/cmVisualStudioSlnData.h
  68. 2 0
      Source/cmVisualStudioSlnParser.h
  69. 2 0
      Source/cmVisualStudioWCEPlatformParser.h
  70. 2 0
      Source/cmXCodeObject.h
  71. 2 0
      Source/cmake.h
  72. 2 0
      Source/cmcmd.h

+ 2 - 0
Source/CPack/WiX/cmWIXRichTextFormatWriter.h

@@ -13,6 +13,8 @@
 #ifndef cmWIXRichTextFormatWriter_h
 #define cmWIXRichTextFormatWriter_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include <cmsys/FStream.hxx>

+ 2 - 0
Source/CPack/cmCPackComponentGroup.h

@@ -13,6 +13,8 @@
 #ifndef cmCPackComponentGroup_h
 #define cmCPackComponentGroup_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 class cmCPackComponentGroup;

+ 2 - 0
Source/CursesDialog/cmCursesStandardIncludes.h

@@ -12,6 +12,8 @@
 #ifndef cmCursesStandardIncludes_h
 #define cmCursesStandardIncludes_h
 
+#include <cmConfigure.h>
+
 #include "../cmStandardIncludes.h"
 
 #if defined(__sun__) && defined(__GNUC__)

+ 2 - 0
Source/bindexplib.h

@@ -13,6 +13,8 @@
 #ifndef bindexplib_h
 #define bindexplib_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 

+ 2 - 0
Source/cmAlgorithms.h

@@ -12,6 +12,8 @@
 #ifndef cmAlgorithms_h
 #define cmAlgorithms_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 inline bool cmHasLiteralPrefixImpl(const std::string& str1, const char* str2,

+ 2 - 0
Source/cmCTest.h

@@ -13,6 +13,8 @@
 #ifndef cmCTest_h
 #define cmCTest_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include "cmListFileCache.h"

+ 2 - 0
Source/cmCallVisualStudioMacro.h

@@ -12,6 +12,8 @@
 #ifndef cmCallVisualStudioMacro_h
 #define cmCallVisualStudioMacro_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 /** \class cmCallVisualStudioMacro

+ 2 - 0
Source/cmCommandArgumentParserHelper.h

@@ -12,6 +12,8 @@
 #ifndef cmCommandArgumentParserHelper_h
 #define cmCommandArgumentParserHelper_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #define YYSTYPE cmCommandArgumentParserHelper::ParserType

+ 2 - 0
Source/cmCommandArgumentsHelper.h

@@ -12,6 +12,8 @@
 #ifndef cmCommandArgumentsHelper_h
 #define cmCommandArgumentsHelper_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 class cmCommandArgumentsHelper;

+ 1 - 1
Source/cmConfigure.cmake.h.in

@@ -12,7 +12,7 @@
 #ifndef cmConfigure_h
 #define cmConfigure_h
 
-#include <cmsys/Configure.hxx>
+#include <cmsys/Configure.hxx> // IWYU pragma: keep
 
 #ifdef _MSC_VER
 #pragma warning(disable : 4786)

+ 2 - 0
Source/cmCryptoHash.h

@@ -12,6 +12,8 @@
 #ifndef cmCryptoHash_h
 #define cmCryptoHash_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include <cm_auto_ptr.hxx>

+ 2 - 0
Source/cmCurl.h

@@ -12,6 +12,8 @@
 #ifndef cmCurl_h
 #define cmCurl_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include "cm_curl.h"

+ 2 - 0
Source/cmCustomCommand.h

@@ -12,6 +12,8 @@
 #ifndef cmCustomCommand_h
 #define cmCustomCommand_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include "cmListFileCache.h"

+ 2 - 0
Source/cmCustomCommandGenerator.h

@@ -12,6 +12,8 @@
 #ifndef cmCustomCommandGenerator_h
 #define cmCustomCommandGenerator_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 class cmCustomCommand;

+ 2 - 0
Source/cmDefinitions.h

@@ -12,6 +12,8 @@
 #ifndef cmDefinitions_h
 #define cmDefinitions_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include "cmLinkedTree.h"

+ 2 - 0
Source/cmDepends.h

@@ -12,6 +12,8 @@
 #ifndef cmDepends_h
 #define cmDepends_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 class cmFileTimeComparison;

+ 2 - 0
Source/cmDependsJavaLexer.cxx

@@ -1,3 +1,5 @@
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 #line 2 "cmDependsJavaLexer.cxx"
 

+ 2 - 0
Source/cmDependsJavaParserHelper.h

@@ -12,6 +12,8 @@
 #ifndef cmDependsJavaParserHelper_h
 #define cmDependsJavaParserHelper_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #define YYSTYPE cmDependsJavaParserHelper::ParserType

+ 2 - 0
Source/cmDocumentation.h

@@ -12,6 +12,8 @@
 #ifndef _cmDocumentation_h
 #define _cmDocumentation_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include "cmDocumentationFormatter.h"

+ 2 - 0
Source/cmDocumentationFormatter.h

@@ -12,6 +12,8 @@
 #ifndef _cmDocumentationFormatter_h
 #define _cmDocumentationFormatter_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 /** This is just a helper class to make it build with MSVC 6.0.

+ 2 - 0
Source/cmDynamicLoader.h

@@ -17,6 +17,8 @@
 #ifndef cmDynamicLoader_h
 #define cmDynamicLoader_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include <cmsys/DynamicLoader.hxx>

+ 2 - 0
Source/cmExecutionStatus.h

@@ -12,6 +12,8 @@
 #ifndef cmExecutionStatus_h
 #define cmExecutionStatus_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 /** \class cmExecutionStatus

+ 2 - 0
Source/cmExpandedCommandArgument.h

@@ -12,6 +12,8 @@
 #ifndef cmExpandedCommandArgument_h
 #define cmExpandedCommandArgument_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 /** \class cmExpandedCommandArgument

+ 2 - 0
Source/cmExprLexer.cxx

@@ -1,3 +1,5 @@
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 #line 2 "/home/andy/vtk/CMake-bin/Source/cmExprLexer.cxx"
 

+ 2 - 0
Source/cmExprParserHelper.h

@@ -12,6 +12,8 @@
 #ifndef cmExprParserHelper_h
 #define cmExprParserHelper_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #define YYSTYPE cmExprParserHelper::ParserType

+ 2 - 0
Source/cmExternalMakefileProjectGenerator.h

@@ -12,6 +12,8 @@
 #ifndef cmExternalMakefileProjectGenerator_h
 #define cmExternalMakefileProjectGenerator_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include "cmDocumentation.h"

+ 2 - 0
Source/cmFileLock.h

@@ -13,6 +13,8 @@
 #ifndef cmFileLock_h
 #define cmFileLock_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #if defined(_WIN32)

+ 2 - 0
Source/cmFileLockPool.h

@@ -12,6 +12,8 @@
 #ifndef cmFileLockPool_h
 #define cmFileLockPool_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include <list>

+ 2 - 0
Source/cmFileLockResult.h

@@ -13,6 +13,8 @@
 #ifndef cmFileLockResult_h
 #define cmFileLockResult_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #if defined(_WIN32)

+ 2 - 0
Source/cmFilePathUuid.h

@@ -13,6 +13,8 @@
 #ifndef cmFilePathUuid_h
 #define cmFilePathUuid_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include <string>

+ 2 - 0
Source/cmFileTimeComparison.h

@@ -12,6 +12,8 @@
 #ifndef cmFileTimeComparison_h
 #define cmFileTimeComparison_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 class cmFileTimeComparisonInternal;

+ 2 - 0
Source/cmFortranParser.h

@@ -13,6 +13,8 @@
 #define cmFortranParser_h
 
 #if !defined(cmFortranLexer_cxx) && !defined(cmFortranParser_cxx)
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 #endif
 

+ 2 - 0
Source/cmFunctionBlocker.h

@@ -12,6 +12,8 @@
 #ifndef cmFunctionBlocker_h
 #define cmFunctionBlocker_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include "cmExecutionStatus.h"

+ 2 - 0
Source/cmGeneratedFileStream.h

@@ -12,6 +12,8 @@
 #ifndef cmGeneratedFileStream_h
 #define cmGeneratedFileStream_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include <cmsys/FStream.hxx>

+ 2 - 0
Source/cmGeneratorExpression.h

@@ -13,6 +13,8 @@
 #ifndef cmGeneratorExpression_h
 #define cmGeneratorExpression_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include "cmListFileCache.h"

+ 2 - 0
Source/cmGeneratorExpressionDAGChecker.h

@@ -12,6 +12,8 @@
 #ifndef cmGeneratorExpressionDAGChecker_h
 #define cmGeneratorExpressionDAGChecker_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include "cmGeneratorExpressionEvaluator.h"

+ 2 - 0
Source/cmGeneratorExpressionLexer.h

@@ -12,6 +12,8 @@
 #ifndef cmGeneratorExpressionLexer_h
 #define cmGeneratorExpressionLexer_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include <vector>

+ 2 - 0
Source/cmGhsMultiGpj.h

@@ -12,6 +12,8 @@
 #ifndef cmGhsMultiGpj_h
 #define cmGhsMultiGpj_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 class cmGeneratedFileStream;

+ 2 - 0
Source/cmGlobalGenerator.h

@@ -13,6 +13,8 @@
 #ifndef cmGlobalGenerator_h
 #define cmGlobalGenerator_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include "cmExportSetMap.h" // For cmExportSetMap

+ 4 - 0
Source/cmGlobalGeneratorFactory.h

@@ -13,6 +13,10 @@
 #ifndef cmGlobalGeneratorFactory_h
 #define cmGlobalGeneratorFactory_h
 
+#include <cmConfigure.h>
+
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 class cmake;

+ 2 - 0
Source/cmGraphAdjacencyList.h

@@ -12,6 +12,8 @@
 #ifndef cmGraphAdjacencyList_h
 #define cmGraphAdjacencyList_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 /**

+ 2 - 0
Source/cmGraphVizWriter.h

@@ -12,6 +12,8 @@
 #ifndef CMGRAPHVIZWRITER_H
 #define CMGRAPHVIZWRITER_H
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include "cmGeneratedFileStream.h"

+ 2 - 0
Source/cmHexFileConverter.h

@@ -12,6 +12,8 @@
 #ifndef cmHexFileConverter_h
 #define cmHexFileConverter_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 /** \class cmHexFileConverter

+ 2 - 0
Source/cmIDEOptions.h

@@ -12,6 +12,8 @@
 #ifndef cmIDEOptions_h
 #define cmIDEOptions_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include "cmIDEFlagTable.h"

+ 2 - 0
Source/cmInstallCommandArguments.h

@@ -13,6 +13,8 @@
 #ifndef cmInstallCommandArguments_h
 #define cmInstallCommandArguments_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include "cmCommandArgumentsHelper.h"

+ 2 - 0
Source/cmLinkedTree.h

@@ -12,6 +12,8 @@
 #ifndef cmLinkedTree_h
 #define cmLinkedTree_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include <assert.h>

+ 2 - 0
Source/cmListFileCache.h

@@ -12,6 +12,8 @@
 #ifndef cmListFileCache_h
 #define cmListFileCache_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include "cmState.h"

+ 2 - 0
Source/cmLocalGenerator.h

@@ -12,6 +12,8 @@
 #ifndef cmLocalGenerator_h
 #define cmLocalGenerator_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include "cmOutputConverter.h"

+ 2 - 0
Source/cmLocale.h

@@ -12,6 +12,8 @@
 #ifndef cmLocale_h
 #define cmLocale_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include <locale.h>

+ 2 - 0
Source/cmNinjaTypes.h

@@ -13,6 +13,8 @@
 #ifndef cmNinjaTypes_h
 #define cmNinjaTypes_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 typedef std::vector<std::string> cmNinjaDeps;

+ 2 - 0
Source/cmOSXBundleGenerator.h

@@ -12,6 +12,8 @@
 #ifndef cmOSXBundleGenerator_h
 #define cmOSXBundleGenerator_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include "cmSourceFile.h"

+ 2 - 0
Source/cmObject.h

@@ -12,6 +12,8 @@
 #ifndef cmObject_h
 #define cmObject_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 /** \class cmObject

+ 2 - 0
Source/cmOrderDirectories.h

@@ -12,6 +12,8 @@
 #ifndef cmOrderDirectories_h
 #define cmOrderDirectories_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include <cmsys/RegularExpression.hxx>

+ 2 - 0
Source/cmOutputConverter.h

@@ -12,6 +12,8 @@
 #ifndef cmOutputConverter_h
 #define cmOutputConverter_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include "cmGlobalGenerator.h"

+ 2 - 0
Source/cmPathLabel.h

@@ -12,6 +12,8 @@
 #ifndef cmPathLabel_h
 #define cmPathLabel_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 /** \class cmPathLabel

+ 2 - 0
Source/cmQtAutoGeneratorInitializer.h

@@ -14,6 +14,8 @@
 #ifndef cmQtAutoGeneratorInitializer_h
 #define cmQtAutoGeneratorInitializer_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include <map>

+ 2 - 0
Source/cmQtAutoGenerators.h

@@ -14,6 +14,8 @@
 #ifndef cmQtAutoGenerators_h
 #define cmQtAutoGenerators_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include <list>

+ 2 - 0
Source/cmRST.h

@@ -12,6 +12,8 @@
 #ifndef _cmRST_h
 #define _cmRST_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include <cmsys/RegularExpression.hxx>

+ 2 - 0
Source/cmScriptGenerator.h

@@ -12,6 +12,8 @@
 #ifndef cmScriptGenerator_h
 #define cmScriptGenerator_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 class cmScriptGeneratorIndent

+ 2 - 0
Source/cmSearchPath.h

@@ -12,6 +12,8 @@
 #ifndef cmSearchPath_h
 #define cmSearchPath_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 class cmFindCommon;

+ 2 - 0
Source/cmSourceFileLocation.h

@@ -12,6 +12,8 @@
 #ifndef cmSourceFileLocation_h
 #define cmSourceFileLocation_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 class cmMakefile;

+ 2 - 0
Source/cmSourceGroup.h

@@ -12,6 +12,8 @@
 #ifndef cmSourceGroup_h
 #define cmSourceGroup_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include <cmsys/RegularExpression.hxx>

+ 2 - 0
Source/cmTargetDepend.h

@@ -12,6 +12,8 @@
 #ifndef cmTargetDepend_h
 #define cmTargetDepend_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 class cmGeneratorTarget;

+ 2 - 0
Source/cmTargetExport.h

@@ -12,6 +12,8 @@
 #ifndef cmTargetExport_h
 #define cmTargetExport_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 class cmGeneratorTarget;

+ 2 - 0
Source/cmTimestamp.h

@@ -12,6 +12,8 @@
 #ifndef cmTimestamp_h
 #define cmTimestamp_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include <string>

+ 2 - 0
Source/cmVisualStudio10TargetGenerator.h

@@ -12,6 +12,8 @@
 #ifndef cmVisualStudioTargetGenerator_h
 #define cmVisualStudioTargetGenerator_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 class cmMakefile;

+ 2 - 0
Source/cmVisualStudioSlnData.h

@@ -12,6 +12,8 @@
 #ifndef cmVisualStudioSlnData_h
 #define cmVisualStudioSlnData_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 class cmSlnProjectEntry

+ 2 - 0
Source/cmVisualStudioSlnParser.h

@@ -12,6 +12,8 @@
 #ifndef cmVisualStudioSlnParser_h
 #define cmVisualStudioSlnParser_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include <bitset>

+ 2 - 0
Source/cmVisualStudioWCEPlatformParser.h

@@ -12,6 +12,8 @@
 #ifndef cmVisualStudioWCEPlatformParser_h
 #define cmVisualStudioWCEPlatformParser_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include "cmXMLParser.h"

+ 2 - 0
Source/cmXCodeObject.h

@@ -12,6 +12,8 @@
 #ifndef cmXCodeObject_h
 #define cmXCodeObject_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 class cmGeneratorTarget;

+ 2 - 0
Source/cmake.h

@@ -13,6 +13,8 @@
 #ifndef cmake_h
 #define cmake_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 #include "cmCacheManager.h"

+ 2 - 0
Source/cmcmd.h

@@ -13,6 +13,8 @@
 #ifndef cmcmd_h
 #define cmcmd_h
 
+#include <cmConfigure.h>
+
 #include "cmStandardIncludes.h"
 
 class cmcmd