mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-13 01:29:02 -05:00
Merge topic 'include-what-you-use'
d0c14dfbavoid including cmStandardIncludes.h66a70999iwyu: Fix VisualStudio specific issues7b4244aciwyu: Fix more findingsaeff60e4iwyu: Fix OSX specific issues
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -3,8 +3,10 @@
|
||||
#include <cmsys/FStream.hxx>
|
||||
#include <cmsys/Process.h>
|
||||
#include <cmsys/SystemTools.hxx>
|
||||
|
||||
#include <iostream>
|
||||
#include <stddef.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <CoreFoundation/CoreFoundation.h>
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
|
||||
#include <CPack/cmCPackComponentGroup.h>
|
||||
#include <CPack/cmCPackLog.h>
|
||||
#include <algorithm>
|
||||
#include <cmCryptoHash.h>
|
||||
#include <cmGeneratedFileStream.h>
|
||||
#include <cmInstalledFile.h>
|
||||
|
||||
@@ -5,9 +5,8 @@
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
|
||||
#include <cmsys/FStream.hxx>
|
||||
#include <string>
|
||||
|
||||
/** \class cmWIXRichtTextFormatWriter
|
||||
* \brief Helper class to generate Rich Text Format (RTF) documents
|
||||
|
||||
@@ -2,11 +2,12 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmCPackBundleGenerator.h"
|
||||
|
||||
#include <sstream>
|
||||
#include <vector>
|
||||
|
||||
#include "cmCPackLog.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
#include <cmsys/RegularExpression.hxx>
|
||||
|
||||
cmCPackBundleGenerator::cmCPackBundleGenerator()
|
||||
{
|
||||
}
|
||||
|
||||
@@ -3,7 +3,11 @@
|
||||
#ifndef cmCPackBundleGenerator_h
|
||||
#define cmCPackBundleGenerator_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
#include <string>
|
||||
|
||||
#include "cmCPackDragNDropGenerator.h"
|
||||
#include "cmCPackGenerator.h"
|
||||
|
||||
/** \class cmCPackBundleGenerator
|
||||
* \brief A generator for OSX bundles
|
||||
|
||||
@@ -2,14 +2,16 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmCPackDragNDropGenerator.h"
|
||||
|
||||
#include "cmCPackGenerator.h"
|
||||
#include "cmCPackLog.h"
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
#include <cmsys/FStream.hxx>
|
||||
#include <cmsys/RegularExpression.hxx>
|
||||
|
||||
#include <iomanip>
|
||||
#include <map>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <CoreFoundation/CoreFoundation.h>
|
||||
|
||||
|
||||
@@ -3,6 +3,12 @@
|
||||
#ifndef cmCPackDragNDropGenerator_h
|
||||
#define cmCPackDragNDropGenerator_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
#include <sstream>
|
||||
#include <stddef.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "cmCPackGenerator.h"
|
||||
|
||||
class cmGeneratedFileStream;
|
||||
|
||||
@@ -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,16 +2,13 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmCPackOSXX11Generator.h"
|
||||
|
||||
#include <sstream>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include "cmCPackGenerator.h"
|
||||
#include "cmCPackLog.h"
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmake.h"
|
||||
|
||||
#include <cmsys/Glob.hxx>
|
||||
#include <cmsys/SystemTools.hxx>
|
||||
#include <sys/stat.h>
|
||||
|
||||
cmCPackOSXX11Generator::cmCPackOSXX11Generator()
|
||||
{
|
||||
|
||||
@@ -3,6 +3,9 @@
|
||||
#ifndef cmCPackOSXX11Generator_h
|
||||
#define cmCPackOSXX11Generator_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
#include <string>
|
||||
|
||||
#include "cmCPackGenerator.h"
|
||||
|
||||
/** \class cmCPackOSXX11Generator
|
||||
|
||||
@@ -2,18 +2,13 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmCPackPKGGenerator.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "cmCPackComponentGroup.h"
|
||||
#include "cmCPackGenerator.h"
|
||||
#include "cmCPackLog.h"
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmLocalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmXMLWriter.h"
|
||||
#include "cmake.h"
|
||||
|
||||
#include <cmsys/Glob.hxx>
|
||||
#include <cmsys/SystemTools.hxx>
|
||||
|
||||
cmCPackPKGGenerator::cmCPackPKGGenerator()
|
||||
{
|
||||
|
||||
@@ -5,10 +5,12 @@
|
||||
|
||||
#include <cmConfigure.h>
|
||||
#include <set>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
|
||||
#include "cmCPackComponentGroup.h"
|
||||
#include "cmCPackGenerator.h"
|
||||
|
||||
class cmCPackComponent;
|
||||
class cmXMLWriter;
|
||||
|
||||
/** \class cmCPackPKGGenerator
|
||||
|
||||
@@ -2,20 +2,20 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmCPackPackageMakerGenerator.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <cmsys/FStream.hxx>
|
||||
#include <cmsys/RegularExpression.hxx>
|
||||
#include <map>
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string>
|
||||
|
||||
#include "cmCPackComponentGroup.h"
|
||||
#include "cmCPackLog.h"
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmXMLWriter.h"
|
||||
#include "cmake.h"
|
||||
|
||||
#include <cmsys/FStream.hxx>
|
||||
#include <cmsys/Glob.hxx>
|
||||
#include <cmsys/SystemTools.hxx>
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
static inline unsigned int getVersion(unsigned int major, unsigned int minor)
|
||||
{
|
||||
|
||||
@@ -3,6 +3,9 @@
|
||||
#ifndef cmCPackPackageMakerGenerator_h
|
||||
#define cmCPackPackageMakerGenerator_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmCPackGenerator.h"
|
||||
#include "cmCPackPKGGenerator.h"
|
||||
|
||||
class cmCPackComponent;
|
||||
|
||||
@@ -2,17 +2,14 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmCPackProductBuildGenerator.h"
|
||||
|
||||
#include <map>
|
||||
#include <sstream>
|
||||
#include <stddef.h>
|
||||
|
||||
#include "cmCPackComponentGroup.h"
|
||||
#include "cmCPackLog.h"
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmLocalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmake.h"
|
||||
|
||||
#include <cmsys/Glob.hxx>
|
||||
#include <cmsys/SystemTools.hxx>
|
||||
|
||||
cmCPackProductBuildGenerator::cmCPackProductBuildGenerator()
|
||||
{
|
||||
|
||||
@@ -3,6 +3,10 @@
|
||||
#ifndef cmCPackProductBuildGenerator_h
|
||||
#define cmCPackProductBuildGenerator_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
#include <string>
|
||||
|
||||
#include "cmCPackGenerator.h"
|
||||
#include "cmCPackPKGGenerator.h"
|
||||
|
||||
class cmCPackComponent;
|
||||
|
||||
@@ -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()
|
||||
{
|
||||
}
|
||||
|
||||
+15
-14
@@ -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;
|
||||
|
||||
|
||||
@@ -62,11 +62,10 @@
|
||||
*----------------------------------------------------------------------
|
||||
*/
|
||||
#include "bindexplib.h"
|
||||
|
||||
#include <cmsys/Encoding.hxx>
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include <stdio.h>
|
||||
#include <string>
|
||||
#include <windows.h>
|
||||
|
||||
typedef struct cmANON_OBJECT_HEADER_BIGOBJ {
|
||||
|
||||
+3
-2
@@ -5,8 +5,9 @@
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
|
||||
#include <set>
|
||||
#include <stdio.h>
|
||||
#include <string>
|
||||
|
||||
class bindexplib
|
||||
{
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#include <time.h>
|
||||
#include <vector>
|
||||
|
||||
class cmCTest;
|
||||
class cmCTestGenericHandler;
|
||||
class cmCTestStartCommand;
|
||||
class cmGeneratedFileStream;
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmCallVisualStudioMacro.h"
|
||||
|
||||
#include <sstream>
|
||||
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
#include <string>
|
||||
|
||||
/** \class cmCallVisualStudioMacro
|
||||
* \brief Control class for communicating with CMake's Visual Studio macros
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
+26
-15
@@ -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,8 +5,6 @@
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
|
||||
class cmGeneratedFileStream;
|
||||
|
||||
class GhsMultiGpj
|
||||
|
||||
@@ -2,14 +2,16 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmGlobalGhsMultiGenerator.h"
|
||||
|
||||
#include <cmsys/SystemTools.hxx>
|
||||
|
||||
#include "cmAlgorithms.h"
|
||||
#include "cmDocumentationEntry.h"
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmGeneratorTarget.h"
|
||||
#include "cmGhsMultiTargetGenerator.h"
|
||||
#include "cmLocalGhsMultiGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmVersion.h"
|
||||
#include <cmAlgorithms.h>
|
||||
#include <cmsys/SystemTools.hxx>
|
||||
|
||||
const char* cmGlobalGhsMultiGenerator::FILE_EXTENSION = ".gpj";
|
||||
const char* cmGlobalGhsMultiGenerator::DEFAULT_MAKE_PROGRAM = "gbuild";
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "windows.h" // this must be first to define GetCurrentDirectory
|
||||
|
||||
#include "cmGlobalVisualStudio10Generator.h"
|
||||
|
||||
#include "cmAlgorithms.h"
|
||||
#include "cmDocumentationEntry.h"
|
||||
#include "cmGeneratorTarget.h"
|
||||
#include "cmLocalVisualStudio10Generator.h"
|
||||
#include "cmMakefile.h"
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#include "cmGlobalVisualStudio11Generator.h"
|
||||
|
||||
#include "cmAlgorithms.h"
|
||||
#include "cmDocumentationEntry.h"
|
||||
#include "cmLocalVisualStudio10Generator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmVS11CLFlagTable.h"
|
||||
|
||||
@@ -3,7 +3,18 @@
|
||||
#ifndef cmGlobalVisualStudio11Generator_h
|
||||
#define cmGlobalVisualStudio11Generator_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include <iosfwd>
|
||||
#include <set>
|
||||
#include <string>
|
||||
|
||||
#include "cmGlobalVisualStudio10Generator.h"
|
||||
#include "cmStateTypes.h"
|
||||
|
||||
class cmGlobalGeneratorFactory;
|
||||
class cmMakefile;
|
||||
class cmake;
|
||||
|
||||
/** \class cmGlobalVisualStudio11Generator */
|
||||
class cmGlobalVisualStudio11Generator : public cmGlobalVisualStudio10Generator
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#include "cmGlobalVisualStudio12Generator.h"
|
||||
|
||||
#include "cmAlgorithms.h"
|
||||
#include "cmDocumentationEntry.h"
|
||||
#include "cmLocalVisualStudio10Generator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmVS12CLFlagTable.h"
|
||||
|
||||
@@ -3,8 +3,17 @@
|
||||
#ifndef cmGlobalVisualStudio12Generator_h
|
||||
#define cmGlobalVisualStudio12Generator_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include <iosfwd>
|
||||
#include <string>
|
||||
|
||||
#include "cmGlobalVisualStudio11Generator.h"
|
||||
|
||||
class cmGlobalGeneratorFactory;
|
||||
class cmMakefile;
|
||||
class cmake;
|
||||
|
||||
/** \class cmGlobalVisualStudio12Generator */
|
||||
class cmGlobalVisualStudio12Generator : public cmGlobalVisualStudio11Generator
|
||||
{
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#include "cmGlobalVisualStudio14Generator.h"
|
||||
|
||||
#include "cmAlgorithms.h"
|
||||
#include "cmDocumentationEntry.h"
|
||||
#include "cmLocalVisualStudio10Generator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmVS140CLFlagTable.h"
|
||||
|
||||
@@ -3,8 +3,17 @@
|
||||
#ifndef cmGlobalVisualStudio14Generator_h
|
||||
#define cmGlobalVisualStudio14Generator_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include <iosfwd>
|
||||
#include <string>
|
||||
|
||||
#include "cmGlobalVisualStudio12Generator.h"
|
||||
|
||||
class cmGlobalGeneratorFactory;
|
||||
class cmMakefile;
|
||||
class cmake;
|
||||
|
||||
/** \class cmGlobalVisualStudio14Generator */
|
||||
class cmGlobalVisualStudio14Generator : public cmGlobalVisualStudio12Generator
|
||||
{
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#include "cmGlobalVisualStudio15Generator.h"
|
||||
|
||||
#include "cmAlgorithms.h"
|
||||
#include "cmDocumentationEntry.h"
|
||||
#include "cmLocalVisualStudio10Generator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmVS141CLFlagTable.h"
|
||||
|
||||
@@ -3,8 +3,16 @@
|
||||
#ifndef cmGlobalVisualStudio15Generator_h
|
||||
#define cmGlobalVisualStudio15Generator_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include <iosfwd>
|
||||
#include <string>
|
||||
|
||||
#include "cmGlobalVisualStudio14Generator.h"
|
||||
|
||||
class cmGlobalGeneratorFactory;
|
||||
class cmake;
|
||||
|
||||
/** \class cmGlobalVisualStudio15Generator */
|
||||
class cmGlobalVisualStudio15Generator : public cmGlobalVisualStudio14Generator
|
||||
{
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "windows.h" // this must be first to define GetCurrentDirectory
|
||||
|
||||
#include "cmGlobalVisualStudio71Generator.h"
|
||||
|
||||
#include "cmDocumentationEntry.h"
|
||||
#include "cmGeneratorTarget.h"
|
||||
#include "cmLocalVisualStudio7Generator.h"
|
||||
#include "cmMakefile.h"
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "windows.h" // this must be first to define GetCurrentDirectory
|
||||
|
||||
#include "cmGlobalVisualStudio8Generator.h"
|
||||
|
||||
#include "cmDocumentationEntry.h"
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmGeneratorTarget.h"
|
||||
#include "cmLocalVisualStudio7Generator.h"
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "windows.h" // this must be first to define GetCurrentDirectory
|
||||
|
||||
#include "cmGlobalVisualStudio9Generator.h"
|
||||
|
||||
#include "cmDocumentationEntry.h"
|
||||
#include "cmLocalVisualStudio7Generator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmVisualStudioWCEPlatformParser.h"
|
||||
|
||||
@@ -3,6 +3,9 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmGlobalVisualStudioGenerator.h"
|
||||
|
||||
#include <cmsys/Encoding.hxx>
|
||||
#include <iostream>
|
||||
|
||||
#include "cmAlgorithms.h"
|
||||
#include "cmCallVisualStudioMacro.h"
|
||||
#include "cmGeneratedFileStream.h"
|
||||
@@ -12,7 +15,6 @@
|
||||
#include "cmSourceFile.h"
|
||||
#include "cmState.h"
|
||||
#include "cmTarget.h"
|
||||
#include <cmsys/Encoding.hxx>
|
||||
|
||||
cmGlobalVisualStudioGenerator::cmGlobalVisualStudioGenerator(cmake* cm)
|
||||
: cmGlobalGenerator(cm)
|
||||
|
||||
@@ -3,7 +3,22 @@
|
||||
#ifndef cmGlobalVisualStudioGenerator_h
|
||||
#define cmGlobalVisualStudioGenerator_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include <iosfwd>
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmTargetDepend.h"
|
||||
|
||||
class cmCustomCommand;
|
||||
class cmGeneratorTarget;
|
||||
class cmLocalGenerator;
|
||||
class cmMakefile;
|
||||
class cmake;
|
||||
|
||||
/** \class cmGlobalVisualStudioGenerator
|
||||
* \brief Base class for global Visual Studio generators.
|
||||
|
||||
@@ -2,20 +2,35 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmGlobalXCodeGenerator.h"
|
||||
|
||||
#include "cmAlgorithms.h"
|
||||
#include <assert.h>
|
||||
#include <cmsys/RegularExpression.hxx>
|
||||
#include <iomanip>
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "cmComputeLinkInformation.h"
|
||||
#include "cmCustomCommandGenerator.h"
|
||||
#include "cmDocumentationEntry.h"
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmGeneratorExpression.h"
|
||||
#include "cmGeneratorTarget.h"
|
||||
#include "cmGlobalGeneratorFactory.h"
|
||||
#include "cmLocalGenerator.h"
|
||||
#include "cmLocalXCodeGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmOutputConverter.h"
|
||||
#include "cmSourceFile.h"
|
||||
#include "cmSourceGroup.h"
|
||||
#include "cmStateTypes.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmTarget.h"
|
||||
#include "cmXCode21Object.h"
|
||||
#include "cmXCodeObject.h"
|
||||
#include "cm_auto_ptr.hxx"
|
||||
#include "cmake.h"
|
||||
|
||||
#include <cm_auto_ptr.hxx>
|
||||
struct cmLinkImplementation;
|
||||
|
||||
#if defined(CMAKE_BUILD_WITH_CMAKE)
|
||||
#include "cmXMLParser.h"
|
||||
|
||||
@@ -3,13 +3,25 @@
|
||||
#ifndef cmGlobalXCodeGenerator_h
|
||||
#define cmGlobalXCodeGenerator_h
|
||||
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include <cmConfigure.h>
|
||||
#include <iosfwd>
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "cmCustomCommand.h"
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmXCodeObject.h"
|
||||
|
||||
class cmCustomCommand;
|
||||
class cmGeneratorTarget;
|
||||
class cmGlobalGeneratorFactory;
|
||||
class cmLocalGenerator;
|
||||
class cmMakefile;
|
||||
class cmSourceFile;
|
||||
class cmSourceGroup;
|
||||
class cmake;
|
||||
struct cmDocumentationEntry;
|
||||
|
||||
/** \class cmGlobalXCodeGenerator
|
||||
* \brief Write a Unix makefiles.
|
||||
|
||||
@@ -2,9 +2,12 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmIDEOptions.h"
|
||||
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
#include <cmsys/String.h>
|
||||
#include <iterator>
|
||||
#include <string.h>
|
||||
|
||||
#include "cmIDEFlagTable.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
cmIDEOptions::cmIDEOptions()
|
||||
{
|
||||
|
||||
@@ -5,9 +5,11 @@
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "cmIDEFlagTable.h"
|
||||
struct cmIDEFlagTable;
|
||||
|
||||
/** \class cmIDEOptions
|
||||
* \brief Superclass for IDE option processing
|
||||
|
||||
@@ -3,8 +3,15 @@
|
||||
#ifndef cmLocalVisualStudio10Generator_h
|
||||
#define cmLocalVisualStudio10Generator_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "cmLocalVisualStudio7Generator.h"
|
||||
|
||||
class cmGlobalGenerator;
|
||||
class cmMakefile;
|
||||
|
||||
/** \class cmLocalVisualStudio10Generator
|
||||
* \brief Write Visual Studio 10 project files.
|
||||
*
|
||||
|
||||
@@ -3,17 +3,23 @@
|
||||
#ifndef cmLocalVisualStudio7Generator_h
|
||||
#define cmLocalVisualStudio7Generator_h
|
||||
|
||||
#include "cmLocalVisualStudioGenerator.h"
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include <iosfwd>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "cmLocalVisualStudioGenerator.h"
|
||||
#include "cmVisualStudioGeneratorOptions.h"
|
||||
|
||||
class cmSourceFile;
|
||||
class cmCustomCommand;
|
||||
class cmSourceGroup;
|
||||
|
||||
class cmLocalVisualStudio7GeneratorOptions;
|
||||
class cmGeneratorTarget;
|
||||
class cmGlobalGenerator;
|
||||
class cmLocalVisualStudio7GeneratorFCInfo;
|
||||
class cmLocalVisualStudio7GeneratorInternals;
|
||||
class cmMakefile;
|
||||
class cmSourceFile;
|
||||
class cmSourceGroup;
|
||||
|
||||
/** \class cmLocalVisualStudio7Generator
|
||||
* \brief Write Visual Studio .NET project files.
|
||||
@@ -119,6 +125,7 @@ private:
|
||||
friend class cmLocalVisualStudio7GeneratorInternals;
|
||||
|
||||
class EventWriter;
|
||||
|
||||
friend class EventWriter;
|
||||
|
||||
std::string ModuleDefinitionFile;
|
||||
|
||||
@@ -3,16 +3,22 @@
|
||||
#ifndef cmLocalVisualStudioGenerator_h
|
||||
#define cmLocalVisualStudioGenerator_h
|
||||
|
||||
#include "cmLocalGenerator.h"
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include "cmGlobalVisualStudioGenerator.h"
|
||||
#include "cmLocalGenerator.h"
|
||||
#include "cm_auto_ptr.hxx"
|
||||
|
||||
#include <cm_auto_ptr.hxx>
|
||||
|
||||
class cmSourceFile;
|
||||
class cmSourceGroup;
|
||||
class cmCustomCommand;
|
||||
class cmCustomCommandGenerator;
|
||||
class cmGeneratorTarget;
|
||||
class cmGlobalGenerator;
|
||||
class cmMakefile;
|
||||
class cmSourceFile;
|
||||
|
||||
/** \class cmLocalVisualStudioGenerator
|
||||
* \brief Base class for Visual Studio generators.
|
||||
|
||||
@@ -4,9 +4,12 @@
|
||||
|
||||
#include "cmGeneratorTarget.h"
|
||||
#include "cmGlobalXCodeGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmSourceFile.h"
|
||||
|
||||
class cmGeneratorTarget;
|
||||
class cmGlobalGenerator;
|
||||
class cmMakefile;
|
||||
|
||||
cmLocalXCodeGenerator::cmLocalXCodeGenerator(cmGlobalGenerator* gg,
|
||||
cmMakefile* mf)
|
||||
: cmLocalGenerator(gg, mf)
|
||||
|
||||
@@ -3,8 +3,17 @@
|
||||
#ifndef cmLocalXCodeGenerator_h
|
||||
#define cmLocalXCodeGenerator_h
|
||||
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
#include "cmLocalGenerator.h"
|
||||
|
||||
class cmGeneratorTarget;
|
||||
class cmGlobalGenerator;
|
||||
class cmMakefile;
|
||||
class cmSourceFile;
|
||||
|
||||
/** \class cmLocalXCodeGenerator
|
||||
* \brief Write a local Xcode project
|
||||
*
|
||||
|
||||
+4
-2
@@ -1,10 +1,12 @@
|
||||
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmStandardIncludes.h" // to get CMAKE_USE_MACH_PARSER first
|
||||
|
||||
#include "cmMachO.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmsys/FStream.hxx>
|
||||
#include <stddef.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
// Include the Mach-O format information system header.
|
||||
#include <mach-o/fat.h>
|
||||
|
||||
@@ -3,6 +3,11 @@
|
||||
#ifndef cmMachO_h
|
||||
#define cmMachO_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include <iosfwd>
|
||||
#include <string>
|
||||
|
||||
#if !defined(CMAKE_USE_MACH_PARSER)
|
||||
#error "This file may be included only if CMAKE_USE_MACH_PARSER is enabled."
|
||||
#endif
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
|
||||
#include <stddef.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
|
||||
@@ -5,19 +5,22 @@
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
#include <iosfwd>
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class cmMakefile;
|
||||
class cmGeneratorTarget;
|
||||
class cmGeneratedFileStream;
|
||||
class cmGlobalVisualStudio10Generator;
|
||||
class cmSourceFile;
|
||||
class cmCustomCommand;
|
||||
class cmLocalVisualStudio7Generator;
|
||||
class cmComputeLinkInformation;
|
||||
class cmCustomCommand;
|
||||
class cmGeneratedFileStream;
|
||||
class cmGeneratorTarget;
|
||||
class cmGlobalVisualStudio10Generator;
|
||||
class cmLocalVisualStudio7Generator;
|
||||
class cmMakefile;
|
||||
class cmSourceFile;
|
||||
class cmSourceGroup;
|
||||
class cmVisualStudioGeneratorOptions;
|
||||
struct cmIDEFlagTable;
|
||||
#include "cmSourceGroup.h"
|
||||
|
||||
class cmVisualStudio10TargetGenerator
|
||||
{
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
#ifndef cmVisualStudio10ToolsetOptions_h
|
||||
#define cmVisualStudio10ToolsetOptions_h
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
struct cmIDEFlagTable;
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#include "cmVisualStudioGeneratorOptions.h"
|
||||
|
||||
#include "cmLocalVisualStudioGenerator.h"
|
||||
#include "cmOutputConverter.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmVisualStudio10TargetGenerator.h"
|
||||
|
||||
@@ -3,9 +3,17 @@
|
||||
#ifndef cmVisualStudioGeneratorOptions_h
|
||||
#define cmVisualStudioGeneratorOptions_h
|
||||
|
||||
#include "cmLocalVisualStudioGenerator.h"
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include <iosfwd>
|
||||
#include <string>
|
||||
|
||||
#include "cmGlobalVisualStudioGenerator.h"
|
||||
#include "cmIDEFlagTable.h"
|
||||
#include "cmIDEOptions.h"
|
||||
|
||||
class cmLocalVisualStudioGenerator;
|
||||
|
||||
typedef cmIDEFlagTable cmVS7FlagTable;
|
||||
|
||||
class cmVisualStudio10TargetGenerator;
|
||||
|
||||
@@ -5,7 +5,9 @@
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class cmSlnProjectEntry
|
||||
{
|
||||
|
||||
@@ -5,9 +5,10 @@
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
|
||||
#include <bitset>
|
||||
#include <iosfwd>
|
||||
#include <stddef.h>
|
||||
#include <string>
|
||||
|
||||
class cmSlnData;
|
||||
|
||||
@@ -65,6 +66,7 @@ public:
|
||||
|
||||
protected:
|
||||
class State;
|
||||
|
||||
friend class State;
|
||||
class ParsedLine;
|
||||
|
||||
|
||||
@@ -5,7 +5,10 @@
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
#include <map>
|
||||
#include <stddef.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "cmXMLParser.h"
|
||||
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmXCode21Object.h"
|
||||
|
||||
#include <ostream>
|
||||
#include <string>
|
||||
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
cmXCode21Object::cmXCode21Object(PBXType ptype, Type type)
|
||||
|
||||
@@ -3,6 +3,11 @@
|
||||
#ifndef cmXCode21Object_h
|
||||
#define cmXCode21Object_h
|
||||
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
|
||||
#include <iosfwd>
|
||||
#include <vector>
|
||||
|
||||
#include "cmXCodeObject.h"
|
||||
|
||||
class cmXCode21Object : public cmXCodeObject
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmXCodeObject.h"
|
||||
|
||||
#include "cmSystemTools.h"
|
||||
#include <CoreFoundation/CoreFoundation.h>
|
||||
#include <ostream>
|
||||
|
||||
#include <CoreFoundation/CoreFoundation.h> // CFUUIDCreate
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
const char* cmXCodeObject::PBXTypeNames[] = {
|
||||
/* clang-format needs this comment to break after the opening brace */
|
||||
|
||||
@@ -3,9 +3,14 @@
|
||||
#ifndef cmXCodeObject_h
|
||||
#define cmXCodeObject_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
#include <algorithm>
|
||||
#include <iosfwd>
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
class cmGeneratorTarget;
|
||||
|
||||
|
||||
@@ -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 "cmStandardIncludes.h"
|
||||
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
|
||||
#include <cmsys/Process.h>
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "cmSystemTools.h"
|
||||
#include <cmsys/Process.h>
|
||||
|
||||
// This is a wrapper program for xcodebuild
|
||||
// it calls xcodebuild, and does two things
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "cmSystemTools.h"
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include <cmsys/FStream.hxx>
|
||||
#include <iostream>
|
||||
@@ -8,6 +8,8 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
class CompileCommandParser
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -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