Commit ca2233e3 authored by Daniel Pfeifer's avatar Daniel Pfeifer

IWYU: Mark cmConfigure.h with pragma: keep

Also remove `#include "cmConfigure.h"` from most source files.
parent ebe436eb
......@@ -3,7 +3,7 @@
#ifndef cmWIXRichTextFormatWriter_h
#define cmWIXRichTextFormatWriter_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmsys/FStream.hxx"
#include <string>
......
......@@ -3,7 +3,7 @@
#ifndef cmCPack7zGenerator_h
#define cmCPack7zGenerator_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCPackArchiveGenerator.h"
#include "cmCPackGenerator.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCPackArchiveGenerator_h
#define cmCPackArchiveGenerator_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmArchiveWrite.h"
#include "cmCPackGenerator.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCPackBundleGenerator_h
#define cmCPackBundleGenerator_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include <string>
......
......@@ -3,7 +3,7 @@
#ifndef cmCPackComponentGroup_h
#define cmCPackComponentGroup_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include <string>
#include <vector>
......
......@@ -3,7 +3,7 @@
#ifndef cmCPackDebGenerator_h
#define cmCPackDebGenerator_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCPackGenerator.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCPackDragNDropGenerator_h
#define cmCPackDragNDropGenerator_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include <sstream>
#include <stddef.h>
......
......@@ -3,7 +3,7 @@
#ifndef cmCPackGenerator_h
#define cmCPackGenerator_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include <map>
#include <sstream>
......
......@@ -2,7 +2,6 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmCPackGeneratorFactory.h"
#include "cmConfigure.h"
#include <ostream>
#include <utility>
......
......@@ -2,7 +2,6 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmCPackLog.h"
#include "cmConfigure.h"
#include <iostream>
#include "cmGeneratedFileStream.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCPackNSISGenerator_h
#define cmCPackNSISGenerator_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCPackGenerator.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCPackOSXX11Generator_h
#define cmCPackOSXX11Generator_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include <string>
......
......@@ -3,7 +3,7 @@
#ifndef cmCPackPKGGenerator_h
#define cmCPackPKGGenerator_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include <set>
#include <sstream>
......
......@@ -3,7 +3,7 @@
#ifndef cmCPackPackageMakerGenerator_h
#define cmCPackPackageMakerGenerator_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCPackGenerator.h"
#include "cmCPackPKGGenerator.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCPackProductBuildGenerator_h
#define cmCPackProductBuildGenerator_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include <string>
......
......@@ -3,7 +3,7 @@
#ifndef cmCPackRPMGenerator_h
#define cmCPackRPMGenerator_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCPackGenerator.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCPackSTGZGenerator_h
#define cmCPackSTGZGenerator_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCPackGenerator.h"
#include "cmCPackTGZGenerator.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCPackTGZGenerator_h
#define cmCPackTGZGenerator_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCPackArchiveGenerator.h"
#include "cmCPackGenerator.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCPackTXZGenerator_h
#define cmCPackTXZGenerator_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCPackArchiveGenerator.h"
#include "cmCPackGenerator.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCPackTarBZip2Generator_h
#define cmCPackTarBZip2Generator_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCPackArchiveGenerator.h"
#include "cmCPackGenerator.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCPackTarCompressGenerator_h
#define cmCPackTarCompressGenerator_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCPackArchiveGenerator.h"
#include "cmCPackGenerator.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCPackZIPGenerator_h
#define cmCPackZIPGenerator_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCPackArchiveGenerator.h"
#include "cmCPackGenerator.h"
......
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmConfigure.h"
#include "cmsys/CommandLineArguments.hxx"
#include "cmsys/Encoding.hxx"
......
......@@ -3,7 +3,7 @@
#ifndef cmCTestBZR_h
#define cmCTestBZR_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCTestGlobalVC.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCTestBatchTestHandler_h
#define cmCTestBatchTestHandler_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCTestMultiProcessHandler.h"
#include "cmsys/FStream.hxx"
......
......@@ -3,7 +3,7 @@
#ifndef cmCTestBuildAndTestHandler_h
#define cmCTestBuildAndTestHandler_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCTestGenericHandler.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCTestBuildCommand_h
#define cmCTestBuildCommand_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCTestHandlerCommand.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCTestBuildHandler_h
#define cmCTestBuildHandler_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCTestGenericHandler.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCTestCVS_h
#define cmCTestCVS_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCTestVC.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCTestConfigureCommand_h
#define cmCTestConfigureCommand_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCTestHandlerCommand.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCTestConfigureHandler_h
#define cmCTestConfigureHandler_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCTestGenericHandler.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCTestCoverageCommand_h
#define cmCTestCoverageCommand_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCTestHandlerCommand.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCTestCoverageHandler_h
#define cmCTestCoverageHandler_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCTestGenericHandler.h"
......
......@@ -5,7 +5,6 @@
#include "cmCTest.h"
#include "cmSystemTools.h"
#include "cmConfigure.h"
#include <ostream>
#include <stdio.h>
......
......@@ -3,7 +3,7 @@
#ifndef cmCTestEmptyBinaryDirectoryCommand_h
#define cmCTestEmptyBinaryDirectoryCommand_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCTestCommand.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCTestGIT_h
#define cmCTestGIT_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCTestGlobalVC.h"
......
......@@ -2,7 +2,6 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmCTestGenericHandler.h"
#include "cmConfigure.h"
#include <sstream>
#include <utility>
......
......@@ -3,7 +3,7 @@
#ifndef cmCTestGlobalVC_h
#define cmCTestGlobalVC_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCTestVC.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCTestHG_h
#define cmCTestHG_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCTestGlobalVC.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCTestHandlerCommand_h
#define cmCTestHandlerCommand_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCTestCommand.h"
......
......@@ -2,8 +2,6 @@
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmCTestLaunch.h"
#include "cmConfigure.h"
#include "cmsys/FStream.hxx"
#include "cmsys/Process.h"
#include "cmsys/RegularExpression.hxx"
......
......@@ -3,7 +3,7 @@
#ifndef cmCTestMemCheckCommand_h
#define cmCTestMemCheckCommand_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCTestTestCommand.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCTestMemCheckHandler_h
#define cmCTestMemCheckHandler_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCTestTestHandler.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCTestP4_h
#define cmCTestP4_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCTestGlobalVC.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCTestReadCustomFilesCommand_h
#define cmCTestReadCustomFilesCommand_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCTestCommand.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCTestRunScriptCommand_h
#define cmCTestRunScriptCommand_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCTestCommand.h"
......
......@@ -9,7 +9,6 @@
#include "cmSystemTools.h"
#include "cmWorkingDirectory.h"
#include "cmConfigure.h"
#include "cm_curl.h"
#include "cm_zlib.h"
#include "cmsys/Base64.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCTestSVN_h
#define cmCTestSVN_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCTestGlobalVC.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCTestScriptHandler_h
#define cmCTestScriptHandler_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCTestGenericHandler.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCTestSleepCommand_h
#define cmCTestSleepCommand_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCTestCommand.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCTestStartCommand_h
#define cmCTestStartCommand_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCTestCommand.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCTestSubmitCommand_h
#define cmCTestSubmitCommand_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCTest.h"
#include "cmCTestHandlerCommand.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCTestSubmitHandler_h
#define cmCTestSubmitHandler_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCTest.h"
#include "cmCTestGenericHandler.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCTestTestCommand_h
#define cmCTestTestCommand_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCTestHandlerCommand.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCTestTestHandler_h
#define cmCTestTestHandler_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCTestGenericHandler.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCTestUpdateCommand_h
#define cmCTestUpdateCommand_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCTestHandlerCommand.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCTestUpdateHandler_h
#define cmCTestUpdateHandler_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCTestGenericHandler.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCTestUploadCommand_h
#define cmCTestUploadCommand_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCTest.h"
#include "cmCTestHandlerCommand.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCTestUploadHandler_h
#define cmCTestUploadHandler_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmCTest.h"
#include "cmCTestGenericHandler.h"
......
......@@ -3,7 +3,7 @@
#ifndef cmCTestVC_h
#define cmCTestVC_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include <iosfwd>
#include <string>
......
......@@ -3,7 +3,7 @@
#ifndef cmParseCacheCoverage_h
#define cmParseCacheCoverage_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmParseMumpsCoverage.h"
......
......@@ -5,7 +5,6 @@
#include "cmSystemTools.h"
#include "cmXMLParser.h"
#include "cmConfigure.h"
#include "cmsys/FStream.hxx"
#include <stdlib.h>
#include <string.h>
......
......@@ -3,7 +3,7 @@
#ifndef cmParseGTMCoverage_h
#define cmParseGTMCoverage_h
#include "cmConfigure.h"
#include "cmConfigure.h" // IWYU pragma: keep
#include "cmParseMumpsCoverage.h"
......
#include "cmParseJacocoCoverage.h"
#include "cmConfigure.h"
#include "cmCTest.h"
#include "cmCTestCoverageHandler.h"
#include "cmSystemTools.h"
......
......@@ -4,7 +4,6 @@
#include "cmCTestCoverageHandler.h"
#include "cmSystemTools.h"
#include "cmConfigure.h"
#include "cmsys/FStream.hxx"
#include "cmsys/Glob.hxx"
#include <map>
......