mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-07 14:20:06 -06:00
iwyu: Fix more findings
This commit is contained in:
committed by
Brad King
parent
aeff60e44c
commit
7b4244aceb
@@ -2,6 +2,11 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmCPackIFWInstaller.h"
|
||||
|
||||
#include <cmConfigure.h>
|
||||
#include <sstream>
|
||||
#include <stddef.h>
|
||||
#include <utility>
|
||||
|
||||
#include "CPack/cmCPackGenerator.h"
|
||||
#include "CPack/cmCPackLog.h"
|
||||
#include "cmCPackIFWGenerator.h"
|
||||
@@ -12,9 +17,6 @@
|
||||
#include "cmXMLParser.h"
|
||||
#include "cmXMLWriter.h"
|
||||
|
||||
#include <cmConfigure.h>
|
||||
#include <utility>
|
||||
|
||||
#ifdef cmCPackLogger
|
||||
#undef cmCPackLogger
|
||||
#endif
|
||||
|
||||
@@ -2,17 +2,6 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmCPackGenerator.h"
|
||||
|
||||
#include "cmCPackComponentGroup.h"
|
||||
#include "cmCPackLog.h"
|
||||
#include "cmCryptoHash.h"
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmStateTypes.h"
|
||||
#include "cmXMLSafe.h"
|
||||
#include "cm_auto_ptr.hxx"
|
||||
#include "cmake.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmsys/FStream.hxx>
|
||||
#include <cmsys/Glob.hxx>
|
||||
@@ -20,6 +9,17 @@
|
||||
#include <list>
|
||||
#include <utility>
|
||||
|
||||
#include "cmCPackComponentGroup.h"
|
||||
#include "cmCPackLog.h"
|
||||
#include "cmCryptoHash.h"
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmStateSnapshot.h"
|
||||
#include "cmXMLSafe.h"
|
||||
#include "cm_auto_ptr.hxx"
|
||||
#include "cmake.h"
|
||||
|
||||
#if defined(__HAIKU__)
|
||||
#include <FindDirectory.h>
|
||||
#include <StorageDefs.h>
|
||||
|
||||
@@ -5,14 +5,15 @@
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmCPackComponentGroup.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
#include <map>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "cmCPackComponentGroup.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
class cmCPackGenerator;
|
||||
class cmCPackLog;
|
||||
class cmInstalledFile;
|
||||
class cmMakefile;
|
||||
|
||||
@@ -2,9 +2,15 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmCPackGeneratorFactory.h"
|
||||
|
||||
#include <cmConfigure.h>
|
||||
#include <ostream>
|
||||
#include <utility>
|
||||
|
||||
#include "IFW/cmCPackIFWGenerator.h"
|
||||
#include "cmAlgorithms.h"
|
||||
#include "cmCPack7zGenerator.h"
|
||||
#include "cmCPackGenerator.h"
|
||||
#include "cmCPackLog.h"
|
||||
#include "cmCPackNSISGenerator.h"
|
||||
#include "cmCPackSTGZGenerator.h"
|
||||
#include "cmCPackTGZGenerator.h"
|
||||
@@ -36,12 +42,6 @@
|
||||
#include "WiX/cmCPackWIXGenerator.h"
|
||||
#endif
|
||||
|
||||
#include "cmAlgorithms.h"
|
||||
#include "cmCPackLog.h"
|
||||
|
||||
#include <ostream>
|
||||
#include <utility>
|
||||
|
||||
cmCPackGeneratorFactory::cmCPackGeneratorFactory()
|
||||
{
|
||||
if (cmCPackTGZGenerator::CanGenerate()) {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#ifndef cmCPackGeneratorFactory_h
|
||||
#define cmCPackGeneratorFactory_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
@@ -2,11 +2,12 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmCPackLog.h"
|
||||
|
||||
#include <cmConfigure.h>
|
||||
#include <iostream>
|
||||
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
cmCPackLog::cmCPackLog()
|
||||
{
|
||||
this->Verbose = false;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#ifndef cmCPackLog_h
|
||||
#define cmCPackLog_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
|
||||
#include <ostream>
|
||||
#include <string.h>
|
||||
|
||||
@@ -2,17 +2,18 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmCPackRPMGenerator.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <ctype.h>
|
||||
#include <map>
|
||||
#include <ostream>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "cmCPackComponentGroup.h"
|
||||
#include "cmCPackGenerator.h"
|
||||
#include "cmCPackLog.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <map>
|
||||
#include <ostream>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
cmCPackRPMGenerator::cmCPackRPMGenerator()
|
||||
{
|
||||
}
|
||||
|
||||
@@ -2,10 +2,6 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmCPackSTGZGenerator.h"
|
||||
|
||||
#include "cmCPackGenerator.h"
|
||||
#include "cmCPackLog.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
#include <cmsys/FStream.hxx>
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
@@ -16,6 +12,10 @@
|
||||
// include sys/stat.h after sys/types.h
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include "cmCPackGenerator.h"
|
||||
#include "cmCPackLog.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
cmCPackSTGZGenerator::cmCPackSTGZGenerator()
|
||||
{
|
||||
}
|
||||
|
||||
@@ -2,6 +2,20 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include <cmsys/CommandLineArguments.hxx>
|
||||
#include <cmsys/Encoding.hxx>
|
||||
#include <iostream>
|
||||
#include <map>
|
||||
#include <sstream>
|
||||
#include <stddef.h>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#if defined(_WIN32) && defined(CMAKE_BUILD_WITH_CMAKE)
|
||||
#include <cmsys/ConsoleBuf.hxx>
|
||||
#endif
|
||||
|
||||
#include "cmCPackGenerator.h"
|
||||
#include "cmCPackGeneratorFactory.h"
|
||||
#include "cmCPackLog.h"
|
||||
@@ -10,24 +24,11 @@
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmState.h"
|
||||
#include "cmStateTypes.h"
|
||||
#include "cmStateSnapshot.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cm_auto_ptr.hxx"
|
||||
#include "cmake.h"
|
||||
|
||||
#include <cmsys/CommandLineArguments.hxx>
|
||||
#include <cmsys/Encoding.hxx>
|
||||
#if defined(_WIN32) && defined(CMAKE_BUILD_WITH_CMAKE)
|
||||
#include <cmsys/ConsoleBuf.hxx>
|
||||
#endif
|
||||
#include <iostream>
|
||||
#include <map>
|
||||
#include <sstream>
|
||||
#include <stddef.h>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
static const char* cmDocumentationName[][2] = {
|
||||
{ CM_NULLPTR, " cpack - Packaging driver provided by CMake." },
|
||||
{ CM_NULLPTR, CM_NULLPTR }
|
||||
|
||||
@@ -2,12 +2,6 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmCTestGIT.h"
|
||||
|
||||
#include "cmAlgorithms.h"
|
||||
#include "cmCTest.h"
|
||||
#include "cmCTestVC.h"
|
||||
#include "cmProcessTools.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
#include <cmsys/FStream.hxx>
|
||||
#include <cmsys/Process.h>
|
||||
#include <ctype.h>
|
||||
@@ -16,6 +10,13 @@
|
||||
#include <time.h>
|
||||
#include <vector>
|
||||
|
||||
#include "cmAlgorithms.h"
|
||||
#include "cmCTest.h"
|
||||
#include "cmCTestVC.h"
|
||||
#include "cmProcessOutput.h"
|
||||
#include "cmProcessTools.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
static unsigned int cmCTestGITVersion(unsigned int epic, unsigned int major,
|
||||
unsigned int minor, unsigned int fix)
|
||||
{
|
||||
|
||||
@@ -2,12 +2,13 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmCTestGenericHandler.h"
|
||||
|
||||
#include "cmCTest.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
#include <cmConfigure.h>
|
||||
#include <sstream>
|
||||
#include <utility>
|
||||
|
||||
#include "cmCTest.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
cmCTestGenericHandler::cmCTestGenericHandler()
|
||||
{
|
||||
this->HandlerVerbose = cmSystemTools::OUTPUT_NONE;
|
||||
|
||||
@@ -3,16 +3,16 @@
|
||||
#ifndef cmCTestGenericHandler_h
|
||||
#define cmCTestGenericHandler_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmCTest.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
|
||||
#include <map>
|
||||
#include <stddef.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "cmCTest.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
class cmCTestCommand;
|
||||
class cmGeneratedFileStream;
|
||||
class cmMakefile;
|
||||
|
||||
@@ -4,17 +4,6 @@
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmCryptoHash.h"
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmProcessOutput.h"
|
||||
#include "cmStateTypes.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmXMLWriter.h"
|
||||
#include "cmake.h"
|
||||
|
||||
#include <cm_auto_ptr.hxx>
|
||||
#include <cmsys/FStream.hxx>
|
||||
#include <cmsys/Process.h>
|
||||
#include <cmsys/RegularExpression.hxx>
|
||||
@@ -22,6 +11,17 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "cmCryptoHash.h"
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmProcessOutput.h"
|
||||
#include "cmStateSnapshot.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmXMLWriter.h"
|
||||
#include "cm_auto_ptr.hxx"
|
||||
#include "cmake.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <fcntl.h> // for _O_BINARY
|
||||
#include <io.h> // for _setmode
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmCTestMemCheckCommand.h"
|
||||
|
||||
#include <sstream>
|
||||
#include <vector>
|
||||
|
||||
#include "cmCTest.h"
|
||||
#include "cmCTestGenericHandler.h"
|
||||
#include "cmCTestMemCheckHandler.h"
|
||||
|
||||
@@ -5,11 +5,13 @@
|
||||
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
|
||||
#include <cmCTestTestHandler.h>
|
||||
#include <set>
|
||||
#include <stddef.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "cmCTestTestHandler.h"
|
||||
|
||||
class cmCTest;
|
||||
class cmProcess;
|
||||
|
||||
|
||||
@@ -2,6 +2,15 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmCTestScriptHandler.h"
|
||||
|
||||
#include <cmsys/Directory.hxx>
|
||||
#include <cmsys/Process.h>
|
||||
#include <map>
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <utility>
|
||||
|
||||
#include "cmCTest.h"
|
||||
#include "cmCTestBuildCommand.h"
|
||||
#include "cmCTestCommand.h"
|
||||
@@ -23,19 +32,10 @@
|
||||
#include "cmMakefile.h"
|
||||
#include "cmState.h"
|
||||
#include "cmStateDirectory.h"
|
||||
#include "cmStateTypes.h"
|
||||
#include "cmStateSnapshot.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmake.h"
|
||||
|
||||
#include <cmsys/Directory.hxx>
|
||||
#include <cmsys/Process.h>
|
||||
#include <map>
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <utility>
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
#else
|
||||
|
||||
@@ -2,18 +2,6 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmCTestSubmitHandler.h"
|
||||
|
||||
#include "cmCTest.h"
|
||||
#include "cmCTestCurl.h"
|
||||
#include "cmCTestScriptHandler.h"
|
||||
#include "cmCurl.h"
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmProcessOutput.h"
|
||||
#include "cmState.h"
|
||||
#include "cmStateTypes.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmXMLParser.h"
|
||||
#include "cmake.h"
|
||||
|
||||
#include <cm_curl.h>
|
||||
#include <cm_jsoncpp_reader.h>
|
||||
#include <cm_jsoncpp_value.h>
|
||||
@@ -22,6 +10,18 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "cmCTest.h"
|
||||
#include "cmCTestCurl.h"
|
||||
#include "cmCTestScriptHandler.h"
|
||||
#include "cmCurl.h"
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmProcessOutput.h"
|
||||
#include "cmState.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmThirdParty.h"
|
||||
#include "cmXMLParser.h"
|
||||
#include "cmake.h"
|
||||
|
||||
#if defined(CTEST_USE_XMLRPC)
|
||||
#include "cmVersion.h"
|
||||
#include <cm_xmlrpc.h>
|
||||
|
||||
@@ -2,21 +2,6 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmCTestTestHandler.h"
|
||||
|
||||
#include "cmCTest.h"
|
||||
#include "cmCTestBatchTestHandler.h"
|
||||
#include "cmCTestMultiProcessHandler.h"
|
||||
#include "cmCommand.h"
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmState.h"
|
||||
#include "cmStateTypes.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmXMLWriter.h"
|
||||
#include "cm_auto_ptr.hxx"
|
||||
#include "cm_utf8.h"
|
||||
#include "cmake.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmsys/Base64.h>
|
||||
#include <cmsys/Directory.hxx>
|
||||
@@ -32,6 +17,21 @@
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
|
||||
#include "cmCTest.h"
|
||||
#include "cmCTestBatchTestHandler.h"
|
||||
#include "cmCTestMultiProcessHandler.h"
|
||||
#include "cmCommand.h"
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmState.h"
|
||||
#include "cmStateSnapshot.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmXMLWriter.h"
|
||||
#include "cm_auto_ptr.hxx"
|
||||
#include "cm_utf8.h"
|
||||
#include "cmake.h"
|
||||
|
||||
class cmExecutionStatus;
|
||||
|
||||
class cmCTestSubdirCommand : public cmCommand
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmCTestUploadCommand.h"
|
||||
|
||||
#include <sstream>
|
||||
#include <vector>
|
||||
|
||||
#include "cmCTest.h"
|
||||
#include "cmCTestGenericHandler.h"
|
||||
#include "cmCTestUploadHandler.h"
|
||||
@@ -9,8 +12,6 @@
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmake.h"
|
||||
|
||||
#include <sstream>
|
||||
|
||||
cmCTestGenericHandler* cmCTestUploadCommand::InitializeHandler()
|
||||
{
|
||||
cmCTestGenericHandler* handler =
|
||||
|
||||
@@ -5,11 +5,12 @@
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmProcessTools.h"
|
||||
|
||||
#include <iosfwd>
|
||||
#include <string>
|
||||
|
||||
#include "cmProcessOutput.h"
|
||||
#include "cmProcessTools.h"
|
||||
|
||||
class cmCTest;
|
||||
class cmXMLWriter;
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#include <time.h>
|
||||
#include <vector>
|
||||
|
||||
class cmCTest;
|
||||
class cmCTestGenericHandler;
|
||||
class cmCTestStartCommand;
|
||||
class cmGeneratedFileStream;
|
||||
|
||||
@@ -3,12 +3,14 @@
|
||||
#ifndef cmCryptoHash_h
|
||||
#define cmCryptoHash_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
|
||||
#include <cm_auto_ptr.hxx>
|
||||
#include <stddef.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "cm_auto_ptr.hxx"
|
||||
|
||||
/**
|
||||
* @brief Abstract base class for cryptographic hash generators
|
||||
*/
|
||||
|
||||
@@ -2,15 +2,39 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmFileCommand.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <assert.h>
|
||||
#include <cm_kwiml.h>
|
||||
#include <cmsys/Directory.hxx>
|
||||
#include <cmsys/FStream.hxx>
|
||||
#include <cmsys/Glob.hxx>
|
||||
#include <cmsys/RegularExpression.hxx>
|
||||
#include <cmsys/String.hxx>
|
||||
#include <list>
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
// include sys/stat.h after sys/types.h
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include "cmAlgorithms.h"
|
||||
#include "cmCommandArgumentsHelper.h"
|
||||
#include "cmCryptoHash.h"
|
||||
#include "cmCryptoHash.h"
|
||||
#include "cmFileLockPool.h"
|
||||
#include "cmFileTimeComparison.h"
|
||||
#include "cmGeneratorExpression.h"
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmHexFileConverter.h"
|
||||
#include "cmInstallType.h"
|
||||
#include "cmListFileCache.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmPolicies.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmTimestamp.h"
|
||||
#include "cm_auto_ptr.hxx"
|
||||
#include "cmake.h"
|
||||
|
||||
#if defined(CMAKE_BUILD_WITH_CMAKE)
|
||||
@@ -18,20 +42,7 @@
|
||||
#include "cmFileLockResult.h"
|
||||
#endif
|
||||
|
||||
#undef GetCurrentDirectory
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
// include sys/stat.h after sys/types.h
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include <cm_auto_ptr.hxx>
|
||||
#include <cmsys/Directory.hxx>
|
||||
#include <cmsys/Encoding.hxx>
|
||||
#include <cmsys/FStream.hxx>
|
||||
#include <cmsys/Glob.hxx>
|
||||
#include <cmsys/RegularExpression.hxx>
|
||||
class cmSystemToolsFileTime;
|
||||
|
||||
// Table of permissions flags.
|
||||
#if defined(_WIN32) && !defined(__CYGWIN__)
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
|
||||
#include <stddef.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmFindPackageCommand.h"
|
||||
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "cmFindPackageCommand.h"
|
||||
|
||||
#define cmPassed(m) std::cout << "Passed: " << (m) << "\n"
|
||||
#define cmFailed(m) \
|
||||
|
||||
@@ -1,9 +1,14 @@
|
||||
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
|
||||
#include <iostream>
|
||||
#include <stddef.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
#define cmPassed(m) std::cout << "Passed: " << (m) << "\n"
|
||||
#define cmFailed(m) \
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmXMLSafe.h"
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
#include <string>
|
||||
|
||||
#include "cmXMLSafe.h"
|
||||
|
||||
struct test_pair
|
||||
{
|
||||
const char* in;
|
||||
|
||||
Reference in New Issue
Block a user