fix a load of include-what-you-use violations
This commit is contained in:
parent
bd3d0eafbb
commit
efed6468ed
|
@ -27,6 +27,8 @@
|
|||
#include <cmsys/Encoding.hxx>
|
||||
#include <cmsys/SystemTools.hxx>
|
||||
|
||||
#include "cmSystemTools.h" // IWYU pragma: keep
|
||||
|
||||
static const char* cmDocumentationName[][2] = { { 0,
|
||||
" cmake-gui - CMake GUI." },
|
||||
{ 0, 0 } };
|
||||
|
|
|
@ -9,52 +9,54 @@
|
|||
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
See the License for more information.
|
||||
============================================================================*/
|
||||
#include "cmCurl.h" // include before anything that includes windows.h
|
||||
|
||||
#include "cmCTest.h"
|
||||
|
||||
#include "cmAlgorithms.h"
|
||||
#include "cmCTestCommand.h"
|
||||
#include "cmCTestBuildAndTestHandler.h"
|
||||
#include "cmCTestBuildHandler.h"
|
||||
#include "cmCTestConfigureHandler.h"
|
||||
#include "cmCTestCoverageHandler.h"
|
||||
#include "cmCTestGenericHandler.h"
|
||||
#include "cmCTestMemCheckHandler.h"
|
||||
#include "cmCTestScriptHandler.h"
|
||||
#include "cmCTestStartCommand.h"
|
||||
#include "cmCTestSubmitHandler.h"
|
||||
#include "cmCTestTestHandler.h"
|
||||
#include "cmCTestUpdateHandler.h"
|
||||
#include "cmCTestUploadHandler.h"
|
||||
#include "cmCurl.h"
|
||||
#include "cmDynamicLoader.h"
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmState.h"
|
||||
#include "cmVersionMacros.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmVersion.h"
|
||||
#include "cmVersionConfig.h"
|
||||
#include "cmXMLWriter.h"
|
||||
#include "cmake.h"
|
||||
|
||||
#include <cm_auto_ptr.hxx>
|
||||
#include <cm_curl.h>
|
||||
#include <cm_zlib.h>
|
||||
#include <cmsys/Base64.h>
|
||||
#include <cmsys/Directory.hxx>
|
||||
#include <cmsys/FStream.hxx>
|
||||
#include <cmsys/SystemInformation.hxx>
|
||||
|
||||
#include "cmCTestBuildAndTestHandler.h"
|
||||
#include "cmCTestBuildHandler.h"
|
||||
#include "cmCTestConfigureHandler.h"
|
||||
#include "cmCTestCoverageHandler.h"
|
||||
#include "cmCTestMemCheckHandler.h"
|
||||
#include "cmCTestScriptHandler.h"
|
||||
#include "cmCTestSubmitHandler.h"
|
||||
#include "cmCTestTestHandler.h"
|
||||
#include "cmCTestUpdateHandler.h"
|
||||
#include "cmCTestUploadHandler.h"
|
||||
|
||||
#include "cmVersion.h"
|
||||
|
||||
#include <cmsys/Glob.hxx>
|
||||
#include <cmsys/Process.h>
|
||||
#include <cmsys/RegularExpression.hxx>
|
||||
|
||||
#include <cmsys/String.hxx>
|
||||
#include <cmsys/SystemInformation.hxx>
|
||||
#include <ctype.h>
|
||||
#include <float.h>
|
||||
#include <math.h>
|
||||
#include <iostream>
|
||||
#include <map>
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <cm_auto_ptr.hxx>
|
||||
|
||||
#include <cm_zlib.h>
|
||||
#include <cmsys/Base64.h>
|
||||
#include <string.h>
|
||||
#include <string>
|
||||
#include <time.h>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#if defined(__BEOS__) || defined(__HAIKU__)
|
||||
#include <be/kernel/OS.h> /* disable_debugger() API. */
|
||||
|
|
|
@ -15,18 +15,18 @@
|
|||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
|
||||
#include "cmListFileCache.h"
|
||||
#include <cmsys/String.hxx>
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <time.h>
|
||||
#include <vector>
|
||||
|
||||
class cmake;
|
||||
class cmMakefile;
|
||||
class cmCTestGenericHandler;
|
||||
class cmGeneratedFileStream;
|
||||
class cmCTestCommand;
|
||||
class cmCTestScriptHandler;
|
||||
class cmCTestStartCommand;
|
||||
class cmGeneratedFileStream;
|
||||
class cmMakefile;
|
||||
class cmXMLWriter;
|
||||
|
||||
#define cmCTestLog(ctSelf, logType, msg) \
|
||||
|
|
|
@ -11,12 +11,18 @@
|
|||
============================================================================*/
|
||||
#include "cmCommandArgumentParserHelper.h"
|
||||
|
||||
#include "cmMakefile.h"
|
||||
#include "cmOutputConverter.h"
|
||||
#include "cmState.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include <cm_kwiml.h>
|
||||
|
||||
#include "cmCommandArgumentLexer.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmState.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmake.h"
|
||||
|
||||
#include <cmConfigure.h>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <string.h>
|
||||
|
||||
int cmCommandArgument_yyparse(yyscan_t yyscanner);
|
||||
//
|
||||
|
|
|
@ -12,9 +12,10 @@
|
|||
#ifndef cmCommandArgumentParserHelper_h
|
||||
#define cmCommandArgumentParserHelper_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#define YYSTYPE cmCommandArgumentParserHelper::ParserType
|
||||
#define YYSTYPE_IS_DECLARED
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
|
||||
#include "cmAlgorithms.h"
|
||||
#include "cmOutputConverter.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
static std::string const keyAND = "AND";
|
||||
static std::string const keyCOMMAND = "COMMAND";
|
||||
|
|
|
@ -12,8 +12,10 @@
|
|||
#include "cmCryptoHash.h"
|
||||
|
||||
#include "cm_sha2.h"
|
||||
|
||||
#include <cmsys/FStream.hxx>
|
||||
#include <cmsys/MD5.h>
|
||||
#include <string.h>
|
||||
|
||||
CM_AUTO_PTR<cmCryptoHash> cmCryptoHash::New(const char* algo)
|
||||
{
|
||||
|
|
|
@ -14,9 +14,9 @@
|
|||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
|
||||
#include <cm_auto_ptr.hxx>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
/**
|
||||
* @brief Abstract base class for cryptographic hash generators
|
||||
|
|
|
@ -11,7 +11,13 @@
|
|||
============================================================================*/
|
||||
#include "cmCurl.h"
|
||||
|
||||
#include "cmThirdParty.h"
|
||||
|
||||
#if !defined(CMAKE_USE_SYSTEM_CURL) && !defined(_WIN32) && \
|
||||
!defined(__APPLE__) && !defined(CURL_CA_BUNDLE) && !defined(CURL_CA_PATH)
|
||||
#define CMAKE_FIND_CAFILE
|
||||
#include "cmSystemTools.h"
|
||||
#endif
|
||||
|
||||
// curl versions before 7.21.5 did not provide this error code
|
||||
#if defined(LIBCURL_VERSION_NUM) && LIBCURL_VERSION_NUM < 0x071505
|
||||
|
@ -32,8 +38,7 @@ std::string cmCurlSetCAInfo(::CURL* curl, const char* cafile)
|
|||
::CURLcode res = ::curl_easy_setopt(curl, CURLOPT_CAINFO, cafile);
|
||||
check_curl_result(res, "Unable to set TLS/SSL Verify CAINFO: ");
|
||||
}
|
||||
#if !defined(CMAKE_USE_SYSTEM_CURL) && !defined(_WIN32) && \
|
||||
!defined(__APPLE__) && !defined(CURL_CA_BUNDLE) && !defined(CURL_CA_PATH)
|
||||
#ifdef CMAKE_FIND_CAFILE
|
||||
#define CMAKE_CAFILE_FEDORA "/etc/pki/tls/certs/ca-bundle.crt"
|
||||
else if (cmSystemTools::FileExists(CMAKE_CAFILE_FEDORA, true)) {
|
||||
::CURLcode res =
|
||||
|
|
|
@ -14,9 +14,8 @@
|
|||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
|
||||
#include "cm_curl.h"
|
||||
#include <cm_curl.h>
|
||||
#include <string>
|
||||
|
||||
std::string cmCurlSetCAInfo(::CURL* curl, const char* cafile = CM_NULLPTR);
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
#include "cmMakefile.h"
|
||||
|
||||
#include <cm_auto_ptr.hxx>
|
||||
#include <cmConfigure.h>
|
||||
|
||||
cmCustomCommand::cmCustomCommand()
|
||||
: Backtrace()
|
||||
|
|
|
@ -12,11 +12,15 @@
|
|||
#ifndef cmCustomCommand_h
|
||||
#define cmCustomCommand_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
|
||||
#include "cmCustomCommandLines.h"
|
||||
#include "cmListFileCache.h"
|
||||
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
class cmMakefile;
|
||||
|
||||
/** \class cmCustomCommand
|
||||
|
|
|
@ -12,10 +12,17 @@
|
|||
#include "cmCustomCommandGenerator.h"
|
||||
|
||||
#include "cmCustomCommand.h"
|
||||
#include "cmCustomCommandLines.h"
|
||||
#include "cmGeneratorExpression.h"
|
||||
#include "cmGeneratorTarget.h"
|
||||
#include "cmLocalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmOutputConverter.h"
|
||||
#include "cmState.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cm_auto_ptr.hxx"
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
cmCustomCommandGenerator::cmCustomCommandGenerator(cmCustomCommand const& cc,
|
||||
const std::string& config,
|
||||
|
|
|
@ -12,13 +12,14 @@
|
|||
#ifndef cmCustomCommandGenerator_h
|
||||
#define cmCustomCommandGenerator_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class cmCustomCommand;
|
||||
class cmLocalGenerator;
|
||||
class cmGeneratorExpression;
|
||||
class cmLocalGenerator;
|
||||
|
||||
class cmCustomCommandGenerator
|
||||
{
|
||||
|
|
|
@ -12,6 +12,8 @@
|
|||
#include "cmDefinitions.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <set>
|
||||
#include <utility>
|
||||
|
||||
cmDefinitions::Def cmDefinitions::NoDef;
|
||||
|
||||
|
|
|
@ -14,20 +14,21 @@
|
|||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
|
||||
#include "cmLinkedTree.h"
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#if defined(CMAKE_BUILD_WITH_CMAKE)
|
||||
#ifdef CMake_HAVE_CXX_UNORDERED_MAP
|
||||
#include <unordered_map>
|
||||
#else
|
||||
#include "cmsys/hash_map.hxx"
|
||||
#endif
|
||||
#else
|
||||
#include <map>
|
||||
#endif
|
||||
|
||||
#include <list>
|
||||
|
||||
/** \class cmDefinitions
|
||||
* \brief Store a scope of variable definitions for CMake language.
|
||||
*
|
||||
|
|
|
@ -16,8 +16,11 @@
|
|||
#include "cmLocalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
#include <cmsys/FStream.hxx>
|
||||
#include <sstream>
|
||||
#include <string.h>
|
||||
#include <utility>
|
||||
|
||||
cmDepends::cmDepends(cmLocalGenerator* lg, const char* targetDir)
|
||||
: CompileDirectory()
|
||||
|
|
|
@ -14,7 +14,12 @@
|
|||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
#include <iosfwd>
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <stddef.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class cmFileTimeComparison;
|
||||
class cmLocalGenerator;
|
||||
|
|
|
@ -15,10 +15,11 @@
|
|||
#include "cmFileTimeComparison.h"
|
||||
#include "cmLocalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmOutputConverter.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include <cmsys/FStream.hxx>
|
||||
|
||||
#include <ctype.h> // isspace
|
||||
#include <cmsys/FStream.hxx>
|
||||
#include <utility>
|
||||
|
||||
#define INCLUDE_REGEX_LINE \
|
||||
"^[ \t]*#[ \t]*(include|import)[ \t]*[<\"]([^\">]+)([\">])"
|
||||
|
|
|
@ -12,10 +12,19 @@
|
|||
#ifndef cmDependsC_h
|
||||
#define cmDependsC_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmDepends.h"
|
||||
|
||||
#include <cmsys/RegularExpression.hxx>
|
||||
#include <iosfwd>
|
||||
#include <map>
|
||||
#include <queue>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class cmLocalGenerator;
|
||||
|
||||
/** \class cmDependsC
|
||||
* \brief Dependency scanner for C and C++ object files.
|
||||
|
|
|
@ -11,14 +11,20 @@
|
|||
============================================================================*/
|
||||
#include "cmDependsFortran.h"
|
||||
|
||||
#include "cmFortranParser.h" /* Interface to parser object. */
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmLocalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmOutputConverter.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
#include "cmFortranParser.h" /* Interface to parser object. */
|
||||
#include <assert.h>
|
||||
#include <cmsys/FStream.hxx>
|
||||
#include <iostream>
|
||||
#include <map>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <utility>
|
||||
|
||||
// TODO: Test compiler for the case of the mod file. Some always
|
||||
// use lower case and some always use upper case. I do not know if any
|
||||
|
|
|
@ -12,10 +12,17 @@
|
|||
#ifndef cmFortran_h
|
||||
#define cmFortran_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
#include <iosfwd>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "cmDepends.h"
|
||||
|
||||
class cmDependsFortranInternals;
|
||||
class cmFortranSourceInfo;
|
||||
class cmLocalGenerator;
|
||||
|
||||
/** \class cmDependsFortran
|
||||
* \brief Dependency scanner for Fortran object files.
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
============================================================================*/
|
||||
#include "cmDependsJava.h"
|
||||
|
||||
#include "cmDependsJavaParserHelper.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
cmDependsJava::cmDependsJava()
|
||||
|
|
|
@ -12,8 +12,15 @@
|
|||
#ifndef cmDependsJava_h
|
||||
#define cmDependsJava_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmDepends.h"
|
||||
|
||||
#include <iosfwd>
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <string>
|
||||
|
||||
/** \class cmDependsJava
|
||||
* \brief Dependency scanner for Java class files.
|
||||
*/
|
||||
|
|
|
@ -11,9 +11,16 @@
|
|||
============================================================================*/
|
||||
#include "cmDependsJavaParserHelper.h"
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmDependsJavaLexer.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
#include <cmsys/FStream.hxx>
|
||||
#include <iostream>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
int cmDependsJava_yyparse(yyscan_t yyscanner);
|
||||
|
||||
|
|
|
@ -12,9 +12,10 @@
|
|||
#ifndef cmDependsJavaParserHelper_h
|
||||
#define cmDependsJavaParserHelper_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#define YYSTYPE cmDependsJavaParserHelper::ParserType
|
||||
#define YYSTYPE_IS_DECLARED
|
||||
|
|
|
@ -12,17 +12,18 @@
|
|||
#include "cmDocumentation.h"
|
||||
|
||||
#include "cmAlgorithms.h"
|
||||
#include "cmDocumentationEntry.h"
|
||||
#include "cmDocumentationSection.h"
|
||||
#include "cmRST.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmVersion.h"
|
||||
|
||||
#include <cmsys/Directory.hxx>
|
||||
#include <algorithm>
|
||||
#include <cmsys/FStream.hxx>
|
||||
#include <cmsys/Glob.hxx>
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <string.h>
|
||||
#include <utility>
|
||||
|
||||
static const char* cmDocumentationStandardOptions[][2] = {
|
||||
{ "--help,-help,-usage,-h,-H,/?", "Print usage information and exit." },
|
||||
|
|
|
@ -14,15 +14,15 @@
|
|||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
|
||||
#include "cmDocumentationFormatter.h"
|
||||
#include "cmDocumentationSection.h"
|
||||
#include "cmake.h"
|
||||
|
||||
namespace cmsys {
|
||||
class Directory;
|
||||
}
|
||||
#include <iosfwd>
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class cmDocumentationSection;
|
||||
struct cmDocumentationEntry;
|
||||
|
||||
/** Class to generate documentation. */
|
||||
class cmDocumentation : public cmDocumentationEnums
|
||||
|
|
|
@ -11,8 +11,14 @@
|
|||
============================================================================*/
|
||||
#include "cmDocumentationFormatter.h"
|
||||
|
||||
#include "cmDocumentationEntry.h"
|
||||
#include "cmDocumentationSection.h"
|
||||
|
||||
#include <ostream>
|
||||
#include <string.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
cmDocumentationFormatter::cmDocumentationFormatter()
|
||||
: TextWidth(77)
|
||||
, TextIndent("")
|
||||
|
|
|
@ -12,9 +12,9 @@
|
|||
#ifndef _cmDocumentationFormatter_h
|
||||
#define _cmDocumentationFormatter_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
#include <iosfwd>
|
||||
|
||||
/** This is just a helper class to make it build with MSVC 6.0.
|
||||
Actually the enums and internal classes could directly go into
|
||||
|
|
|
@ -12,7 +12,12 @@
|
|||
#ifndef _cmDocumentationSection_h
|
||||
#define _cmDocumentationSection_h
|
||||
|
||||
#include "cmDocumentationFormatter.h"
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
|
||||
#include "cmDocumentationEntry.h"
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
// Low-level interface for custom documents:
|
||||
/** Internal class representing a section of the documentation.
|
||||
|
|
|
@ -11,6 +11,13 @@
|
|||
============================================================================*/
|
||||
#include "cmDynamicLoader.h"
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include <cmsys/DynamicLoader.hxx>
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
class cmDynamicLoaderCache
|
||||
{
|
||||
public:
|
||||
|
|
|
@ -17,9 +17,7 @@
|
|||
#ifndef cmDynamicLoader_h
|
||||
#define cmDynamicLoader_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
|
||||
#include <cmsys/DynamicLoader.hxx>
|
||||
|
||||
|
|
|
@ -9,12 +9,16 @@
|
|||
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
See the License for more information.
|
||||
============================================================================*/
|
||||
#include "cmStandardIncludes.h" // to get CMAKE_USE_ELF_PARSER first
|
||||
|
||||
#include "cmELF.h"
|
||||
|
||||
#include <cm_auto_ptr.hxx>
|
||||
#include <cm_kwiml.h>
|
||||
#include <cmsys/FStream.hxx>
|
||||
#include <map>
|
||||
#include <sstream>
|
||||
#include <stddef.h>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
// Include the ELF format information system header.
|
||||
#if defined(__OpenBSD__)
|
||||
|
|
|
@ -12,6 +12,11 @@
|
|||
#ifndef cmELF_h
|
||||
#define cmELF_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include <iosfwd>
|
||||
#include <string>
|
||||
|
||||
#if !defined(CMAKE_USE_ELF_PARSER)
|
||||
#error "This file may be included only if CMAKE_USE_ELF_PARSER is enabled."
|
||||
#endif
|
||||
|
|
|
@ -12,9 +12,23 @@
|
|||
#include "cmExportBuildFileGenerator.h"
|
||||
|
||||
#include "cmExportSet.h"
|
||||
#include "cmGeneratorExpression.h"
|
||||
#include "cmGeneratorTarget.h"
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmLocalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmPolicies.h"
|
||||
#include "cmState.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmTarget.h"
|
||||
#include "cmTargetExport.h"
|
||||
#include "cmake.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <sstream>
|
||||
#include <utility>
|
||||
|
||||
cmExportBuildFileGenerator::cmExportBuildFileGenerator()
|
||||
{
|
||||
|
|
|
@ -12,10 +12,18 @@
|
|||
#ifndef cmExportBuildFileGenerator_h
|
||||
#define cmExportBuildFileGenerator_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmExportFileGenerator.h"
|
||||
#include "cmListFileCache.h"
|
||||
|
||||
#include <iosfwd>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class cmExportSet;
|
||||
class cmGeneratorTarget;
|
||||
class cmGlobalGenerator;
|
||||
class cmLocalGenerator;
|
||||
|
||||
/** \class cmExportBuildFileGenerator
|
||||
* \brief Generate a file exporting targets from a build tree.
|
||||
|
|
|
@ -13,20 +13,25 @@
|
|||
|
||||
#include "cmAlgorithms.h"
|
||||
#include "cmComputeLinkInformation.h"
|
||||
#include "cmExportSet.h"
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmInstallExportGenerator.h"
|
||||
#include "cmGeneratorTarget.h"
|
||||
#include "cmLinkItem.h"
|
||||
#include "cmLocalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmOutputConverter.h"
|
||||
#include "cmPolicies.h"
|
||||
#include "cmState.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmTarget.h"
|
||||
#include "cmTargetExport.h"
|
||||
#include "cmVersion.h"
|
||||
#include "cmake.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <cm_auto_ptr.hxx>
|
||||
#include <cmsys/FStream.hxx>
|
||||
#include <sstream>
|
||||
#include <string.h>
|
||||
#include <utility>
|
||||
|
||||
static std::string cmExportFileGeneratorEscape(std::string const& str)
|
||||
{
|
||||
|
|
|
@ -12,11 +12,19 @@
|
|||
#ifndef cmExportFileGenerator_h
|
||||
#define cmExportFileGenerator_h
|
||||
|
||||
#include "cmCommand.h"
|
||||
#include "cmGeneratorExpression.h"
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
|
||||
#include "cmGeneratorExpression.h"
|
||||
#include "cmVersion.h"
|
||||
#include "cmVersionMacros.h"
|
||||
#include "cmVersionConfig.h"
|
||||
|
||||
#include <iosfwd>
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class cmGeneratorTarget;
|
||||
|
||||
#define STRINGIFY_HELPER(X) #X
|
||||
#define STRINGIFY(X) STRINGIFY_HELPER(X)
|
||||
|
|
|
@ -15,12 +15,22 @@
|
|||
#include "cmExportSet.h"
|
||||
#include "cmExportSetMap.h"
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmGeneratorExpression.h"
|
||||
#include "cmGeneratorTarget.h"
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmInstallExportGenerator.h"
|
||||
#include "cmInstallTargetGenerator.h"
|
||||
#include "cmLocalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmPolicies.h"
|
||||
#include "cmState.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmTarget.h"
|
||||
#include "cmTargetExport.h"
|
||||
|
||||
#include <sstream>
|
||||
#include <utility>
|
||||
|
||||
cmExportInstallFileGenerator::cmExportInstallFileGenerator(
|
||||
cmInstallExportGenerator* iegen)
|
||||
: IEGen(iegen)
|
||||
|
|
|
@ -12,8 +12,18 @@
|
|||
#ifndef cmExportInstallFileGenerator_h
|
||||
#define cmExportInstallFileGenerator_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmExportFileGenerator.h"
|
||||
|
||||
#include <iosfwd>
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class cmGeneratorTarget;
|
||||
class cmGlobalGenerator;
|
||||
class cmInstallExportGenerator;
|
||||
class cmInstallTargetGenerator;
|
||||
|
||||
|
|
|
@ -12,11 +12,14 @@
|
|||
#ifndef cmExportSet_h
|
||||
#define cmExportSet_h
|
||||
|
||||
#include "cmSystemTools.h"
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class cmTargetExport;
|
||||
class cmInstallExportGenerator;
|
||||
class cmLocalGenerator;
|
||||
class cmTargetExport;
|
||||
|
||||
/// A set of targets that were installed with the same EXPORT parameter.
|
||||
class cmExportSet
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
#include "cmAlgorithms.h"
|
||||
#include "cmExportSet.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
cmExportSet* cmExportSetMap::operator[](const std::string& name)
|
||||
{
|
||||
std::map<std::string, cmExportSet*>::iterator it = this->find(name);
|
||||
|
|
|
@ -12,7 +12,10 @@
|
|||
#ifndef cmExportSetMap_h
|
||||
#define cmExportSetMap_h
|
||||
|
||||
#include "cmSystemTools.h"
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
class cmExportSet;
|
||||
|
||||
|
|
|
@ -12,10 +12,19 @@
|
|||
|
||||
#include "cmExportTryCompileFileGenerator.h"
|
||||
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmGeneratorExpression.h"
|
||||
#include "cmGeneratorExpressionDAGChecker.h"
|
||||
#include "cmGeneratorTarget.h"
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmLocalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmState.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmTarget.h"
|
||||
#include "cm_auto_ptr.hxx"
|
||||
|
||||
#include <map>
|
||||
#include <utility>
|
||||
|
||||
cmExportTryCompileFileGenerator::cmExportTryCompileFileGenerator(
|
||||
cmGlobalGenerator* gg, const std::vector<std::string>& targets,
|
||||
|
|
|
@ -12,10 +12,18 @@
|
|||
#ifndef cmExportTryCompileFileGenerator_h
|
||||
#define cmExportTryCompileFileGenerator_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmExportFileGenerator.h"
|
||||
|
||||
class cmInstallExportGenerator;
|
||||
class cmInstallTargetGenerator;
|
||||
#include <iosfwd>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class cmGeneratorTarget;
|
||||
class cmGlobalGenerator;
|
||||
class cmMakefile;
|
||||
|
||||
class cmExportTryCompileFileGenerator : public cmExportFileGenerator
|
||||
{
|
||||
|
|
|
@ -11,11 +11,13 @@
|
|||
============================================================================*/
|
||||
#include "cmExprParserHelper.h"
|
||||
|
||||
#include "cmMakefile.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmExprLexer.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
|
||||
int cmExpr_yyparse(yyscan_t yyscanner);
|
||||
//
|
||||
cmExprParserHelper::cmExprParserHelper()
|
||||
|
|
|
@ -12,9 +12,10 @@
|
|||
#ifndef cmExprParserHelper_h
|
||||
#define cmExprParserHelper_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#define YYSTYPE cmExprParserHelper::ParserType
|
||||
#define YYSTYPE_IS_DECLARED
|
||||
|
@ -26,9 +27,6 @@
|
|||
*
|
||||
* Finds dependencies for java file and list of outputs
|
||||
*/
|
||||
|
||||
class cmMakefile;
|
||||
|
||||
class cmExprParserHelper
|
||||
{
|
||||
public:
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include "cmExternalMakefileProjectGenerator.h"
|
||||
|
||||
#include <assert.h>
|
||||
class cmMakefile;
|
||||
|
||||
void cmExternalMakefileProjectGenerator::EnableLanguage(
|
||||
std::vector<std::string> const& /*unused*/, cmMakefile* /*unused*/,
|
||||
|
|
|
@ -12,13 +12,13 @@
|
|||
#ifndef cmExternalMakefileProjectGenerator_h
|
||||
#define cmExternalMakefileProjectGenerator_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
|
||||
#include "cmDocumentation.h"
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class cmGlobalGenerator;
|
||||
class cmMakefile;
|
||||
|
||||
/** \class cmExternalMakefileProjectGenerator
|
||||
* \brief Base class for generators for "External Makefile based IDE projects".
|
||||
|
|
|
@ -12,16 +12,23 @@
|
|||
============================================================================*/
|
||||
#include "cmExtraCodeBlocksGenerator.h"
|
||||
|
||||
#include "cmAlgorithms.h"
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmGlobalUnixMakefileGenerator3.h"
|
||||
#include "cmLocalUnixMakefileGenerator3.h"
|
||||
#include "cmGeneratorTarget.h"
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmLocalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmSourceFile.h"
|
||||
#include "cmState.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmXMLWriter.h"
|
||||
#include "cmake.h"
|
||||
|
||||
#include <cmsys/SystemTools.hxx>
|
||||
#include <algorithm>
|
||||
#include <map>
|
||||
#include <ostream>
|
||||
#include <string.h>
|
||||
#include <utility>
|
||||
|
||||
/* Some useful URLs:
|
||||
Homepage:
|
||||
|
|
|
@ -13,11 +13,16 @@
|
|||
#ifndef cmExtraCodeBlocksGenerator_h
|
||||
#define cmExtraCodeBlocksGenerator_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmExternalMakefileProjectGenerator.h"
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class cmGeneratorTarget;
|
||||
class cmLocalGenerator;
|
||||
class cmMakefile;
|
||||
class cmGeneratorTarget;
|
||||
class cmXMLWriter;
|
||||
|
||||
/** \class cmExtraCodeBlocksGenerator
|
||||
|
|
|
@ -14,18 +14,22 @@
|
|||
#include "cmExtraCodeLiteGenerator.h"
|
||||
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmGlobalUnixMakefileGenerator3.h"
|
||||
#include "cmLocalUnixMakefileGenerator3.h"
|
||||
#include "cmGeneratorTarget.h"
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmLocalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmSourceFile.h"
|
||||
#include "cmState.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmXMLWriter.h"
|
||||
#include "cmake.h"
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
#include "cmXMLWriter.h"
|
||||
#include <cmsys/Directory.hxx>
|
||||
#include <cmsys/SystemInformation.hxx>
|
||||
#include <cmsys/SystemTools.hxx>
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <sstream>
|
||||
#include <string.h>
|
||||
#include <utility>
|
||||
|
||||
cmExtraCodeLiteGenerator::cmExtraCodeLiteGenerator()
|
||||
: cmExternalMakefileProjectGenerator()
|
||||
|
|
|
@ -14,9 +14,15 @@
|
|||
#ifndef cmGlobalCodeLiteGenerator_h
|
||||
#define cmGlobalCodeLiteGenerator_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmExternalMakefileProjectGenerator.h"
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class cmLocalGenerator;
|
||||
class cmMakefile;
|
||||
|
||||
class cmExtraCodeLiteGenerator : public cmExternalMakefileProjectGenerator
|
||||
{
|
||||
|
|
|
@ -14,17 +14,26 @@
|
|||
#include "cmExtraEclipseCDT4Generator.h"
|
||||
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmGlobalUnixMakefileGenerator3.h"
|
||||
#include "cmLocalUnixMakefileGenerator3.h"
|
||||
#include "cmGeneratorExpression.h"
|
||||
#include "cmGeneratorTarget.h"
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmLocalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmOutputConverter.h"
|
||||
#include "cmSourceFile.h"
|
||||
#include "cmSourceGroup.h"
|
||||
#include "cmState.h"
|
||||
#include "cmTarget.h"
|
||||
#include "cmXMLWriter.h"
|
||||
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmXMLWriter.h"
|
||||
#include "cmake.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
#include <cmsys/RegularExpression.hxx>
|
||||
#include <map>
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
#include <utility>
|
||||
|
||||
static void AppendAttribute(cmXMLWriter& xml, const char* keyval)
|
||||
{
|
||||
|
|
|
@ -14,11 +14,19 @@
|
|||
#ifndef cmExtraEclipseCDT4Generator_h
|
||||
#define cmExtraEclipseCDT4Generator_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmExternalMakefileProjectGenerator.h"
|
||||
|
||||
#include <iosfwd>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class cmLocalGenerator;
|
||||
class cmMakefile;
|
||||
class cmXMLWriter;
|
||||
class cmSourceGroup;
|
||||
class cmXMLWriter;
|
||||
|
||||
/** \class cmExtraEclipseCDT4Generator
|
||||
* \brief Write Eclipse project files for Makefile based projects
|
||||
|
|
|
@ -13,14 +13,18 @@
|
|||
#include "cmExtraKateGenerator.h"
|
||||
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmGlobalUnixMakefileGenerator3.h"
|
||||
#include "cmLocalUnixMakefileGenerator3.h"
|
||||
#include "cmGeneratorTarget.h"
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmLocalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmSourceFile.h"
|
||||
#include "cmState.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmake.h"
|
||||
|
||||
#include <cmsys/SystemTools.hxx>
|
||||
#include <ostream>
|
||||
#include <set>
|
||||
#include <string.h>
|
||||
#include <vector>
|
||||
|
||||
cmExtraKateGenerator::cmExtraKateGenerator()
|
||||
: cmExternalMakefileProjectGenerator()
|
||||
|
|
|
@ -13,10 +13,14 @@
|
|||
#ifndef cmExtraKateGenerator_h
|
||||
#define cmExtraKateGenerator_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmExternalMakefileProjectGenerator.h"
|
||||
|
||||
class cmLocalGenerator;
|
||||
#include <string>
|
||||
|
||||
class cmGeneratedFileStream;
|
||||
class cmLocalGenerator;
|
||||
|
||||
/** \class cmExtraKateGenerator
|
||||
* \brief Write Kate project files for Makefile or ninja based projects
|
||||
|
|
|
@ -14,15 +14,18 @@
|
|||
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmGeneratorTarget.h"
|
||||
#include "cmGlobalUnixMakefileGenerator3.h"
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmLocalGenerator.h"
|
||||
#include "cmLocalUnixMakefileGenerator3.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmSourceFile.h"
|
||||
#include "cmState.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmake.h"
|
||||
|
||||
#include <cmsys/SystemTools.hxx>
|
||||
#include <cmsys/RegularExpression.hxx>
|
||||
#include <ostream>
|
||||
#include <set>
|
||||
#include <string.h>
|
||||
#include <utility>
|
||||
|
||||
/*
|
||||
Sublime Text 2 Generator
|
||||
|
|
|
@ -13,13 +13,19 @@
|
|||
#ifndef cmExtraSublimeTextGenerator_h
|
||||
#define cmExtraSublimeTextGenerator_h
|
||||
|
||||
#include "cmExternalMakefileProjectGenerator.h"
|
||||
#include "cmSourceFile.h"
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmExternalMakefileProjectGenerator.h"
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class cmLocalGenerator;
|
||||
class cmMakefile;
|
||||
class cmGeneratedFileStream;
|
||||
class cmGeneratorTarget;
|
||||
class cmLocalGenerator;
|
||||
class cmMakefile;
|
||||
class cmSourceFile;
|
||||
|
||||
/** \class cmExtraSublimeTextGenerator
|
||||
* \brief Write Sublime Text 2 project files for Makefile based projects
|
||||
|
|
|
@ -13,9 +13,9 @@
|
|||
#ifndef cmFileLock_h
|
||||
#define cmFileLock_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
#include <string>
|
||||
|
||||
#if defined(_WIN32)
|
||||
#include <windows.h> // HANDLE
|
||||
|
|
|
@ -12,14 +12,13 @@
|
|||
#ifndef cmFileLockPool_h
|
||||
#define cmFileLockPool_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
|
||||
#include <list>
|
||||
#include <string>
|
||||
|
||||
class cmFileLockResult;
|
||||
class cmFileLock;
|
||||
class cmFileLockResult;
|
||||
|
||||
class cmFileLockPool
|
||||
{
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "cmFileLockResult.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
|
||||
cmFileLockResult cmFileLockResult::MakeOk()
|
||||
{
|
||||
|
|
|
@ -13,9 +13,9 @@
|
|||
#ifndef cmFileLockResult_h
|
||||
#define cmFileLockResult_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
#include <string>
|
||||
|
||||
#if defined(_WIN32)
|
||||
#include <windows.h> // DWORD
|
||||
|
|
|
@ -17,6 +17,8 @@
|
|||
#include "cmMakefile.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
cmFilePathUuid::cmFilePathUuid(cmMakefile* makefile)
|
||||
{
|
||||
initParentDirs(makefile->GetCurrentSourceDirectory(),
|
||||
|
|
|
@ -13,10 +13,9 @@
|
|||
#ifndef cmFilePathUuid_h
|
||||
#define cmFilePathUuid_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
|
||||
#include <stddef.h>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
|
|
|
@ -11,6 +11,11 @@
|
|||
============================================================================*/
|
||||
#include "cmFileTimeComparison.h"
|
||||
|
||||
#include <cmConfigure.h>
|
||||
#include <string>
|
||||
#include <time.h>
|
||||
#include <utility>
|
||||
|
||||
// Use a hash table to avoid duplicate file time checks from disk.
|
||||
#if defined(CMAKE_BUILD_WITH_CMAKE)
|
||||
#ifdef CMake_HAVE_CXX_UNORDERED_MAP
|
||||
|
@ -20,16 +25,14 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#include <cmsys/Encoding.hxx>
|
||||
|
||||
// Use a platform-specific API to get file times efficiently.
|
||||
#if !defined(_WIN32) || defined(__CYGWIN__)
|
||||
#define cmFileTimeComparison_Type struct stat
|
||||
#include <ctype.h>
|
||||
#include <sys/stat.h>
|
||||
#define cmFileTimeComparison_Type struct stat
|
||||
#else
|
||||
#define cmFileTimeComparison_Type FILETIME
|
||||
#include <cmsys/Encoding.hxx>
|
||||
#include <windows.h>
|
||||
#define cmFileTimeComparison_Type FILETIME
|
||||
#endif
|
||||
|
||||
class cmFileTimeComparisonInternal
|
||||
|
|
|
@ -12,9 +12,7 @@
|
|||
#ifndef cmFileTimeComparison_h
|
||||
#define cmFileTimeComparison_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
|
||||
class cmFileTimeComparisonInternal;
|
||||
|
||||
|
|
|
@ -10,9 +10,16 @@
|
|||
See the License for more information.
|
||||
============================================================================*/
|
||||
#include "cmFortranParser.h"
|
||||
|
||||
#include "cmFortranLexer.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <cmConfigure.h>
|
||||
#include <set>
|
||||
#include <stack>
|
||||
#include <stdio.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
bool cmFortranParser_s::FindIncludeFile(const char* dir,
|
||||
const char* includeName,
|
||||
|
|
|
@ -13,6 +13,8 @@
|
|||
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#if defined(CMAKE_BUILD_WITH_CMAKE)
|
||||
#include <cm_zlib.h>
|
||||
#endif
|
||||
|
|
|
@ -14,9 +14,8 @@
|
|||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
|
||||
#include <cmsys/FStream.hxx>
|
||||
#include <string>
|
||||
|
||||
// This is the first base class of cmGeneratedFileStream. It will be
|
||||
// created before and destroyed after the ofstream portion and can
|
||||
|
|
|
@ -13,12 +13,14 @@
|
|||
|
||||
#include "assert.h"
|
||||
#include "cmAlgorithms.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
#include "cmGeneratorExpressionDAGChecker.h"
|
||||
#include "cmGeneratorExpressionContext.h"
|
||||
#include "cmGeneratorExpressionEvaluator.h"
|
||||
#include "cmGeneratorExpressionLexer.h"
|
||||
#include "cmGeneratorExpressionParser.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
#include <cmsys/RegularExpression.hxx>
|
||||
#include <utility>
|
||||
|
||||
cmGeneratorExpression::cmGeneratorExpression(
|
||||
const cmListFileBacktrace& backtrace)
|
||||
|
|
|
@ -15,22 +15,20 @@
|
|||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
|
||||
#include "cmListFileCache.h"
|
||||
|
||||
#include <cm_auto_ptr.hxx>
|
||||
#include <cmsys/RegularExpression.hxx>
|
||||
|
||||
class cmGeneratorTarget;
|
||||
class cmLocalGenerator;
|
||||
class cmListFileBacktrace;
|
||||
|
||||
struct cmGeneratorExpressionEvaluator;
|
||||
struct cmGeneratorExpressionContext;
|
||||
struct cmGeneratorExpressionDAGChecker;
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class cmCompiledGeneratorExpression;
|
||||
class cmGeneratorTarget;
|
||||
class cmLocalGenerator;
|
||||
struct cmGeneratorExpressionContext;
|
||||
struct cmGeneratorExpressionDAGChecker;
|
||||
struct cmGeneratorExpressionEvaluator;
|
||||
|
||||
/** \class cmGeneratorExpression
|
||||
* \brief Evaluate generate-time query expression syntax.
|
||||
|
|
|
@ -12,8 +12,6 @@
|
|||
|
||||
#include "cmGeneratorExpressionContext.h"
|
||||
|
||||
#include "cmGeneratorTarget.h"
|
||||
|
||||
cmGeneratorExpressionContext::cmGeneratorExpressionContext(
|
||||
cmLocalGenerator* lg, std::string const& config, bool quiet,
|
||||
cmGeneratorTarget const* headTarget, const cmGeneratorTarget* currentTarget,
|
||||
|
|
|
@ -13,7 +13,15 @@
|
|||
#include "cmGeneratorExpressionDAGChecker.h"
|
||||
|
||||
#include "cmAlgorithms.h"
|
||||
#include "cmGeneratorExpressionContext.h"
|
||||
#include "cmGeneratorExpressionEvaluator.h"
|
||||
#include "cmGeneratorTarget.h"
|
||||
#include "cmLocalGenerator.h"
|
||||
#include "cmake.h"
|
||||
|
||||
#include <sstream>
|
||||
#include <string.h>
|
||||
#include <utility>
|
||||
|
||||
cmGeneratorExpressionDAGChecker::cmGeneratorExpressionDAGChecker(
|
||||
const cmListFileBacktrace& backtrace, const std::string& target,
|
||||
|
|
|
@ -14,9 +14,14 @@
|
|||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
#include "cmListFileCache.h"
|
||||
|
||||
#include "cmGeneratorExpressionEvaluator.h"
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <string>
|
||||
|
||||
struct GeneratorExpressionContent;
|
||||
struct cmGeneratorExpressionContext;
|
||||
|
||||
#define CM_SELECT_BOTH(F, A1, A2) F(A1, A2)
|
||||
#define CM_SELECT_FIRST(F, A1, A2) F(A1)
|
||||
|
|
|
@ -14,12 +14,17 @@
|
|||
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmListFileCache.h"
|
||||
#include "cmLocalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmSourceFile.h"
|
||||
#include <cmsys/FStream.hxx>
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmake.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <cmConfigure.h>
|
||||
#include <cmsys/FStream.hxx>
|
||||
#include <sstream>
|
||||
#include <utility>
|
||||
|
||||
cmGeneratorExpressionEvaluationFile::cmGeneratorExpressionEvaluationFile(
|
||||
const std::string& input,
|
||||
|
|
|
@ -12,10 +12,15 @@
|
|||
#ifndef cmGeneratorExpressionEvaluationFile_h
|
||||
#define cmGeneratorExpressionEvaluationFile_h
|
||||
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
|
||||
#include "cmGeneratorExpression.h"
|
||||
|
||||
#include <cm_auto_ptr.hxx>
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <sys/types.h>
|
||||
#include <vector>
|
||||
|
||||
class cmLocalGenerator;
|
||||
|
||||
|
|
|
@ -12,21 +12,12 @@
|
|||
#include "cmGeneratorExpressionEvaluator.h"
|
||||
|
||||
#include "cmAlgorithms.h"
|
||||
#include "cmGeneratorExpression.h"
|
||||
#include "cmGeneratorExpressionDAGChecker.h"
|
||||
#include "cmGeneratorExpressionParser.h"
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmLocalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmSourceFile.h"
|
||||
|
||||
#include <cmsys/String.h>
|
||||
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "cmGeneratorExpressionContext.h"
|
||||
#include "cmGeneratorExpressionNode.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <sstream>
|
||||
|
||||
GeneratorExpressionContent::GeneratorExpressionContent(
|
||||
const char* startContent, size_t length)
|
||||
: StartContent(startContent)
|
||||
|
|
|
@ -12,13 +12,13 @@
|
|||
#ifndef cmGeneratorExpressionEvaluator_h
|
||||
#define cmGeneratorExpressionEvaluator_h
|
||||
|
||||
#include "cmGeneratorExpressionContext.h"
|
||||
|
||||
#include "cmListFileCache.h"
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
struct cmGeneratorExpressionContext;
|
||||
struct cmGeneratorExpressionDAGChecker;
|
||||
struct cmGeneratorExpressionNode;
|
||||
|
||||
|
|
|
@ -12,10 +12,10 @@
|
|||
#ifndef cmGeneratorExpressionLexer_h
|
||||
#define cmGeneratorExpressionLexer_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
|
||||
#include <stddef.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
struct cmGeneratorExpressionToken
|
||||
|
|
|
@ -13,9 +13,36 @@
|
|||
#include "cmGeneratorExpressionNode.h"
|
||||
|
||||
#include "cmAlgorithms.h"
|
||||
#include "cmGeneratorExpression.h"
|
||||
#include "cmGeneratorExpressionContext.h"
|
||||
#include "cmGeneratorExpressionDAGChecker.h"
|
||||
#include "cmGeneratorExpressionEvaluator.h"
|
||||
#include "cmGeneratorTarget.h"
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmLinkItem.h"
|
||||
#include "cmLocalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmOutputConverter.h"
|
||||
#include "cmPolicies.h"
|
||||
#include "cmSourceFile.h"
|
||||
#include "cmState.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmTarget.h"
|
||||
#include "cm_auto_ptr.hxx"
|
||||
#include "cmake.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <assert.h>
|
||||
#include <cmConfigure.h>
|
||||
#include <cmsys/RegularExpression.hxx>
|
||||
#include <cmsys/String.h>
|
||||
#include <errno.h>
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <sstream>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <utility>
|
||||
|
||||
std::string cmGeneratorExpressionNode::EvaluateDependentExpression(
|
||||
std::string const& prop, cmLocalGenerator* lg,
|
||||
|
@ -1455,13 +1482,12 @@ static const struct InstallPrefixNode : public cmGeneratorExpressionNode
|
|||
|
||||
} installPrefixNode;
|
||||
|
||||
class ArtifactNameTag;
|
||||
class ArtifactLinkerTag;
|
||||
class ArtifactSonameTag;
|
||||
class ArtifactPdbTag;
|
||||
|
||||
class ArtifactPathTag;
|
||||
class ArtifactDirTag;
|
||||
class ArtifactLinkerTag;
|
||||
class ArtifactNameTag;
|
||||
class ArtifactPathTag;
|
||||
class ArtifactPdbTag;
|
||||
class ArtifactSonameTag;
|
||||
|
||||
template <typename ArtifactT>
|
||||
struct TargetFilesystemArtifactResultCreator
|
||||
|
|
|
@ -12,20 +12,16 @@
|
|||
#ifndef cmGeneratorExpressionNode_h
|
||||
#define cmGeneratorExpressionNode_h
|
||||
|
||||
#include "cmGeneratorExpression.h"
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
|
||||
#include "cmGeneratorExpressionDAGChecker.h"
|
||||
#include "cmGeneratorExpressionEvaluator.h"
|
||||
#include "cmGeneratorExpressionParser.h"
|
||||
#include "cmLocalGenerator.h"
|
||||
#include "cmSourceFile.h"
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <cmsys/String.h>
|
||||
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "cmListFileCache.h"
|
||||
class cmGeneratorTarget;
|
||||
class cmLocalGenerator;
|
||||
struct GeneratorExpressionContent;
|
||||
struct cmGeneratorExpressionContext;
|
||||
struct cmGeneratorExpressionDAGChecker;
|
||||
|
||||
struct cmGeneratorExpressionNode
|
||||
{
|
||||
|
|
|
@ -14,7 +14,8 @@
|
|||
|
||||
#include "cmGeneratorExpressionEvaluator.h"
|
||||
|
||||
#include "assert.h"
|
||||
#include <assert.h>
|
||||
#include <stddef.h>
|
||||
|
||||
cmGeneratorExpressionParser::cmGeneratorExpressionParser(
|
||||
const std::vector<cmGeneratorExpressionToken>& tokens)
|
||||
|
|
|
@ -12,12 +12,11 @@
|
|||
#ifndef cmGeneratorExpressionParser_h
|
||||
#define cmGeneratorExpressionParser_h
|
||||
|
||||
#include "cmGeneratorExpressionLexer.h"
|
||||
#include <cmConfigure.h> // IWYU pragma: keep
|
||||
|
||||
#include <set>
|
||||
#include <vector>
|
||||
|
||||
#include "cmListFileCache.h"
|
||||
#include "cmGeneratorExpressionLexer.h"
|
||||
|
||||
struct cmGeneratorExpressionEvaluator;
|
||||
|
||||
|
|
|
@ -13,19 +13,33 @@
|
|||
|
||||
#include "cmAlgorithms.h"
|
||||
#include "cmComputeLinkInformation.h"
|
||||
#include "cmCustomCommand.h"
|
||||
#include "cmCustomCommandGenerator.h"
|
||||
#include "cmCustomCommandLines.h"
|
||||
#include "cmGeneratorExpression.h"
|
||||
#include "cmGeneratorExpressionDAGChecker.h"
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmLocalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmPropertyMap.h"
|
||||
#include "cmSourceFile.h"
|
||||
#include "cmSourceFileLocation.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmTarget.h"
|
||||
#include "cmTargetLinkLibraryType.h"
|
||||
#include "cm_auto_ptr.hxx"
|
||||
#include "cmake.h"
|
||||
|
||||
#include <queue>
|
||||
|
||||
#include "assert.h"
|
||||
#include <algorithm>
|
||||
#include <assert.h>
|
||||
#include <cmsys/RegularExpression.hxx>
|
||||
#include <errno.h>
|
||||
#include <iterator>
|
||||
#include <queue>
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#if defined(CMake_HAVE_CXX_UNORDERED_SET)
|
||||
#include <unordered_set>
|
||||
|
|
|
@ -12,15 +12,26 @@
|
|||
#ifndef cmGeneratorTarget_h
|
||||
#define cmGeneratorTarget_h
|
||||
|
||||
#include "cmLinkItem.h"
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmLinkItem.h"
|
||||
#include "cmListFileCache.h"
|
||||
#include "cmPolicies.h"
|
||||
#include "cmState.h"
|
||||
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
class cmComputeLinkInformation;
|
||||
class cmCustomCommand;
|
||||
class cmGlobalGenerator;
|
||||
class cmLocalGenerator;
|
||||
class cmMakefile;
|
||||
class cmSourceFile;
|
||||
class cmTarget;
|
||||
class cmComputeLinkInformation;
|
||||
|
||||
class cmGeneratorTarget
|
||||
{
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include "cmGhsMultiTargetGenerator.h"
|
||||
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmGeneratorTarget.h"
|
||||
#include "cmGlobalGhsMultiGenerator.h"
|
||||
#include "cmLocalGhsMultiGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
============================================================================*/
|
||||
#include "cmGlobalCommonGenerator.h"
|
||||
|
||||
class cmake;
|
||||
|
||||
cmGlobalCommonGenerator::cmGlobalCommonGenerator(cmake* cm)
|
||||
: cmGlobalGenerator(cm)
|
||||
{
|
||||
|
|
|
@ -12,8 +12,12 @@
|
|||
#ifndef cmGlobalCommonGenerator_h
|
||||
#define cmGlobalCommonGenerator_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmGlobalGenerator.h"
|
||||
|
||||
class cmake;
|
||||
|
||||
/** \class cmGlobalCommonGenerator
|
||||
* \brief Common infrastructure for Makefile and Ninja global generators.
|
||||
*/
|
||||
|
|
|
@ -21,6 +21,8 @@
|
|||
#include "cmAlgorithms.h"
|
||||
#include "cmCPackPropertiesGenerator.h"
|
||||
#include "cmComputeTargetDepends.h"
|
||||
#include "cmCustomCommand.h"
|
||||
#include "cmCustomCommandLines.h"
|
||||
#include "cmExportBuildFileGenerator.h"
|
||||
#include "cmExternalMakefileProjectGenerator.h"
|
||||
#include "cmGeneratedFileStream.h"
|
||||
|
@ -29,25 +31,31 @@
|
|||
#include "cmInstallGenerator.h"
|
||||
#include "cmLocalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmOutputConverter.h"
|
||||
#include "cmPolicies.h"
|
||||
#include "cmQtAutoGeneratorInitializer.h"
|
||||
#include "cmSourceFile.h"
|
||||
#include "cmState.h"
|
||||
#include "cmTargetExport.h"
|
||||
#include "cmVersion.h"
|
||||
#include "cmake.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <assert.h>
|
||||
#include <cmsys/Directory.hxx>
|
||||
#include <cmsys/FStream.hxx>
|
||||
#include <iterator>
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#if defined(CMAKE_BUILD_WITH_CMAKE)
|
||||
#include "cm_jsoncpp_value.h"
|
||||
#include "cm_jsoncpp_writer.h"
|
||||
#include <cm_jsoncpp_value.h>
|
||||
#include <cm_jsoncpp_writer.h>
|
||||
#include <cmsys/MD5.h>
|
||||
#endif
|
||||
|
||||
#include <stdlib.h> // required for atof
|
||||
|
||||
#include <assert.h>
|
||||
class cmInstalledFile;
|
||||
|
||||
bool cmTarget::StrictTargetComparison::operator()(cmTarget const* t1,
|
||||
cmTarget const* t2) const
|
||||
|
|
|
@ -15,15 +15,18 @@
|
|||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmStandardIncludes.h"
|
||||
|
||||
#include "cmExportSetMap.h" // For cmExportSetMap
|
||||
#include "cmGeneratorExpression.h"
|
||||
#include "cmGeneratorTarget.h"
|
||||
#include "cmExportSetMap.h"
|
||||
#include "cmState.h"
|
||||
#include "cmSystemTools.h" // for cmSystemTools::OutputOption
|
||||
#include "cmTarget.h" // For cmTargets
|
||||
#include "cmTargetDepend.h" // For cmTargetDependSet
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmTarget.h"
|
||||
#include "cmTargetDepend.h"
|
||||
|
||||
#include <iosfwd>
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#if defined(CMAKE_BUILD_WITH_CMAKE)
|
||||
#include "cmFileLockPool.h"
|
||||
|
@ -34,15 +37,14 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
class cmake;
|
||||
class cmGeneratorTarget;
|
||||
class cmMakefile;
|
||||
class cmLocalGenerator;
|
||||
class cmExternalMakefileProjectGenerator;
|
||||
class cmTarget;
|
||||
class cmInstallTargetGenerator;
|
||||
class cmInstallFilesGenerator;
|
||||
class cmCustomCommandLines;
|
||||
class cmSourceFile;
|
||||
class cmExportBuildFileGenerator;
|
||||
class cmExternalMakefileProjectGenerator;
|
||||
class cmGeneratorTarget;
|
||||
class cmLocalGenerator;
|
||||
class cmMakefile;
|
||||
class cmake;
|
||||
|
||||
/** \class cmGlobalGenerator
|
||||
* \brief Responsible for overseeing the generation process for the entire tree
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include "cmGlobalGhsMultiGenerator.h"
|
||||
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmGeneratorTarget.h"
|
||||
#include "cmGhsMultiTargetGenerator.h"
|
||||
#include "cmLocalGhsMultiGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
|
|
|
@ -13,17 +13,23 @@
|
|||
#include "cmGlobalKdevelopGenerator.h"
|
||||
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmGlobalUnixMakefileGenerator3.h"
|
||||
#include "cmLocalUnixMakefileGenerator3.h"
|
||||
#include "cmGeneratorTarget.h"
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmLocalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmSourceFile.h"
|
||||
#include "cmState.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmTarget.h"
|
||||
#include "cmXMLWriter.h"
|
||||
#include "cmake.h"
|
||||
|
||||
#include <cmsys/Directory.hxx>
|
||||
#include <cmsys/FStream.hxx>
|
||||
#include <cmsys/SystemTools.hxx>
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <string.h>
|
||||
#include <utility>
|
||||
|
||||
cmGlobalKdevelopGenerator::cmGlobalKdevelopGenerator()
|
||||
: cmExternalMakefileProjectGenerator()
|
||||
|
|
|
@ -13,8 +13,13 @@
|
|||
#ifndef cmGlobalKdevelopGenerator_h
|
||||
#define cmGlobalKdevelopGenerator_h
|
||||
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmExternalMakefileProjectGenerator.h"
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class cmLocalGenerator;
|
||||
|
||||
/** \class cmGlobalKdevelopGenerator
|
||||
|
|
|
@ -13,16 +13,27 @@
|
|||
#include "cmGlobalNinjaGenerator.h"
|
||||
|
||||
#include "cmAlgorithms.h"
|
||||
#include "cmDocumentationEntry.h"
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmGeneratorExpressionEvaluationFile.h"
|
||||
#include "cmGeneratorTarget.h"
|
||||
#include "cmLocalGenerator.h"
|
||||
#include "cmLocalNinjaGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmOutputConverter.h"
|
||||
#include "cmState.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmTarget.h"
|
||||
#include "cmTargetDepend.h"
|
||||
#include "cmVersion.h"
|
||||
#include "cmake.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <assert.h>
|
||||
#include <ctype.h>
|
||||
#include <functional>
|
||||
#include <iterator>
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
|
||||
const char* cmGlobalNinjaGenerator::NINJA_BUILD_FILE = "build.ninja";
|
||||
const char* cmGlobalNinjaGenerator::NINJA_RULES_FILE = "rules.ninja";
|
||||
|
|
|
@ -13,16 +13,28 @@
|
|||
#ifndef cmGlobalNinjaGenerator_h
|
||||
#define cmGlobalNinjaGenerator_h
|
||||
|
||||
#include "cmGlobalCommonGenerator.h"
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmGlobalCommonGenerator.h"
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmGlobalGeneratorFactory.h"
|
||||
#include "cmNinjaTypes.h"
|
||||
#include "cmPolicies.h"
|
||||
|
||||
//#define NINJA_GEN_VERBOSE_FILES
|
||||
#include <iosfwd>
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
class cmLocalGenerator;
|
||||
class cmCustomCommand;
|
||||
class cmMakefile;
|
||||
class cmake;
|
||||
struct cmDocumentationEntry;
|
||||
class cmGeneratedFileStream;
|
||||
class cmGeneratorTarget;
|
||||
class cmLocalGenerator;
|
||||
|
||||
/**
|
||||
* \class cmGlobalNinjaGenerator
|
||||
|
|
|
@ -12,13 +12,25 @@
|
|||
#include "cmGlobalUnixMakefileGenerator3.h"
|
||||
|
||||
#include "cmAlgorithms.h"
|
||||
#include "cmDocumentationEntry.h"
|
||||
#include "cmGeneratedFileStream.h"
|
||||
#include "cmGeneratorTarget.h"
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmLocalGenerator.h"
|
||||
#include "cmLocalUnixMakefileGenerator3.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmMakefileTargetGenerator.h"
|
||||
#include "cmOutputConverter.h"
|
||||
#include "cmSystemTools.h"
|
||||
#include "cmTarget.h"
|
||||
#include "cmTargetDepend.h"
|
||||
#include "cmake.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
#include <sstream>
|
||||
#include <utility>
|
||||
|
||||
cmGlobalUnixMakefileGenerator3::cmGlobalUnixMakefileGenerator3(cmake* cm)
|
||||
: cmGlobalCommonGenerator(cm)
|
||||
{
|
||||
|
|
|
@ -12,13 +12,27 @@
|
|||
#ifndef cmGlobalUnixMakefileGenerator3_h
|
||||
#define cmGlobalUnixMakefileGenerator3_h
|
||||
|
||||
#include "cmGlobalCommonGenerator.h"
|
||||
#include <cmConfigure.h>
|
||||
|
||||
#include "cmGeneratorTarget.h"
|
||||
#include "cmGlobalCommonGenerator.h"
|
||||
#include "cmGlobalGeneratorFactory.h"
|
||||
#include "cmState.h"
|
||||
|
||||
#include <iosfwd>
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <stddef.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class cmGeneratedFileStream;
|
||||
class cmMakefileTargetGenerator;
|
||||
class cmLocalGenerator;
|
||||
class cmLocalUnixMakefileGenerator3;
|
||||
class cmMakefile;
|
||||
class cmMakefileTargetGenerator;
|
||||
class cmake;
|
||||
struct cmDocumentationEntry;
|
||||
|
||||
/** \class cmGlobalUnixMakefileGenerator3
|
||||
* \brief Write a Unix makefiles.
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include "cmGlobalVisualStudio10Generator.h"
|
||||
|
||||
#include "cmAlgorithms.h"
|
||||
#include "cmGeneratorTarget.h"
|
||||
#include "cmLocalVisualStudio10Generator.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmSourceFile.h"
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue