diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-04-11 21:42:35 +0200 |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-04-11 22:35:20 +0200 |
commit | 5afac50f6852332698fbc9be4209f1c90a011d66 (patch) | |
tree | 3c8419b04eb2114818a57128216560815b36dfe3 | |
parent | ff4fa70c201236d5355d55c386cc04cb143bde10 (diff) | |
download | cmake-5afac50f6852332698fbc9be4209f1c90a011d66.tar.gz |
cmConfigure: Ensure separate include block in headers
Make sure that `#include <cmConfigure.h>` is followed by an empty line
in header files. This is necessary to make sure that changing <> to ""
does not affect the include ordering of clang-format.
Automate with:
git grep -l '#include <cmConfigure.h>' | grep -v '.cxx$' \
| xargs sed -i '/#include <cmConfigure.h>/ { N; N; s/\n\{1,2\}/\n\n/ }'
111 files changed, 111 insertions, 0 deletions
diff --git a/Source/CPack/cmCPackBundleGenerator.h b/Source/CPack/cmCPackBundleGenerator.h index c9200c135c..9794f27c24 100644 --- a/Source/CPack/cmCPackBundleGenerator.h +++ b/Source/CPack/cmCPackBundleGenerator.h @@ -4,6 +4,7 @@ #define cmCPackBundleGenerator_h #include <cmConfigure.h> + #include <string> #include "cmCPackDragNDropGenerator.h" diff --git a/Source/CPack/cmCPackDragNDropGenerator.h b/Source/CPack/cmCPackDragNDropGenerator.h index 876eab7a82..2304d9cb18 100644 --- a/Source/CPack/cmCPackDragNDropGenerator.h +++ b/Source/CPack/cmCPackDragNDropGenerator.h @@ -4,6 +4,7 @@ #define cmCPackDragNDropGenerator_h #include <cmConfigure.h> + #include <sstream> #include <stddef.h> #include <string> diff --git a/Source/CPack/cmCPackOSXX11Generator.h b/Source/CPack/cmCPackOSXX11Generator.h index 1918e210a7..6bbf7a4a5f 100644 --- a/Source/CPack/cmCPackOSXX11Generator.h +++ b/Source/CPack/cmCPackOSXX11Generator.h @@ -4,6 +4,7 @@ #define cmCPackOSXX11Generator_h #include <cmConfigure.h> + #include <string> #include "cmCPackGenerator.h" diff --git a/Source/CPack/cmCPackPKGGenerator.h b/Source/CPack/cmCPackPKGGenerator.h index 1e96a62b87..940a38e62a 100644 --- a/Source/CPack/cmCPackPKGGenerator.h +++ b/Source/CPack/cmCPackPKGGenerator.h @@ -4,6 +4,7 @@ #define cmCPackPKGGenerator_h #include <cmConfigure.h> + #include <set> #include <sstream> #include <string> diff --git a/Source/CPack/cmCPackProductBuildGenerator.h b/Source/CPack/cmCPackProductBuildGenerator.h index b6da470eeb..9f22cfecbd 100644 --- a/Source/CPack/cmCPackProductBuildGenerator.h +++ b/Source/CPack/cmCPackProductBuildGenerator.h @@ -4,6 +4,7 @@ #define cmCPackProductBuildGenerator_h #include <cmConfigure.h> + #include <string> #include "cmCPackGenerator.h" diff --git a/Source/cmAddCompileOptionsCommand.h b/Source/cmAddCompileOptionsCommand.h index 71009b4236..f94c741a5a 100644 --- a/Source/cmAddCompileOptionsCommand.h +++ b/Source/cmAddCompileOptionsCommand.h @@ -4,6 +4,7 @@ #define cmAddCompileOptionsCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmAddCustomCommandCommand.h b/Source/cmAddCustomCommandCommand.h index ea921630b7..aeb1344356 100644 --- a/Source/cmAddCustomCommandCommand.h +++ b/Source/cmAddCustomCommandCommand.h @@ -4,6 +4,7 @@ #define cmAddCustomCommandCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmAddCustomTargetCommand.h b/Source/cmAddCustomTargetCommand.h index b6792472fe..8ff790d154 100644 --- a/Source/cmAddCustomTargetCommand.h +++ b/Source/cmAddCustomTargetCommand.h @@ -4,6 +4,7 @@ #define cmAddCustomTargetCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmAddDefinitionsCommand.h b/Source/cmAddDefinitionsCommand.h index 735f8cc1e0..09781d4e08 100644 --- a/Source/cmAddDefinitionsCommand.h +++ b/Source/cmAddDefinitionsCommand.h @@ -4,6 +4,7 @@ #define cmAddDefinitionsCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmAddDependenciesCommand.h b/Source/cmAddDependenciesCommand.h index 8be546c6c4..e693f5d24b 100644 --- a/Source/cmAddDependenciesCommand.h +++ b/Source/cmAddDependenciesCommand.h @@ -4,6 +4,7 @@ #define cmDependenciessCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmAddExecutableCommand.h b/Source/cmAddExecutableCommand.h index 62583d8951..0760bba8ae 100644 --- a/Source/cmAddExecutableCommand.h +++ b/Source/cmAddExecutableCommand.h @@ -4,6 +4,7 @@ #define cmExecutablesCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmAddLibraryCommand.h b/Source/cmAddLibraryCommand.h index c23b2998fd..dceea21143 100644 --- a/Source/cmAddLibraryCommand.h +++ b/Source/cmAddLibraryCommand.h @@ -4,6 +4,7 @@ #define cmLibrarysCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmAddSubDirectoryCommand.h b/Source/cmAddSubDirectoryCommand.h index 85305e6d05..5da62a9649 100644 --- a/Source/cmAddSubDirectoryCommand.h +++ b/Source/cmAddSubDirectoryCommand.h @@ -4,6 +4,7 @@ #define cmAddSubDirectoryCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmAddTestCommand.h b/Source/cmAddTestCommand.h index 07eff6866b..97de3b2b78 100644 --- a/Source/cmAddTestCommand.h +++ b/Source/cmAddTestCommand.h @@ -4,6 +4,7 @@ #define cmAddTestCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmAuxSourceDirectoryCommand.h b/Source/cmAuxSourceDirectoryCommand.h index d99bf7bd89..36f291e8b4 100644 --- a/Source/cmAuxSourceDirectoryCommand.h +++ b/Source/cmAuxSourceDirectoryCommand.h @@ -4,6 +4,7 @@ #define cmAuxSourceDirectoryCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmBreakCommand.h b/Source/cmBreakCommand.h index 5113e180dc..6d5cf02008 100644 --- a/Source/cmBreakCommand.h +++ b/Source/cmBreakCommand.h @@ -4,6 +4,7 @@ #define cmBreakCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmBuildCommand.h b/Source/cmBuildCommand.h index 62f1fd3b5d..420a094515 100644 --- a/Source/cmBuildCommand.h +++ b/Source/cmBuildCommand.h @@ -4,6 +4,7 @@ #define cmBuildCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmBuildNameCommand.h b/Source/cmBuildNameCommand.h index 1e1f4b566f..43db4e84f0 100644 --- a/Source/cmBuildNameCommand.h +++ b/Source/cmBuildNameCommand.h @@ -4,6 +4,7 @@ #define cmBuildNameCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmCMakeHostSystemInformationCommand.h b/Source/cmCMakeHostSystemInformationCommand.h index 22f3d54dda..4d40e391ef 100644 --- a/Source/cmCMakeHostSystemInformationCommand.h +++ b/Source/cmCMakeHostSystemInformationCommand.h @@ -4,6 +4,7 @@ #define cmCMakeHostSystemInformationCommand_h #include <cmConfigure.h> + #include <stddef.h> #include <string> #include <vector> diff --git a/Source/cmCMakeMinimumRequired.h b/Source/cmCMakeMinimumRequired.h index 08a5c38e80..d6e0f68b2e 100644 --- a/Source/cmCMakeMinimumRequired.h +++ b/Source/cmCMakeMinimumRequired.h @@ -4,6 +4,7 @@ #define cmCMakeMinimumRequired_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmCMakePolicyCommand.h b/Source/cmCMakePolicyCommand.h index 409fc59be1..1394aa379e 100644 --- a/Source/cmCMakePolicyCommand.h +++ b/Source/cmCMakePolicyCommand.h @@ -4,6 +4,7 @@ #define cmCMakePolicyCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmCommand.h b/Source/cmCommand.h index 9107d85f16..c8c212c0d9 100644 --- a/Source/cmCommand.h +++ b/Source/cmCommand.h @@ -4,6 +4,7 @@ #define cmCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmCommonTargetGenerator.h b/Source/cmCommonTargetGenerator.h index 425ff910aa..6b6c9b8fed 100644 --- a/Source/cmCommonTargetGenerator.h +++ b/Source/cmCommonTargetGenerator.h @@ -4,6 +4,7 @@ #define cmCommonTargetGenerator_h #include <cmConfigure.h> // IWYU pragma: keep + #include <map> #include <string> #include <vector> diff --git a/Source/cmConfigureFileCommand.h b/Source/cmConfigureFileCommand.h index e558b85ff2..38ce46d77f 100644 --- a/Source/cmConfigureFileCommand.h +++ b/Source/cmConfigureFileCommand.h @@ -4,6 +4,7 @@ #define cmConfigureFileCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmContinueCommand.h b/Source/cmContinueCommand.h index c5b8919370..86bfea4656 100644 --- a/Source/cmContinueCommand.h +++ b/Source/cmContinueCommand.h @@ -4,6 +4,7 @@ #define cmContinueCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmDefinePropertyCommand.h b/Source/cmDefinePropertyCommand.h index 02e5b883fc..e29918b228 100644 --- a/Source/cmDefinePropertyCommand.h +++ b/Source/cmDefinePropertyCommand.h @@ -4,6 +4,7 @@ #define cmDefinesPropertyCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmDependsFortran.h b/Source/cmDependsFortran.h index 90b82d44e7..2c1a977706 100644 --- a/Source/cmDependsFortran.h +++ b/Source/cmDependsFortran.h @@ -4,6 +4,7 @@ #define cmFortran_h #include <cmConfigure.h> + #include <iosfwd> #include <set> #include <string> diff --git a/Source/cmDisallowedCommand.h b/Source/cmDisallowedCommand.h index 00b0183e13..21ea7a45ed 100644 --- a/Source/cmDisallowedCommand.h +++ b/Source/cmDisallowedCommand.h @@ -4,6 +4,7 @@ #define cmDisallowedCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmEnableLanguageCommand.h b/Source/cmEnableLanguageCommand.h index bafb79e832..d836c18e4e 100644 --- a/Source/cmEnableLanguageCommand.h +++ b/Source/cmEnableLanguageCommand.h @@ -4,6 +4,7 @@ #define cmEnableLanguageCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmEnableTestingCommand.h b/Source/cmEnableTestingCommand.h index 67cd237bbf..f7969fc0a7 100644 --- a/Source/cmEnableTestingCommand.h +++ b/Source/cmEnableTestingCommand.h @@ -4,6 +4,7 @@ #define cmEnableTestingCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmExecProgramCommand.h b/Source/cmExecProgramCommand.h index 58e948e559..90f9fd763c 100644 --- a/Source/cmExecProgramCommand.h +++ b/Source/cmExecProgramCommand.h @@ -4,6 +4,7 @@ #define cmExecProgramCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmExecuteProcessCommand.h b/Source/cmExecuteProcessCommand.h index 9ce4338c6c..1ed1419582 100644 --- a/Source/cmExecuteProcessCommand.h +++ b/Source/cmExecuteProcessCommand.h @@ -4,6 +4,7 @@ #define cmExecuteProcessCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmExportCommand.h b/Source/cmExportCommand.h index a0224d0c40..80839bcf1e 100644 --- a/Source/cmExportCommand.h +++ b/Source/cmExportCommand.h @@ -4,6 +4,7 @@ #define cmExportCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmExportLibraryDependenciesCommand.h b/Source/cmExportLibraryDependenciesCommand.h index be53349623..41f22f4c4a 100644 --- a/Source/cmExportLibraryDependenciesCommand.h +++ b/Source/cmExportLibraryDependenciesCommand.h @@ -4,6 +4,7 @@ #define cmExportLibraryDependenciesCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmFLTKWrapUICommand.h b/Source/cmFLTKWrapUICommand.h index 835f0a7ee8..c8311530a4 100644 --- a/Source/cmFLTKWrapUICommand.h +++ b/Source/cmFLTKWrapUICommand.h @@ -4,6 +4,7 @@ #define cmFLTKWrapUICommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmFileCommand.h b/Source/cmFileCommand.h index 2d82a23b2c..5a01d0dab9 100644 --- a/Source/cmFileCommand.h +++ b/Source/cmFileCommand.h @@ -4,6 +4,7 @@ #define cmFileCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmFindFileCommand.h b/Source/cmFindFileCommand.h index 5c94ebf237..364ef954c5 100644 --- a/Source/cmFindFileCommand.h +++ b/Source/cmFindFileCommand.h @@ -4,6 +4,7 @@ #define cmFindFileCommand_h #include <cmConfigure.h> + #include <string> #include "cmFindPathCommand.h" diff --git a/Source/cmFindLibraryCommand.h b/Source/cmFindLibraryCommand.h index aeff62971b..aa184cf98e 100644 --- a/Source/cmFindLibraryCommand.h +++ b/Source/cmFindLibraryCommand.h @@ -4,6 +4,7 @@ #define cmFindLibraryCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmFindPackageCommand.h b/Source/cmFindPackageCommand.h index 61a8dd6f44..18e128af88 100644 --- a/Source/cmFindPackageCommand.h +++ b/Source/cmFindPackageCommand.h @@ -4,6 +4,7 @@ #define cmFindPackageCommand_h #include <cmConfigure.h> + #include <cm_kwiml.h> #include <map> #include <set> diff --git a/Source/cmFindPathCommand.h b/Source/cmFindPathCommand.h index edeeb3a6f9..bc0ba7c9da 100644 --- a/Source/cmFindPathCommand.h +++ b/Source/cmFindPathCommand.h @@ -4,6 +4,7 @@ #define cmFindPathCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmFindProgramCommand.h b/Source/cmFindProgramCommand.h index dc17803f07..bb60442e44 100644 --- a/Source/cmFindProgramCommand.h +++ b/Source/cmFindProgramCommand.h @@ -4,6 +4,7 @@ #define cmFindProgramCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmForEachCommand.h b/Source/cmForEachCommand.h index 93c467620e..aea9d94b65 100644 --- a/Source/cmForEachCommand.h +++ b/Source/cmForEachCommand.h @@ -4,6 +4,7 @@ #define cmForEachCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmFunctionCommand.h b/Source/cmFunctionCommand.h index afea6f9c87..39b88679b8 100644 --- a/Source/cmFunctionCommand.h +++ b/Source/cmFunctionCommand.h @@ -4,6 +4,7 @@ #define cmFunctionCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmGetCMakePropertyCommand.h b/Source/cmGetCMakePropertyCommand.h index 41a51a4409..9e0f9bc4a0 100644 --- a/Source/cmGetCMakePropertyCommand.h +++ b/Source/cmGetCMakePropertyCommand.h @@ -4,6 +4,7 @@ #define cmGetCMakePropertyCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmGetDirectoryPropertyCommand.h b/Source/cmGetDirectoryPropertyCommand.h index 1ae3125395..2aaafa9cef 100644 --- a/Source/cmGetDirectoryPropertyCommand.h +++ b/Source/cmGetDirectoryPropertyCommand.h @@ -4,6 +4,7 @@ #define cmGetDirectoryPropertyCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmGetFilenameComponentCommand.h b/Source/cmGetFilenameComponentCommand.h index c0ad903a86..9c5c6163fa 100644 --- a/Source/cmGetFilenameComponentCommand.h +++ b/Source/cmGetFilenameComponentCommand.h @@ -4,6 +4,7 @@ #define cmGetFilenameComponentCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmGetPropertyCommand.h b/Source/cmGetPropertyCommand.h index f9a33acd8c..555e49b4d5 100644 --- a/Source/cmGetPropertyCommand.h +++ b/Source/cmGetPropertyCommand.h @@ -4,6 +4,7 @@ #define cmGetPropertyCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmGetSourceFilePropertyCommand.h b/Source/cmGetSourceFilePropertyCommand.h index 0f7185122a..0a8de30ac2 100644 --- a/Source/cmGetSourceFilePropertyCommand.h +++ b/Source/cmGetSourceFilePropertyCommand.h @@ -4,6 +4,7 @@ #define cmGetSourceFilePropertyCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmGetTargetPropertyCommand.h b/Source/cmGetTargetPropertyCommand.h index 32fe803c47..b88bf93de9 100644 --- a/Source/cmGetTargetPropertyCommand.h +++ b/Source/cmGetTargetPropertyCommand.h @@ -4,6 +4,7 @@ #define cmGetTargetPropertyCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmGetTestPropertyCommand.h b/Source/cmGetTestPropertyCommand.h index 0491cc8b07..b0e68c3f28 100644 --- a/Source/cmGetTestPropertyCommand.h +++ b/Source/cmGetTestPropertyCommand.h @@ -4,6 +4,7 @@ #define cmGetTestPropertyCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h index 172e414bb3..9e74a2209d 100644 --- a/Source/cmGlobalXCodeGenerator.h +++ b/Source/cmGlobalXCodeGenerator.h @@ -4,6 +4,7 @@ #define cmGlobalXCodeGenerator_h #include <cmConfigure.h> + #include <iosfwd> #include <map> #include <set> diff --git a/Source/cmIfCommand.h b/Source/cmIfCommand.h index f81db670f8..78db4df967 100644 --- a/Source/cmIfCommand.h +++ b/Source/cmIfCommand.h @@ -4,6 +4,7 @@ #define cmIfCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmIncludeCommand.h b/Source/cmIncludeCommand.h index 78edd43c22..55f1e613dd 100644 --- a/Source/cmIncludeCommand.h +++ b/Source/cmIncludeCommand.h @@ -4,6 +4,7 @@ #define cmIncludeCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmIncludeDirectoryCommand.h b/Source/cmIncludeDirectoryCommand.h index 287b5d3cd0..7241df58ed 100644 --- a/Source/cmIncludeDirectoryCommand.h +++ b/Source/cmIncludeDirectoryCommand.h @@ -4,6 +4,7 @@ #define cmIncludeDirectoryCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmIncludeExternalMSProjectCommand.h b/Source/cmIncludeExternalMSProjectCommand.h index 9fcf467c54..ba1a8bf98c 100644 --- a/Source/cmIncludeExternalMSProjectCommand.h +++ b/Source/cmIncludeExternalMSProjectCommand.h @@ -4,6 +4,7 @@ #define cmIncludeExternalMSProjectCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmIncludeRegularExpressionCommand.h b/Source/cmIncludeRegularExpressionCommand.h index c68d9f297e..a45d1777d6 100644 --- a/Source/cmIncludeRegularExpressionCommand.h +++ b/Source/cmIncludeRegularExpressionCommand.h @@ -4,6 +4,7 @@ #define cmIncludeRegularExpressionCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmInstallCommand.h b/Source/cmInstallCommand.h index 187a6ceae1..4a39cb7b17 100644 --- a/Source/cmInstallCommand.h +++ b/Source/cmInstallCommand.h @@ -4,6 +4,7 @@ #define cmInstallCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmInstallDirectoryGenerator.h b/Source/cmInstallDirectoryGenerator.h index 0518092c87..e6fae605bb 100644 --- a/Source/cmInstallDirectoryGenerator.h +++ b/Source/cmInstallDirectoryGenerator.h @@ -7,6 +7,7 @@ #include "cmScriptGenerator.h" #include <cmConfigure.h> + #include <iosfwd> #include <string> #include <vector> diff --git a/Source/cmInstallFilesCommand.h b/Source/cmInstallFilesCommand.h index c3e2919644..c1ce6fd730 100644 --- a/Source/cmInstallFilesCommand.h +++ b/Source/cmInstallFilesCommand.h @@ -4,6 +4,7 @@ #define cmInstallFilesCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmInstallProgramsCommand.h b/Source/cmInstallProgramsCommand.h index ca07a2f39e..6895dd7567 100644 --- a/Source/cmInstallProgramsCommand.h +++ b/Source/cmInstallProgramsCommand.h @@ -4,6 +4,7 @@ #define cmInstallProgramsCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmInstallTargetsCommand.h b/Source/cmInstallTargetsCommand.h index 150397d34f..7e8086c1bf 100644 --- a/Source/cmInstallTargetsCommand.h +++ b/Source/cmInstallTargetsCommand.h @@ -4,6 +4,7 @@ #define cmInstallTargetsCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmLinkDirectoriesCommand.h b/Source/cmLinkDirectoriesCommand.h index 387b3b94fc..6552c7a708 100644 --- a/Source/cmLinkDirectoriesCommand.h +++ b/Source/cmLinkDirectoriesCommand.h @@ -4,6 +4,7 @@ #define cmLinkDirectoriesCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmLinkLibrariesCommand.h b/Source/cmLinkLibrariesCommand.h index 66d7ec4f4f..ee6be32d0f 100644 --- a/Source/cmLinkLibrariesCommand.h +++ b/Source/cmLinkLibrariesCommand.h @@ -4,6 +4,7 @@ #define cmLinkLibrariesCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmListCommand.h b/Source/cmListCommand.h index e7413caa9a..a002643ae5 100644 --- a/Source/cmListCommand.h +++ b/Source/cmListCommand.h @@ -4,6 +4,7 @@ #define cmListCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmLoadCacheCommand.h b/Source/cmLoadCacheCommand.h index 539c74e62a..fc2b8b0447 100644 --- a/Source/cmLoadCacheCommand.h +++ b/Source/cmLoadCacheCommand.h @@ -4,6 +4,7 @@ #define cmLoadCacheCommand_h #include <cmConfigure.h> + #include <set> #include <string> #include <vector> diff --git a/Source/cmLoadCommandCommand.h b/Source/cmLoadCommandCommand.h index d16dfeaa23..60b61f81fd 100644 --- a/Source/cmLoadCommandCommand.h +++ b/Source/cmLoadCommandCommand.h @@ -4,6 +4,7 @@ #define cmLoadCommandCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmLocalXCodeGenerator.h b/Source/cmLocalXCodeGenerator.h index b4a8c6c05d..bd8e9e1ebf 100644 --- a/Source/cmLocalXCodeGenerator.h +++ b/Source/cmLocalXCodeGenerator.h @@ -4,6 +4,7 @@ #define cmLocalXCodeGenerator_h #include <cmConfigure.h> // IWYU pragma: keep + #include <map> #include <string> diff --git a/Source/cmMacroCommand.h b/Source/cmMacroCommand.h index acb42339ce..c5c1f463c0 100644 --- a/Source/cmMacroCommand.h +++ b/Source/cmMacroCommand.h @@ -4,6 +4,7 @@ #define cmMacroCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmMakeDirectoryCommand.h b/Source/cmMakeDirectoryCommand.h index d9cce6f735..05f5b474cd 100644 --- a/Source/cmMakeDirectoryCommand.h +++ b/Source/cmMakeDirectoryCommand.h @@ -4,6 +4,7 @@ #define cmMakeDirectoryCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmMarkAsAdvancedCommand.h b/Source/cmMarkAsAdvancedCommand.h index 26caa66249..d7d6fe987b 100644 --- a/Source/cmMarkAsAdvancedCommand.h +++ b/Source/cmMarkAsAdvancedCommand.h @@ -4,6 +4,7 @@ #define cmMarkAsAdvancedCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmMathCommand.h b/Source/cmMathCommand.h index 9b49b211b9..7a8e30a5d5 100644 --- a/Source/cmMathCommand.h +++ b/Source/cmMathCommand.h @@ -4,6 +4,7 @@ #define cmMathCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmMessageCommand.h b/Source/cmMessageCommand.h index a5656355b9..c816289953 100644 --- a/Source/cmMessageCommand.h +++ b/Source/cmMessageCommand.h @@ -4,6 +4,7 @@ #define cmMessageCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmOptionCommand.h b/Source/cmOptionCommand.h index 09567ffc2f..db5e4f378d 100644 --- a/Source/cmOptionCommand.h +++ b/Source/cmOptionCommand.h @@ -4,6 +4,7 @@ #define cmOptionCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmOutputRequiredFilesCommand.h b/Source/cmOutputRequiredFilesCommand.h index c4ce680252..eced181ca5 100644 --- a/Source/cmOutputRequiredFilesCommand.h +++ b/Source/cmOutputRequiredFilesCommand.h @@ -4,6 +4,7 @@ #define cmOutputRequiredFilesCommand_h #include <cmConfigure.h> + #include <set> #include <stdio.h> #include <string> diff --git a/Source/cmParseArgumentsCommand.h b/Source/cmParseArgumentsCommand.h index 079eadb82b..3b6c424f8b 100644 --- a/Source/cmParseArgumentsCommand.h +++ b/Source/cmParseArgumentsCommand.h @@ -4,6 +4,7 @@ #define cmParseArgumentsCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmProjectCommand.h b/Source/cmProjectCommand.h index cd92176c3a..5a718bce5a 100644 --- a/Source/cmProjectCommand.h +++ b/Source/cmProjectCommand.h @@ -4,6 +4,7 @@ #define cmProjectCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmQTWrapCPPCommand.h b/Source/cmQTWrapCPPCommand.h index 8eb5ff93eb..587b3baba6 100644 --- a/Source/cmQTWrapCPPCommand.h +++ b/Source/cmQTWrapCPPCommand.h @@ -4,6 +4,7 @@ #define cmQTWrapCPPCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmQTWrapUICommand.h b/Source/cmQTWrapUICommand.h index 876ddd529f..2980ee7b93 100644 --- a/Source/cmQTWrapUICommand.h +++ b/Source/cmQTWrapUICommand.h @@ -4,6 +4,7 @@ #define cmQTWrapUICommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmQtAutoGeneratorCommon.h b/Source/cmQtAutoGeneratorCommon.h index b004005361..2bb7e0d953 100644 --- a/Source/cmQtAutoGeneratorCommon.h +++ b/Source/cmQtAutoGeneratorCommon.h @@ -4,6 +4,7 @@ #define cmQtAutoGeneratorCommon_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmQtAutoGenerators.h b/Source/cmQtAutoGenerators.h index ee046deddd..35b233291f 100644 --- a/Source/cmQtAutoGenerators.h +++ b/Source/cmQtAutoGenerators.h @@ -4,6 +4,7 @@ #define cmQtAutoGenerators_h #include <cmConfigure.h> // IWYU pragma: keep + #include <cmFilePathChecksum.h> #include <cmsys/RegularExpression.hxx> diff --git a/Source/cmRemoveCommand.h b/Source/cmRemoveCommand.h index c935f28708..834a90d98f 100644 --- a/Source/cmRemoveCommand.h +++ b/Source/cmRemoveCommand.h @@ -4,6 +4,7 @@ #define cmRemoveCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmRemoveDefinitionsCommand.h b/Source/cmRemoveDefinitionsCommand.h index 2bcc12dd73..4b05a6a97b 100644 --- a/Source/cmRemoveDefinitionsCommand.h +++ b/Source/cmRemoveDefinitionsCommand.h @@ -4,6 +4,7 @@ #define cmRemoveDefinitionsCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmReturnCommand.h b/Source/cmReturnCommand.h index 9496d67a37..cc7fb61316 100644 --- a/Source/cmReturnCommand.h +++ b/Source/cmReturnCommand.h @@ -4,6 +4,7 @@ #define cmReturnCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmSeparateArgumentsCommand.h b/Source/cmSeparateArgumentsCommand.h index 1cbf56e79f..8b91a0c501 100644 --- a/Source/cmSeparateArgumentsCommand.h +++ b/Source/cmSeparateArgumentsCommand.h @@ -4,6 +4,7 @@ #define cmSeparateArgumentsCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmSetCommand.h b/Source/cmSetCommand.h index 190092acce..edf649334c 100644 --- a/Source/cmSetCommand.h +++ b/Source/cmSetCommand.h @@ -4,6 +4,7 @@ #define cmSetCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmSetDirectoryPropertiesCommand.h b/Source/cmSetDirectoryPropertiesCommand.h index 854ad4374a..d8c689486b 100644 --- a/Source/cmSetDirectoryPropertiesCommand.h +++ b/Source/cmSetDirectoryPropertiesCommand.h @@ -4,6 +4,7 @@ #define cmSetDirectoryPropertiesCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmSetPropertyCommand.h b/Source/cmSetPropertyCommand.h index fd7c922abb..a9804a3b65 100644 --- a/Source/cmSetPropertyCommand.h +++ b/Source/cmSetPropertyCommand.h @@ -4,6 +4,7 @@ #define cmSetsPropertiesCommand_h #include <cmConfigure.h> + #include <set> #include <string> #include <vector> diff --git a/Source/cmSetSourceFilesPropertiesCommand.h b/Source/cmSetSourceFilesPropertiesCommand.h index 8fa12c7806..199bed27d2 100644 --- a/Source/cmSetSourceFilesPropertiesCommand.h +++ b/Source/cmSetSourceFilesPropertiesCommand.h @@ -4,6 +4,7 @@ #define cmSetSourceFilesPropertiesCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmSetTargetPropertiesCommand.h b/Source/cmSetTargetPropertiesCommand.h index c3c0d06cfe..03e7c0b01b 100644 --- a/Source/cmSetTargetPropertiesCommand.h +++ b/Source/cmSetTargetPropertiesCommand.h @@ -4,6 +4,7 @@ #define cmSetTargetsPropertiesCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmSetTestsPropertiesCommand.h b/Source/cmSetTestsPropertiesCommand.h index 45aed792c9..2737ab5aeb 100644 --- a/Source/cmSetTestsPropertiesCommand.h +++ b/Source/cmSetTestsPropertiesCommand.h @@ -4,6 +4,7 @@ #define cmSetTestsPropertiesCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmSiteNameCommand.h b/Source/cmSiteNameCommand.h index 01023b96ee..c91fc41a34 100644 --- a/Source/cmSiteNameCommand.h +++ b/Source/cmSiteNameCommand.h @@ -4,6 +4,7 @@ #define cmSiteNameCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmSourceGroupCommand.h b/Source/cmSourceGroupCommand.h index 55490963e5..ef2f71a34e 100644 --- a/Source/cmSourceGroupCommand.h +++ b/Source/cmSourceGroupCommand.h @@ -4,6 +4,7 @@ #define cmSourceGroupCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmStringCommand.h b/Source/cmStringCommand.h index c63bc3f907..6791321e79 100644 --- a/Source/cmStringCommand.h +++ b/Source/cmStringCommand.h @@ -4,6 +4,7 @@ #define cmStringCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmSubdirCommand.h b/Source/cmSubdirCommand.h index ce1f876e84..1782bfff8a 100644 --- a/Source/cmSubdirCommand.h +++ b/Source/cmSubdirCommand.h @@ -4,6 +4,7 @@ #define cmSubdirCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmSubdirDependsCommand.h b/Source/cmSubdirDependsCommand.h index 80ff24f386..669603f303 100644 --- a/Source/cmSubdirDependsCommand.h +++ b/Source/cmSubdirDependsCommand.h @@ -4,6 +4,7 @@ #define cmSubdirDependsCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmTargetCompileDefinitionsCommand.h b/Source/cmTargetCompileDefinitionsCommand.h index caaf23b2a4..46b779fa07 100644 --- a/Source/cmTargetCompileDefinitionsCommand.h +++ b/Source/cmTargetCompileDefinitionsCommand.h @@ -4,6 +4,7 @@ #define cmTargetCompileDefinitionsCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmTargetCompileFeaturesCommand.h b/Source/cmTargetCompileFeaturesCommand.h index 01f2938fce..453238dc2d 100644 --- a/Source/cmTargetCompileFeaturesCommand.h +++ b/Source/cmTargetCompileFeaturesCommand.h @@ -4,6 +4,7 @@ #define cmTargetCompileFeaturesCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmTargetCompileOptionsCommand.h b/Source/cmTargetCompileOptionsCommand.h index 179013b92c..3943ddebe0 100644 --- a/Source/cmTargetCompileOptionsCommand.h +++ b/Source/cmTargetCompileOptionsCommand.h @@ -4,6 +4,7 @@ #define cmTargetCompileOptionsCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmTargetIncludeDirectoriesCommand.h b/Source/cmTargetIncludeDirectoriesCommand.h index bc6cf0deae..a9dfe3c25f 100644 --- a/Source/cmTargetIncludeDirectoriesCommand.h +++ b/Source/cmTargetIncludeDirectoriesCommand.h @@ -4,6 +4,7 @@ #define cmTargetIncludeDirectoriesCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmTargetLinkLibrariesCommand.h b/Source/cmTargetLinkLibrariesCommand.h index 762b48fc07..6343f3e57b 100644 --- a/Source/cmTargetLinkLibrariesCommand.h +++ b/Source/cmTargetLinkLibrariesCommand.h @@ -4,6 +4,7 @@ #define cmTargetLinkLibrariesCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmTargetSourcesCommand.h b/Source/cmTargetSourcesCommand.h index b1afac21ce..38bf31f039 100644 --- a/Source/cmTargetSourcesCommand.h +++ b/Source/cmTargetSourcesCommand.h @@ -4,6 +4,7 @@ #define cmTargetSourcesCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmTryCompileCommand.h b/Source/cmTryCompileCommand.h index 52a034591f..b2c386ce59 100644 --- a/Source/cmTryCompileCommand.h +++ b/Source/cmTryCompileCommand.h @@ -4,6 +4,7 @@ #define cmTryCompileCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmTryRunCommand.h b/Source/cmTryRunCommand.h index 8b44ac5a98..6cc74e10a4 100644 --- a/Source/cmTryRunCommand.h +++ b/Source/cmTryRunCommand.h @@ -4,6 +4,7 @@ #define cmTryRunCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmUnexpectedCommand.h b/Source/cmUnexpectedCommand.h index 897dfb6895..096937a30d 100644 --- a/Source/cmUnexpectedCommand.h +++ b/Source/cmUnexpectedCommand.h @@ -4,6 +4,7 @@ #define cmUnexpectedCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmUnsetCommand.h b/Source/cmUnsetCommand.h index 5b07202fca..cf1c7508a9 100644 --- a/Source/cmUnsetCommand.h +++ b/Source/cmUnsetCommand.h @@ -4,6 +4,7 @@ #define cmUnsetCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmUseMangledMesaCommand.h b/Source/cmUseMangledMesaCommand.h index 9a49f94a47..460ddd31ce 100644 --- a/Source/cmUseMangledMesaCommand.h +++ b/Source/cmUseMangledMesaCommand.h @@ -4,6 +4,7 @@ #define cmUseMangledMesaCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmUtilitySourceCommand.h b/Source/cmUtilitySourceCommand.h index 849b96695b..91e384ad8e 100644 --- a/Source/cmUtilitySourceCommand.h +++ b/Source/cmUtilitySourceCommand.h @@ -4,6 +4,7 @@ #define cmUtilitySourceCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmVariableRequiresCommand.h b/Source/cmVariableRequiresCommand.h index baf717c666..54e85c29ce 100644 --- a/Source/cmVariableRequiresCommand.h +++ b/Source/cmVariableRequiresCommand.h @@ -4,6 +4,7 @@ #define cmVariableRequiresCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmVariableWatchCommand.h b/Source/cmVariableWatchCommand.h index 919bac4ec0..79ab6b0cdb 100644 --- a/Source/cmVariableWatchCommand.h +++ b/Source/cmVariableWatchCommand.h @@ -4,6 +4,7 @@ #define cmVariableWatchCommand_h #include <cmConfigure.h> + #include <set> #include <string> #include <vector> diff --git a/Source/cmWhileCommand.h b/Source/cmWhileCommand.h index abd36b3293..99ba1a564c 100644 --- a/Source/cmWhileCommand.h +++ b/Source/cmWhileCommand.h @@ -4,6 +4,7 @@ #define cmWhileCommand_h #include <cmConfigure.h> + #include <string> #include <vector> diff --git a/Source/cmWriteFileCommand.h b/Source/cmWriteFileCommand.h index 73e6e2256a..c785eebdc8 100644 --- a/Source/cmWriteFileCommand.h +++ b/Source/cmWriteFileCommand.h @@ -4,6 +4,7 @@ #define cmWriteFileCommand_h #include <cmConfigure.h> + #include <string> #include <vector> |