Merge topic 'include-what-you-use'
efed6468
fix a load of include-what-you-use violationsbd3d0eaf
cmCTest: don't redefine cout and cerr3838a0d5
make sure to include cmConfigure.h before cmStandardIncludes.h54140848
Tests/CMakeLib: include what you use3f9c4cdf
Tests/CMakeLib: use cmsys::ifstream
This commit is contained in:
commit
bfdf1322e7
|
@ -13,6 +13,8 @@
|
||||||
#ifndef cmWIXRichTextFormatWriter_h
|
#ifndef cmWIXRichTextFormatWriter_h
|
||||||
#define cmWIXRichTextFormatWriter_h
|
#define cmWIXRichTextFormatWriter_h
|
||||||
|
|
||||||
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include "cmStandardIncludes.h"
|
||||||
|
|
||||||
#include <cmsys/FStream.hxx>
|
#include <cmsys/FStream.hxx>
|
||||||
|
|
|
@ -13,6 +13,8 @@
|
||||||
#ifndef cmCPackComponentGroup_h
|
#ifndef cmCPackComponentGroup_h
|
||||||
#define cmCPackComponentGroup_h
|
#define cmCPackComponentGroup_h
|
||||||
|
|
||||||
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include "cmStandardIncludes.h"
|
||||||
|
|
||||||
class cmCPackComponentGroup;
|
class cmCPackComponentGroup;
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
#ifndef cmCursesStandardIncludes_h
|
#ifndef cmCursesStandardIncludes_h
|
||||||
#define cmCursesStandardIncludes_h
|
#define cmCursesStandardIncludes_h
|
||||||
|
|
||||||
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
#include "../cmStandardIncludes.h"
|
#include "../cmStandardIncludes.h"
|
||||||
|
|
||||||
#if defined(__sun__) && defined(__GNUC__)
|
#if defined(__sun__) && defined(__GNUC__)
|
||||||
|
|
|
@ -27,6 +27,8 @@
|
||||||
#include <cmsys/Encoding.hxx>
|
#include <cmsys/Encoding.hxx>
|
||||||
#include <cmsys/SystemTools.hxx>
|
#include <cmsys/SystemTools.hxx>
|
||||||
|
|
||||||
|
#include "cmSystemTools.h" // IWYU pragma: keep
|
||||||
|
|
||||||
static const char* cmDocumentationName[][2] = { { 0,
|
static const char* cmDocumentationName[][2] = { { 0,
|
||||||
" cmake-gui - CMake GUI." },
|
" cmake-gui - CMake GUI." },
|
||||||
{ 0, 0 } };
|
{ 0, 0 } };
|
||||||
|
|
|
@ -13,6 +13,8 @@
|
||||||
#ifndef bindexplib_h
|
#ifndef bindexplib_h
|
||||||
#define bindexplib_h
|
#define bindexplib_h
|
||||||
|
|
||||||
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include "cmStandardIncludes.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
#ifndef cmAlgorithms_h
|
#ifndef cmAlgorithms_h
|
||||||
#define cmAlgorithms_h
|
#define cmAlgorithms_h
|
||||||
|
|
||||||
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include "cmStandardIncludes.h"
|
||||||
|
|
||||||
inline bool cmHasLiteralPrefixImpl(const std::string& str1, const char* str2,
|
inline bool cmHasLiteralPrefixImpl(const std::string& str1, const char* str2,
|
||||||
|
|
|
@ -9,52 +9,54 @@
|
||||||
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
See the License for more information.
|
See the License for more information.
|
||||||
============================================================================*/
|
============================================================================*/
|
||||||
#include "cmCurl.h" // include before anything that includes windows.h
|
|
||||||
|
|
||||||
#include "cmCTest.h"
|
#include "cmCTest.h"
|
||||||
|
|
||||||
#include "cmAlgorithms.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 "cmCTestStartCommand.h"
|
||||||
|
#include "cmCTestSubmitHandler.h"
|
||||||
|
#include "cmCTestTestHandler.h"
|
||||||
|
#include "cmCTestUpdateHandler.h"
|
||||||
|
#include "cmCTestUploadHandler.h"
|
||||||
|
#include "cmCurl.h"
|
||||||
#include "cmDynamicLoader.h"
|
#include "cmDynamicLoader.h"
|
||||||
#include "cmGeneratedFileStream.h"
|
#include "cmGeneratedFileStream.h"
|
||||||
#include "cmGlobalGenerator.h"
|
#include "cmGlobalGenerator.h"
|
||||||
#include "cmMakefile.h"
|
#include "cmMakefile.h"
|
||||||
#include "cmState.h"
|
#include "cmState.h"
|
||||||
#include "cmVersionMacros.h"
|
#include "cmSystemTools.h"
|
||||||
|
#include "cmVersion.h"
|
||||||
|
#include "cmVersionConfig.h"
|
||||||
#include "cmXMLWriter.h"
|
#include "cmXMLWriter.h"
|
||||||
#include "cmake.h"
|
#include "cmake.h"
|
||||||
|
|
||||||
|
#include <cm_auto_ptr.hxx>
|
||||||
|
#include <cm_curl.h>
|
||||||
|
#include <cm_zlib.h>
|
||||||
#include <cmsys/Base64.h>
|
#include <cmsys/Base64.h>
|
||||||
#include <cmsys/Directory.hxx>
|
#include <cmsys/Directory.hxx>
|
||||||
#include <cmsys/FStream.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/Glob.hxx>
|
||||||
#include <cmsys/Process.h>
|
#include <cmsys/Process.h>
|
||||||
#include <cmsys/RegularExpression.hxx>
|
#include <cmsys/String.hxx>
|
||||||
|
#include <cmsys/SystemInformation.hxx>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <float.h>
|
#include <iostream>
|
||||||
#include <math.h>
|
#include <map>
|
||||||
|
#include <sstream>
|
||||||
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
#include <cm_auto_ptr.hxx>
|
#include <string>
|
||||||
|
#include <time.h>
|
||||||
#include <cm_zlib.h>
|
#include <utility>
|
||||||
#include <cmsys/Base64.h>
|
#include <vector>
|
||||||
|
|
||||||
#if defined(__BEOS__) || defined(__HAIKU__)
|
#if defined(__BEOS__) || defined(__HAIKU__)
|
||||||
#include <be/kernel/OS.h> /* disable_debugger() API. */
|
#include <be/kernel/OS.h> /* disable_debugger() API. */
|
||||||
|
|
|
@ -13,18 +13,20 @@
|
||||||
#ifndef cmCTest_h
|
#ifndef cmCTest_h
|
||||||
#define cmCTest_h
|
#define cmCTest_h
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
#include "cmListFileCache.h"
|
#include <cmsys/String.hxx>
|
||||||
|
#include <map>
|
||||||
|
#include <set>
|
||||||
|
#include <sstream>
|
||||||
|
#include <string>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
class cmake;
|
|
||||||
class cmMakefile;
|
|
||||||
class cmCTestGenericHandler;
|
class cmCTestGenericHandler;
|
||||||
class cmGeneratedFileStream;
|
|
||||||
class cmCTestCommand;
|
|
||||||
class cmCTestScriptHandler;
|
|
||||||
class cmCTestStartCommand;
|
class cmCTestStartCommand;
|
||||||
|
class cmGeneratedFileStream;
|
||||||
|
class cmMakefile;
|
||||||
class cmXMLWriter;
|
class cmXMLWriter;
|
||||||
|
|
||||||
#define cmCTestLog(ctSelf, logType, msg) \
|
#define cmCTestLog(ctSelf, logType, msg) \
|
||||||
|
@ -43,16 +45,6 @@ class cmXMLWriter;
|
||||||
cmCTestLog_msg.str().c_str(), suppress); \
|
cmCTestLog_msg.str().c_str(), suppress); \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
#ifdef cerr
|
|
||||||
#undef cerr
|
|
||||||
#endif
|
|
||||||
#define cerr no_cerr_use_cmCTestLog
|
|
||||||
|
|
||||||
#ifdef cout
|
|
||||||
#undef cout
|
|
||||||
#endif
|
|
||||||
#define cout no_cout_use_cmCTestLog
|
|
||||||
|
|
||||||
/** \class cmCTest
|
/** \class cmCTest
|
||||||
* \brief Represents a ctest invocation.
|
* \brief Represents a ctest invocation.
|
||||||
*
|
*
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
#ifndef cmCallVisualStudioMacro_h
|
#ifndef cmCallVisualStudioMacro_h
|
||||||
#define cmCallVisualStudioMacro_h
|
#define cmCallVisualStudioMacro_h
|
||||||
|
|
||||||
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include "cmStandardIncludes.h"
|
||||||
|
|
||||||
/** \class cmCallVisualStudioMacro
|
/** \class cmCallVisualStudioMacro
|
||||||
|
|
|
@ -11,12 +11,18 @@
|
||||||
============================================================================*/
|
============================================================================*/
|
||||||
#include "cmCommandArgumentParserHelper.h"
|
#include "cmCommandArgumentParserHelper.h"
|
||||||
|
|
||||||
#include "cmMakefile.h"
|
#include <cm_kwiml.h>
|
||||||
#include "cmOutputConverter.h"
|
|
||||||
#include "cmState.h"
|
|
||||||
#include "cmSystemTools.h"
|
|
||||||
|
|
||||||
#include "cmCommandArgumentLexer.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);
|
int cmCommandArgument_yyparse(yyscan_t yyscanner);
|
||||||
//
|
//
|
||||||
|
|
|
@ -12,7 +12,10 @@
|
||||||
#ifndef cmCommandArgumentParserHelper_h
|
#ifndef cmCommandArgumentParserHelper_h
|
||||||
#define cmCommandArgumentParserHelper_h
|
#define cmCommandArgumentParserHelper_h
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include <cmConfigure.h> // IWYU pragma: keep
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
#define YYSTYPE cmCommandArgumentParserHelper::ParserType
|
#define YYSTYPE cmCommandArgumentParserHelper::ParserType
|
||||||
#define YYSTYPE_IS_DECLARED
|
#define YYSTYPE_IS_DECLARED
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
#ifndef cmCommandArgumentsHelper_h
|
#ifndef cmCommandArgumentsHelper_h
|
||||||
#define cmCommandArgumentsHelper_h
|
#define cmCommandArgumentsHelper_h
|
||||||
|
|
||||||
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include "cmStandardIncludes.h"
|
||||||
|
|
||||||
class cmCommandArgumentsHelper;
|
class cmCommandArgumentsHelper;
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
|
|
||||||
#include "cmAlgorithms.h"
|
#include "cmAlgorithms.h"
|
||||||
#include "cmOutputConverter.h"
|
#include "cmOutputConverter.h"
|
||||||
|
#include "cmSystemTools.h"
|
||||||
|
|
||||||
static std::string const keyAND = "AND";
|
static std::string const keyAND = "AND";
|
||||||
static std::string const keyCOMMAND = "COMMAND";
|
static std::string const keyCOMMAND = "COMMAND";
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#ifndef cmConfigure_h
|
#ifndef cmConfigure_h
|
||||||
#define cmConfigure_h
|
#define cmConfigure_h
|
||||||
|
|
||||||
#include <cmsys/Configure.hxx>
|
#include <cmsys/Configure.hxx> // IWYU pragma: keep
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#pragma warning(disable : 4786)
|
#pragma warning(disable : 4786)
|
||||||
|
|
|
@ -12,8 +12,10 @@
|
||||||
#include "cmCryptoHash.h"
|
#include "cmCryptoHash.h"
|
||||||
|
|
||||||
#include "cm_sha2.h"
|
#include "cm_sha2.h"
|
||||||
|
|
||||||
#include <cmsys/FStream.hxx>
|
#include <cmsys/FStream.hxx>
|
||||||
#include <cmsys/MD5.h>
|
#include <cmsys/MD5.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
CM_AUTO_PTR<cmCryptoHash> cmCryptoHash::New(const char* algo)
|
CM_AUTO_PTR<cmCryptoHash> cmCryptoHash::New(const char* algo)
|
||||||
{
|
{
|
||||||
|
|
|
@ -12,9 +12,11 @@
|
||||||
#ifndef cmCryptoHash_h
|
#ifndef cmCryptoHash_h
|
||||||
#define cmCryptoHash_h
|
#define cmCryptoHash_h
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
#include <cm_auto_ptr.hxx>
|
#include <cm_auto_ptr.hxx>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Abstract base class for cryptographic hash generators
|
* @brief Abstract base class for cryptographic hash generators
|
||||||
|
|
|
@ -11,7 +11,13 @@
|
||||||
============================================================================*/
|
============================================================================*/
|
||||||
#include "cmCurl.h"
|
#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"
|
#include "cmSystemTools.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
// curl versions before 7.21.5 did not provide this error code
|
// curl versions before 7.21.5 did not provide this error code
|
||||||
#if defined(LIBCURL_VERSION_NUM) && LIBCURL_VERSION_NUM < 0x071505
|
#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);
|
::CURLcode res = ::curl_easy_setopt(curl, CURLOPT_CAINFO, cafile);
|
||||||
check_curl_result(res, "Unable to set TLS/SSL Verify CAINFO: ");
|
check_curl_result(res, "Unable to set TLS/SSL Verify CAINFO: ");
|
||||||
}
|
}
|
||||||
#if !defined(CMAKE_USE_SYSTEM_CURL) && !defined(_WIN32) && \
|
#ifdef CMAKE_FIND_CAFILE
|
||||||
!defined(__APPLE__) && !defined(CURL_CA_BUNDLE) && !defined(CURL_CA_PATH)
|
|
||||||
#define CMAKE_CAFILE_FEDORA "/etc/pki/tls/certs/ca-bundle.crt"
|
#define CMAKE_CAFILE_FEDORA "/etc/pki/tls/certs/ca-bundle.crt"
|
||||||
else if (cmSystemTools::FileExists(CMAKE_CAFILE_FEDORA, true)) {
|
else if (cmSystemTools::FileExists(CMAKE_CAFILE_FEDORA, true)) {
|
||||||
::CURLcode res =
|
::CURLcode res =
|
||||||
|
|
|
@ -12,9 +12,10 @@
|
||||||
#ifndef cmCurl_h
|
#ifndef cmCurl_h
|
||||||
#define cmCurl_h
|
#define cmCurl_h
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
#include "cm_curl.h"
|
#include <cm_curl.h>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
std::string cmCurlSetCAInfo(::CURL* curl, const char* cafile = CM_NULLPTR);
|
std::string cmCurlSetCAInfo(::CURL* curl, const char* cafile = CM_NULLPTR);
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
#include "cmMakefile.h"
|
#include "cmMakefile.h"
|
||||||
|
|
||||||
#include <cm_auto_ptr.hxx>
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
cmCustomCommand::cmCustomCommand()
|
cmCustomCommand::cmCustomCommand()
|
||||||
: Backtrace()
|
: Backtrace()
|
||||||
|
|
|
@ -12,9 +12,15 @@
|
||||||
#ifndef cmCustomCommand_h
|
#ifndef cmCustomCommand_h
|
||||||
#define cmCustomCommand_h
|
#define cmCustomCommand_h
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include <cmConfigure.h> // IWYU pragma: keep
|
||||||
|
|
||||||
|
#include "cmCustomCommandLines.h"
|
||||||
#include "cmListFileCache.h"
|
#include "cmListFileCache.h"
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <utility>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
class cmMakefile;
|
class cmMakefile;
|
||||||
|
|
||||||
/** \class cmCustomCommand
|
/** \class cmCustomCommand
|
||||||
|
|
|
@ -12,10 +12,17 @@
|
||||||
#include "cmCustomCommandGenerator.h"
|
#include "cmCustomCommandGenerator.h"
|
||||||
|
|
||||||
#include "cmCustomCommand.h"
|
#include "cmCustomCommand.h"
|
||||||
|
#include "cmCustomCommandLines.h"
|
||||||
#include "cmGeneratorExpression.h"
|
#include "cmGeneratorExpression.h"
|
||||||
|
#include "cmGeneratorTarget.h"
|
||||||
#include "cmLocalGenerator.h"
|
#include "cmLocalGenerator.h"
|
||||||
#include "cmMakefile.h"
|
#include "cmMakefile.h"
|
||||||
#include "cmOutputConverter.h"
|
#include "cmOutputConverter.h"
|
||||||
|
#include "cmState.h"
|
||||||
|
#include "cmSystemTools.h"
|
||||||
|
#include "cm_auto_ptr.hxx"
|
||||||
|
|
||||||
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
cmCustomCommandGenerator::cmCustomCommandGenerator(cmCustomCommand const& cc,
|
cmCustomCommandGenerator::cmCustomCommandGenerator(cmCustomCommand const& cc,
|
||||||
const std::string& config,
|
const std::string& config,
|
||||||
|
|
|
@ -12,11 +12,14 @@
|
||||||
#ifndef cmCustomCommandGenerator_h
|
#ifndef cmCustomCommandGenerator_h
|
||||||
#define cmCustomCommandGenerator_h
|
#define cmCustomCommandGenerator_h
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include <cmConfigure.h> // IWYU pragma: keep
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
class cmCustomCommand;
|
class cmCustomCommand;
|
||||||
class cmLocalGenerator;
|
|
||||||
class cmGeneratorExpression;
|
class cmGeneratorExpression;
|
||||||
|
class cmLocalGenerator;
|
||||||
|
|
||||||
class cmCustomCommandGenerator
|
class cmCustomCommandGenerator
|
||||||
{
|
{
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
#include "cmDefinitions.h"
|
#include "cmDefinitions.h"
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
#include <set>
|
||||||
|
#include <utility>
|
||||||
|
|
||||||
cmDefinitions::Def cmDefinitions::NoDef;
|
cmDefinitions::Def cmDefinitions::NoDef;
|
||||||
|
|
||||||
|
|
|
@ -12,20 +12,23 @@
|
||||||
#ifndef cmDefinitions_h
|
#ifndef cmDefinitions_h
|
||||||
#define cmDefinitions_h
|
#define cmDefinitions_h
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
#include "cmLinkedTree.h"
|
#include "cmLinkedTree.h"
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
#if defined(CMAKE_BUILD_WITH_CMAKE)
|
#if defined(CMAKE_BUILD_WITH_CMAKE)
|
||||||
#ifdef CMake_HAVE_CXX_UNORDERED_MAP
|
#ifdef CMake_HAVE_CXX_UNORDERED_MAP
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
#else
|
#else
|
||||||
#include "cmsys/hash_map.hxx"
|
#include "cmsys/hash_map.hxx"
|
||||||
#endif
|
#endif
|
||||||
|
#else
|
||||||
|
#include <map>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <list>
|
|
||||||
|
|
||||||
/** \class cmDefinitions
|
/** \class cmDefinitions
|
||||||
* \brief Store a scope of variable definitions for CMake language.
|
* \brief Store a scope of variable definitions for CMake language.
|
||||||
*
|
*
|
||||||
|
|
|
@ -16,8 +16,11 @@
|
||||||
#include "cmLocalGenerator.h"
|
#include "cmLocalGenerator.h"
|
||||||
#include "cmMakefile.h"
|
#include "cmMakefile.h"
|
||||||
#include "cmSystemTools.h"
|
#include "cmSystemTools.h"
|
||||||
|
|
||||||
#include <cmsys/FStream.hxx>
|
#include <cmsys/FStream.hxx>
|
||||||
|
#include <sstream>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <utility>
|
||||||
|
|
||||||
cmDepends::cmDepends(cmLocalGenerator* lg, const char* targetDir)
|
cmDepends::cmDepends(cmLocalGenerator* lg, const char* targetDir)
|
||||||
: CompileDirectory()
|
: CompileDirectory()
|
||||||
|
|
|
@ -12,7 +12,14 @@
|
||||||
#ifndef cmDepends_h
|
#ifndef cmDepends_h
|
||||||
#define cmDepends_h
|
#define cmDepends_h
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
|
#include <iosfwd>
|
||||||
|
#include <map>
|
||||||
|
#include <set>
|
||||||
|
#include <stddef.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
class cmFileTimeComparison;
|
class cmFileTimeComparison;
|
||||||
class cmLocalGenerator;
|
class cmLocalGenerator;
|
||||||
|
|
|
@ -15,10 +15,11 @@
|
||||||
#include "cmFileTimeComparison.h"
|
#include "cmFileTimeComparison.h"
|
||||||
#include "cmLocalGenerator.h"
|
#include "cmLocalGenerator.h"
|
||||||
#include "cmMakefile.h"
|
#include "cmMakefile.h"
|
||||||
|
#include "cmOutputConverter.h"
|
||||||
#include "cmSystemTools.h"
|
#include "cmSystemTools.h"
|
||||||
#include <cmsys/FStream.hxx>
|
|
||||||
|
|
||||||
#include <ctype.h> // isspace
|
#include <cmsys/FStream.hxx>
|
||||||
|
#include <utility>
|
||||||
|
|
||||||
#define INCLUDE_REGEX_LINE \
|
#define INCLUDE_REGEX_LINE \
|
||||||
"^[ \t]*#[ \t]*(include|import)[ \t]*[<\"]([^\">]+)([\">])"
|
"^[ \t]*#[ \t]*(include|import)[ \t]*[<\"]([^\">]+)([\">])"
|
||||||
|
|
|
@ -12,10 +12,19 @@
|
||||||
#ifndef cmDependsC_h
|
#ifndef cmDependsC_h
|
||||||
#define cmDependsC_h
|
#define cmDependsC_h
|
||||||
|
|
||||||
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
#include "cmDepends.h"
|
#include "cmDepends.h"
|
||||||
|
|
||||||
#include <cmsys/RegularExpression.hxx>
|
#include <cmsys/RegularExpression.hxx>
|
||||||
|
#include <iosfwd>
|
||||||
|
#include <map>
|
||||||
#include <queue>
|
#include <queue>
|
||||||
|
#include <set>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
|
class cmLocalGenerator;
|
||||||
|
|
||||||
/** \class cmDependsC
|
/** \class cmDependsC
|
||||||
* \brief Dependency scanner for C and C++ object files.
|
* \brief Dependency scanner for C and C++ object files.
|
||||||
|
|
|
@ -11,14 +11,20 @@
|
||||||
============================================================================*/
|
============================================================================*/
|
||||||
#include "cmDependsFortran.h"
|
#include "cmDependsFortran.h"
|
||||||
|
|
||||||
|
#include "cmFortranParser.h" /* Interface to parser object. */
|
||||||
#include "cmGeneratedFileStream.h"
|
#include "cmGeneratedFileStream.h"
|
||||||
#include "cmLocalGenerator.h"
|
#include "cmLocalGenerator.h"
|
||||||
#include "cmMakefile.h"
|
#include "cmMakefile.h"
|
||||||
|
#include "cmOutputConverter.h"
|
||||||
#include "cmSystemTools.h"
|
#include "cmSystemTools.h"
|
||||||
|
|
||||||
#include "cmFortranParser.h" /* Interface to parser object. */
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <cmsys/FStream.hxx>
|
#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
|
// 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
|
// use lower case and some always use upper case. I do not know if any
|
||||||
|
|
|
@ -12,10 +12,17 @@
|
||||||
#ifndef cmFortran_h
|
#ifndef cmFortran_h
|
||||||
#define cmFortran_h
|
#define cmFortran_h
|
||||||
|
|
||||||
|
#include <cmConfigure.h>
|
||||||
|
#include <iosfwd>
|
||||||
|
#include <set>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
#include "cmDepends.h"
|
#include "cmDepends.h"
|
||||||
|
|
||||||
class cmDependsFortranInternals;
|
class cmDependsFortranInternals;
|
||||||
class cmFortranSourceInfo;
|
class cmFortranSourceInfo;
|
||||||
|
class cmLocalGenerator;
|
||||||
|
|
||||||
/** \class cmDependsFortran
|
/** \class cmDependsFortran
|
||||||
* \brief Dependency scanner for Fortran object files.
|
* \brief Dependency scanner for Fortran object files.
|
||||||
|
|
|
@ -11,7 +11,6 @@
|
||||||
============================================================================*/
|
============================================================================*/
|
||||||
#include "cmDependsJava.h"
|
#include "cmDependsJava.h"
|
||||||
|
|
||||||
#include "cmDependsJavaParserHelper.h"
|
|
||||||
#include "cmSystemTools.h"
|
#include "cmSystemTools.h"
|
||||||
|
|
||||||
cmDependsJava::cmDependsJava()
|
cmDependsJava::cmDependsJava()
|
||||||
|
|
|
@ -12,8 +12,15 @@
|
||||||
#ifndef cmDependsJava_h
|
#ifndef cmDependsJava_h
|
||||||
#define cmDependsJava_h
|
#define cmDependsJava_h
|
||||||
|
|
||||||
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
#include "cmDepends.h"
|
#include "cmDepends.h"
|
||||||
|
|
||||||
|
#include <iosfwd>
|
||||||
|
#include <map>
|
||||||
|
#include <set>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
/** \class cmDependsJava
|
/** \class cmDependsJava
|
||||||
* \brief Dependency scanner for Java class files.
|
* \brief Dependency scanner for Java class files.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include "cmStandardIncludes.h"
|
||||||
#line 2 "cmDependsJavaLexer.cxx"
|
#line 2 "cmDependsJavaLexer.cxx"
|
||||||
|
|
||||||
|
|
|
@ -11,9 +11,16 @@
|
||||||
============================================================================*/
|
============================================================================*/
|
||||||
#include "cmDependsJavaParserHelper.h"
|
#include "cmDependsJavaParserHelper.h"
|
||||||
|
|
||||||
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
#include "cmDependsJavaLexer.h"
|
#include "cmDependsJavaLexer.h"
|
||||||
#include "cmSystemTools.h"
|
#include "cmSystemTools.h"
|
||||||
|
|
||||||
#include <cmsys/FStream.hxx>
|
#include <cmsys/FStream.hxx>
|
||||||
|
#include <iostream>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
int cmDependsJava_yyparse(yyscan_t yyscanner);
|
int cmDependsJava_yyparse(yyscan_t yyscanner);
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,10 @@
|
||||||
#ifndef cmDependsJavaParserHelper_h
|
#ifndef cmDependsJavaParserHelper_h
|
||||||
#define cmDependsJavaParserHelper_h
|
#define cmDependsJavaParserHelper_h
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include <cmConfigure.h> // IWYU pragma: keep
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
#define YYSTYPE cmDependsJavaParserHelper::ParserType
|
#define YYSTYPE cmDependsJavaParserHelper::ParserType
|
||||||
#define YYSTYPE_IS_DECLARED
|
#define YYSTYPE_IS_DECLARED
|
||||||
|
|
|
@ -12,17 +12,18 @@
|
||||||
#include "cmDocumentation.h"
|
#include "cmDocumentation.h"
|
||||||
|
|
||||||
#include "cmAlgorithms.h"
|
#include "cmAlgorithms.h"
|
||||||
|
#include "cmDocumentationEntry.h"
|
||||||
|
#include "cmDocumentationSection.h"
|
||||||
#include "cmRST.h"
|
#include "cmRST.h"
|
||||||
#include "cmSystemTools.h"
|
#include "cmSystemTools.h"
|
||||||
#include "cmVersion.h"
|
#include "cmVersion.h"
|
||||||
|
|
||||||
#include <cmsys/Directory.hxx>
|
#include <algorithm>
|
||||||
#include <cmsys/FStream.hxx>
|
#include <cmsys/FStream.hxx>
|
||||||
#include <cmsys/Glob.hxx>
|
#include <cmsys/Glob.hxx>
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
#include <string.h>
|
||||||
#include <algorithm>
|
#include <utility>
|
||||||
|
|
||||||
static const char* cmDocumentationStandardOptions[][2] = {
|
static const char* cmDocumentationStandardOptions[][2] = {
|
||||||
{ "--help,-help,-usage,-h,-H,/?", "Print usage information and exit." },
|
{ "--help,-help,-usage,-h,-H,/?", "Print usage information and exit." },
|
||||||
|
|
|
@ -12,15 +12,17 @@
|
||||||
#ifndef _cmDocumentation_h
|
#ifndef _cmDocumentation_h
|
||||||
#define _cmDocumentation_h
|
#define _cmDocumentation_h
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
#include "cmDocumentationFormatter.h"
|
#include "cmDocumentationFormatter.h"
|
||||||
#include "cmDocumentationSection.h"
|
|
||||||
#include "cmake.h"
|
|
||||||
|
|
||||||
namespace cmsys {
|
#include <iosfwd>
|
||||||
class Directory;
|
#include <map>
|
||||||
}
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
|
class cmDocumentationSection;
|
||||||
|
struct cmDocumentationEntry;
|
||||||
|
|
||||||
/** Class to generate documentation. */
|
/** Class to generate documentation. */
|
||||||
class cmDocumentation : public cmDocumentationEnums
|
class cmDocumentation : public cmDocumentationEnums
|
||||||
|
|
|
@ -11,8 +11,14 @@
|
||||||
============================================================================*/
|
============================================================================*/
|
||||||
#include "cmDocumentationFormatter.h"
|
#include "cmDocumentationFormatter.h"
|
||||||
|
|
||||||
|
#include "cmDocumentationEntry.h"
|
||||||
#include "cmDocumentationSection.h"
|
#include "cmDocumentationSection.h"
|
||||||
|
|
||||||
|
#include <ostream>
|
||||||
|
#include <string.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
cmDocumentationFormatter::cmDocumentationFormatter()
|
cmDocumentationFormatter::cmDocumentationFormatter()
|
||||||
: TextWidth(77)
|
: TextWidth(77)
|
||||||
, TextIndent("")
|
, TextIndent("")
|
||||||
|
|
|
@ -12,7 +12,9 @@
|
||||||
#ifndef _cmDocumentationFormatter_h
|
#ifndef _cmDocumentationFormatter_h
|
||||||
#define _cmDocumentationFormatter_h
|
#define _cmDocumentationFormatter_h
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include <cmConfigure.h> // IWYU pragma: keep
|
||||||
|
|
||||||
|
#include <iosfwd>
|
||||||
|
|
||||||
/** This is just a helper class to make it build with MSVC 6.0.
|
/** This is just a helper class to make it build with MSVC 6.0.
|
||||||
Actually the enums and internal classes could directly go into
|
Actually the enums and internal classes could directly go into
|
||||||
|
|
|
@ -12,7 +12,12 @@
|
||||||
#ifndef _cmDocumentationSection_h
|
#ifndef _cmDocumentationSection_h
|
||||||
#define _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:
|
// Low-level interface for custom documents:
|
||||||
/** Internal class representing a section of the documentation.
|
/** Internal class representing a section of the documentation.
|
||||||
|
|
|
@ -11,6 +11,13 @@
|
||||||
============================================================================*/
|
============================================================================*/
|
||||||
#include "cmDynamicLoader.h"
|
#include "cmDynamicLoader.h"
|
||||||
|
|
||||||
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
|
#include <cmsys/DynamicLoader.hxx>
|
||||||
|
#include <map>
|
||||||
|
#include <string>
|
||||||
|
#include <utility>
|
||||||
|
|
||||||
class cmDynamicLoaderCache
|
class cmDynamicLoaderCache
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#ifndef cmDynamicLoader_h
|
#ifndef cmDynamicLoader_h
|
||||||
#define cmDynamicLoader_h
|
#define cmDynamicLoader_h
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include <cmConfigure.h> // IWYU pragma: keep
|
||||||
|
|
||||||
#include <cmsys/DynamicLoader.hxx>
|
#include <cmsys/DynamicLoader.hxx>
|
||||||
|
|
||||||
|
|
|
@ -9,12 +9,16 @@
|
||||||
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
See the License for more information.
|
See the License for more information.
|
||||||
============================================================================*/
|
============================================================================*/
|
||||||
#include "cmStandardIncludes.h" // to get CMAKE_USE_ELF_PARSER first
|
|
||||||
|
|
||||||
#include "cmELF.h"
|
#include "cmELF.h"
|
||||||
|
|
||||||
#include <cm_auto_ptr.hxx>
|
#include <cm_auto_ptr.hxx>
|
||||||
|
#include <cm_kwiml.h>
|
||||||
#include <cmsys/FStream.hxx>
|
#include <cmsys/FStream.hxx>
|
||||||
|
#include <map>
|
||||||
|
#include <sstream>
|
||||||
|
#include <stddef.h>
|
||||||
|
#include <utility>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
// Include the ELF format information system header.
|
// Include the ELF format information system header.
|
||||||
#if defined(__OpenBSD__)
|
#if defined(__OpenBSD__)
|
||||||
|
|
|
@ -12,6 +12,11 @@
|
||||||
#ifndef cmELF_h
|
#ifndef cmELF_h
|
||||||
#define cmELF_h
|
#define cmELF_h
|
||||||
|
|
||||||
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
|
#include <iosfwd>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
#if !defined(CMAKE_USE_ELF_PARSER)
|
#if !defined(CMAKE_USE_ELF_PARSER)
|
||||||
#error "This file may be included only if CMAKE_USE_ELF_PARSER is enabled."
|
#error "This file may be included only if CMAKE_USE_ELF_PARSER is enabled."
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
#ifndef cmExecutionStatus_h
|
#ifndef cmExecutionStatus_h
|
||||||
#define cmExecutionStatus_h
|
#define cmExecutionStatus_h
|
||||||
|
|
||||||
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include "cmStandardIncludes.h"
|
||||||
|
|
||||||
/** \class cmExecutionStatus
|
/** \class cmExecutionStatus
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
#ifndef cmExpandedCommandArgument_h
|
#ifndef cmExpandedCommandArgument_h
|
||||||
#define cmExpandedCommandArgument_h
|
#define cmExpandedCommandArgument_h
|
||||||
|
|
||||||
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include "cmStandardIncludes.h"
|
||||||
|
|
||||||
/** \class cmExpandedCommandArgument
|
/** \class cmExpandedCommandArgument
|
||||||
|
|
|
@ -12,9 +12,23 @@
|
||||||
#include "cmExportBuildFileGenerator.h"
|
#include "cmExportBuildFileGenerator.h"
|
||||||
|
|
||||||
#include "cmExportSet.h"
|
#include "cmExportSet.h"
|
||||||
|
#include "cmGeneratorExpression.h"
|
||||||
|
#include "cmGeneratorTarget.h"
|
||||||
#include "cmGlobalGenerator.h"
|
#include "cmGlobalGenerator.h"
|
||||||
#include "cmLocalGenerator.h"
|
#include "cmLocalGenerator.h"
|
||||||
|
#include "cmMakefile.h"
|
||||||
|
#include "cmPolicies.h"
|
||||||
|
#include "cmState.h"
|
||||||
|
#include "cmSystemTools.h"
|
||||||
|
#include "cmTarget.h"
|
||||||
#include "cmTargetExport.h"
|
#include "cmTargetExport.h"
|
||||||
|
#include "cmake.h"
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
|
#include <map>
|
||||||
|
#include <set>
|
||||||
|
#include <sstream>
|
||||||
|
#include <utility>
|
||||||
|
|
||||||
cmExportBuildFileGenerator::cmExportBuildFileGenerator()
|
cmExportBuildFileGenerator::cmExportBuildFileGenerator()
|
||||||
{
|
{
|
||||||
|
|
|
@ -12,10 +12,18 @@
|
||||||
#ifndef cmExportBuildFileGenerator_h
|
#ifndef cmExportBuildFileGenerator_h
|
||||||
#define cmExportBuildFileGenerator_h
|
#define cmExportBuildFileGenerator_h
|
||||||
|
|
||||||
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
#include "cmExportFileGenerator.h"
|
#include "cmExportFileGenerator.h"
|
||||||
#include "cmListFileCache.h"
|
|
||||||
|
#include <iosfwd>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
class cmExportSet;
|
class cmExportSet;
|
||||||
|
class cmGeneratorTarget;
|
||||||
|
class cmGlobalGenerator;
|
||||||
|
class cmLocalGenerator;
|
||||||
|
|
||||||
/** \class cmExportBuildFileGenerator
|
/** \class cmExportBuildFileGenerator
|
||||||
* \brief Generate a file exporting targets from a build tree.
|
* \brief Generate a file exporting targets from a build tree.
|
||||||
|
|
|
@ -13,20 +13,25 @@
|
||||||
|
|
||||||
#include "cmAlgorithms.h"
|
#include "cmAlgorithms.h"
|
||||||
#include "cmComputeLinkInformation.h"
|
#include "cmComputeLinkInformation.h"
|
||||||
#include "cmExportSet.h"
|
|
||||||
#include "cmGeneratedFileStream.h"
|
#include "cmGeneratedFileStream.h"
|
||||||
#include "cmGlobalGenerator.h"
|
#include "cmGeneratorTarget.h"
|
||||||
#include "cmInstallExportGenerator.h"
|
#include "cmLinkItem.h"
|
||||||
#include "cmLocalGenerator.h"
|
#include "cmLocalGenerator.h"
|
||||||
#include "cmMakefile.h"
|
#include "cmMakefile.h"
|
||||||
#include "cmOutputConverter.h"
|
#include "cmOutputConverter.h"
|
||||||
|
#include "cmPolicies.h"
|
||||||
|
#include "cmState.h"
|
||||||
#include "cmSystemTools.h"
|
#include "cmSystemTools.h"
|
||||||
|
#include "cmTarget.h"
|
||||||
#include "cmTargetExport.h"
|
#include "cmTargetExport.h"
|
||||||
#include "cmVersion.h"
|
#include "cmake.h"
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <cm_auto_ptr.hxx>
|
#include <cm_auto_ptr.hxx>
|
||||||
#include <cmsys/FStream.hxx>
|
#include <cmsys/FStream.hxx>
|
||||||
|
#include <sstream>
|
||||||
|
#include <string.h>
|
||||||
|
#include <utility>
|
||||||
|
|
||||||
static std::string cmExportFileGeneratorEscape(std::string const& str)
|
static std::string cmExportFileGeneratorEscape(std::string const& str)
|
||||||
{
|
{
|
||||||
|
|
|
@ -12,11 +12,19 @@
|
||||||
#ifndef cmExportFileGenerator_h
|
#ifndef cmExportFileGenerator_h
|
||||||
#define cmExportFileGenerator_h
|
#define cmExportFileGenerator_h
|
||||||
|
|
||||||
#include "cmCommand.h"
|
#include <cmConfigure.h> // IWYU pragma: keep
|
||||||
#include "cmGeneratorExpression.h"
|
|
||||||
|
|
||||||
|
#include "cmGeneratorExpression.h"
|
||||||
#include "cmVersion.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_HELPER(X) #X
|
||||||
#define STRINGIFY(X) STRINGIFY_HELPER(X)
|
#define STRINGIFY(X) STRINGIFY_HELPER(X)
|
||||||
|
|
|
@ -15,12 +15,22 @@
|
||||||
#include "cmExportSet.h"
|
#include "cmExportSet.h"
|
||||||
#include "cmExportSetMap.h"
|
#include "cmExportSetMap.h"
|
||||||
#include "cmGeneratedFileStream.h"
|
#include "cmGeneratedFileStream.h"
|
||||||
|
#include "cmGeneratorExpression.h"
|
||||||
|
#include "cmGeneratorTarget.h"
|
||||||
#include "cmGlobalGenerator.h"
|
#include "cmGlobalGenerator.h"
|
||||||
#include "cmInstallExportGenerator.h"
|
#include "cmInstallExportGenerator.h"
|
||||||
#include "cmInstallTargetGenerator.h"
|
#include "cmInstallTargetGenerator.h"
|
||||||
#include "cmLocalGenerator.h"
|
#include "cmLocalGenerator.h"
|
||||||
|
#include "cmMakefile.h"
|
||||||
|
#include "cmPolicies.h"
|
||||||
|
#include "cmState.h"
|
||||||
|
#include "cmSystemTools.h"
|
||||||
|
#include "cmTarget.h"
|
||||||
#include "cmTargetExport.h"
|
#include "cmTargetExport.h"
|
||||||
|
|
||||||
|
#include <sstream>
|
||||||
|
#include <utility>
|
||||||
|
|
||||||
cmExportInstallFileGenerator::cmExportInstallFileGenerator(
|
cmExportInstallFileGenerator::cmExportInstallFileGenerator(
|
||||||
cmInstallExportGenerator* iegen)
|
cmInstallExportGenerator* iegen)
|
||||||
: IEGen(iegen)
|
: IEGen(iegen)
|
||||||
|
|
|
@ -12,8 +12,18 @@
|
||||||
#ifndef cmExportInstallFileGenerator_h
|
#ifndef cmExportInstallFileGenerator_h
|
||||||
#define cmExportInstallFileGenerator_h
|
#define cmExportInstallFileGenerator_h
|
||||||
|
|
||||||
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
#include "cmExportFileGenerator.h"
|
#include "cmExportFileGenerator.h"
|
||||||
|
|
||||||
|
#include <iosfwd>
|
||||||
|
#include <map>
|
||||||
|
#include <set>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
|
class cmGeneratorTarget;
|
||||||
|
class cmGlobalGenerator;
|
||||||
class cmInstallExportGenerator;
|
class cmInstallExportGenerator;
|
||||||
class cmInstallTargetGenerator;
|
class cmInstallTargetGenerator;
|
||||||
|
|
||||||
|
|
|
@ -12,11 +12,14 @@
|
||||||
#ifndef cmExportSet_h
|
#ifndef cmExportSet_h
|
||||||
#define cmExportSet_h
|
#define cmExportSet_h
|
||||||
|
|
||||||
#include "cmSystemTools.h"
|
#include <cmConfigure.h> // IWYU pragma: keep
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
class cmTargetExport;
|
|
||||||
class cmInstallExportGenerator;
|
class cmInstallExportGenerator;
|
||||||
class cmLocalGenerator;
|
class cmLocalGenerator;
|
||||||
|
class cmTargetExport;
|
||||||
|
|
||||||
/// A set of targets that were installed with the same EXPORT parameter.
|
/// A set of targets that were installed with the same EXPORT parameter.
|
||||||
class cmExportSet
|
class cmExportSet
|
||||||
|
|
|
@ -15,6 +15,8 @@
|
||||||
#include "cmAlgorithms.h"
|
#include "cmAlgorithms.h"
|
||||||
#include "cmExportSet.h"
|
#include "cmExportSet.h"
|
||||||
|
|
||||||
|
#include <utility>
|
||||||
|
|
||||||
cmExportSet* cmExportSetMap::operator[](const std::string& name)
|
cmExportSet* cmExportSetMap::operator[](const std::string& name)
|
||||||
{
|
{
|
||||||
std::map<std::string, cmExportSet*>::iterator it = this->find(name);
|
std::map<std::string, cmExportSet*>::iterator it = this->find(name);
|
||||||
|
|
|
@ -12,7 +12,10 @@
|
||||||
#ifndef cmExportSetMap_h
|
#ifndef cmExportSetMap_h
|
||||||
#define cmExportSetMap_h
|
#define cmExportSetMap_h
|
||||||
|
|
||||||
#include "cmSystemTools.h"
|
#include <cmConfigure.h> // IWYU pragma: keep
|
||||||
|
|
||||||
|
#include <map>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
class cmExportSet;
|
class cmExportSet;
|
||||||
|
|
||||||
|
|
|
@ -12,10 +12,19 @@
|
||||||
|
|
||||||
#include "cmExportTryCompileFileGenerator.h"
|
#include "cmExportTryCompileFileGenerator.h"
|
||||||
|
|
||||||
#include "cmGeneratedFileStream.h"
|
#include "cmGeneratorExpression.h"
|
||||||
#include "cmGeneratorExpressionDAGChecker.h"
|
#include "cmGeneratorExpressionDAGChecker.h"
|
||||||
|
#include "cmGeneratorTarget.h"
|
||||||
#include "cmGlobalGenerator.h"
|
#include "cmGlobalGenerator.h"
|
||||||
#include "cmLocalGenerator.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(
|
cmExportTryCompileFileGenerator::cmExportTryCompileFileGenerator(
|
||||||
cmGlobalGenerator* gg, const std::vector<std::string>& targets,
|
cmGlobalGenerator* gg, const std::vector<std::string>& targets,
|
||||||
|
|
|
@ -12,10 +12,18 @@
|
||||||
#ifndef cmExportTryCompileFileGenerator_h
|
#ifndef cmExportTryCompileFileGenerator_h
|
||||||
#define cmExportTryCompileFileGenerator_h
|
#define cmExportTryCompileFileGenerator_h
|
||||||
|
|
||||||
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
#include "cmExportFileGenerator.h"
|
#include "cmExportFileGenerator.h"
|
||||||
|
|
||||||
class cmInstallExportGenerator;
|
#include <iosfwd>
|
||||||
class cmInstallTargetGenerator;
|
#include <set>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
|
class cmGeneratorTarget;
|
||||||
|
class cmGlobalGenerator;
|
||||||
|
class cmMakefile;
|
||||||
|
|
||||||
class cmExportTryCompileFileGenerator : public cmExportFileGenerator
|
class cmExportTryCompileFileGenerator : public cmExportFileGenerator
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include "cmStandardIncludes.h"
|
||||||
#line 2 "/home/andy/vtk/CMake-bin/Source/cmExprLexer.cxx"
|
#line 2 "/home/andy/vtk/CMake-bin/Source/cmExprLexer.cxx"
|
||||||
|
|
||||||
|
|
|
@ -11,11 +11,13 @@
|
||||||
============================================================================*/
|
============================================================================*/
|
||||||
#include "cmExprParserHelper.h"
|
#include "cmExprParserHelper.h"
|
||||||
|
|
||||||
#include "cmMakefile.h"
|
#include <cmConfigure.h>
|
||||||
#include "cmSystemTools.h"
|
|
||||||
|
|
||||||
#include "cmExprLexer.h"
|
#include "cmExprLexer.h"
|
||||||
|
|
||||||
|
#include <iostream>
|
||||||
|
#include <sstream>
|
||||||
|
|
||||||
int cmExpr_yyparse(yyscan_t yyscanner);
|
int cmExpr_yyparse(yyscan_t yyscanner);
|
||||||
//
|
//
|
||||||
cmExprParserHelper::cmExprParserHelper()
|
cmExprParserHelper::cmExprParserHelper()
|
||||||
|
|
|
@ -12,7 +12,10 @@
|
||||||
#ifndef cmExprParserHelper_h
|
#ifndef cmExprParserHelper_h
|
||||||
#define cmExprParserHelper_h
|
#define cmExprParserHelper_h
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include <cmConfigure.h> // IWYU pragma: keep
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
#define YYSTYPE cmExprParserHelper::ParserType
|
#define YYSTYPE cmExprParserHelper::ParserType
|
||||||
#define YYSTYPE_IS_DECLARED
|
#define YYSTYPE_IS_DECLARED
|
||||||
|
@ -24,9 +27,6 @@
|
||||||
*
|
*
|
||||||
* Finds dependencies for java file and list of outputs
|
* Finds dependencies for java file and list of outputs
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class cmMakefile;
|
|
||||||
|
|
||||||
class cmExprParserHelper
|
class cmExprParserHelper
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
#include "cmExternalMakefileProjectGenerator.h"
|
#include "cmExternalMakefileProjectGenerator.h"
|
||||||
|
|
||||||
#include <assert.h>
|
class cmMakefile;
|
||||||
|
|
||||||
void cmExternalMakefileProjectGenerator::EnableLanguage(
|
void cmExternalMakefileProjectGenerator::EnableLanguage(
|
||||||
std::vector<std::string> const& /*unused*/, cmMakefile* /*unused*/,
|
std::vector<std::string> const& /*unused*/, cmMakefile* /*unused*/,
|
||||||
|
|
|
@ -12,11 +12,13 @@
|
||||||
#ifndef cmExternalMakefileProjectGenerator_h
|
#ifndef cmExternalMakefileProjectGenerator_h
|
||||||
#define cmExternalMakefileProjectGenerator_h
|
#define cmExternalMakefileProjectGenerator_h
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include <cmConfigure.h> // IWYU pragma: keep
|
||||||
|
|
||||||
#include "cmDocumentation.h"
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
class cmGlobalGenerator;
|
class cmGlobalGenerator;
|
||||||
|
class cmMakefile;
|
||||||
|
|
||||||
/** \class cmExternalMakefileProjectGenerator
|
/** \class cmExternalMakefileProjectGenerator
|
||||||
* \brief Base class for generators for "External Makefile based IDE projects".
|
* \brief Base class for generators for "External Makefile based IDE projects".
|
||||||
|
|
|
@ -12,16 +12,23 @@
|
||||||
============================================================================*/
|
============================================================================*/
|
||||||
#include "cmExtraCodeBlocksGenerator.h"
|
#include "cmExtraCodeBlocksGenerator.h"
|
||||||
|
|
||||||
|
#include "cmAlgorithms.h"
|
||||||
#include "cmGeneratedFileStream.h"
|
#include "cmGeneratedFileStream.h"
|
||||||
#include "cmGlobalUnixMakefileGenerator3.h"
|
#include "cmGeneratorTarget.h"
|
||||||
#include "cmLocalUnixMakefileGenerator3.h"
|
#include "cmGlobalGenerator.h"
|
||||||
|
#include "cmLocalGenerator.h"
|
||||||
#include "cmMakefile.h"
|
#include "cmMakefile.h"
|
||||||
#include "cmSourceFile.h"
|
#include "cmSourceFile.h"
|
||||||
|
#include "cmState.h"
|
||||||
#include "cmSystemTools.h"
|
#include "cmSystemTools.h"
|
||||||
#include "cmXMLWriter.h"
|
#include "cmXMLWriter.h"
|
||||||
#include "cmake.h"
|
#include "cmake.h"
|
||||||
|
|
||||||
#include <cmsys/SystemTools.hxx>
|
#include <algorithm>
|
||||||
|
#include <map>
|
||||||
|
#include <ostream>
|
||||||
|
#include <string.h>
|
||||||
|
#include <utility>
|
||||||
|
|
||||||
/* Some useful URLs:
|
/* Some useful URLs:
|
||||||
Homepage:
|
Homepage:
|
||||||
|
|
|
@ -13,11 +13,16 @@
|
||||||
#ifndef cmExtraCodeBlocksGenerator_h
|
#ifndef cmExtraCodeBlocksGenerator_h
|
||||||
#define cmExtraCodeBlocksGenerator_h
|
#define cmExtraCodeBlocksGenerator_h
|
||||||
|
|
||||||
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
#include "cmExternalMakefileProjectGenerator.h"
|
#include "cmExternalMakefileProjectGenerator.h"
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
|
class cmGeneratorTarget;
|
||||||
class cmLocalGenerator;
|
class cmLocalGenerator;
|
||||||
class cmMakefile;
|
class cmMakefile;
|
||||||
class cmGeneratorTarget;
|
|
||||||
class cmXMLWriter;
|
class cmXMLWriter;
|
||||||
|
|
||||||
/** \class cmExtraCodeBlocksGenerator
|
/** \class cmExtraCodeBlocksGenerator
|
||||||
|
|
|
@ -14,18 +14,22 @@
|
||||||
#include "cmExtraCodeLiteGenerator.h"
|
#include "cmExtraCodeLiteGenerator.h"
|
||||||
|
|
||||||
#include "cmGeneratedFileStream.h"
|
#include "cmGeneratedFileStream.h"
|
||||||
#include "cmGlobalUnixMakefileGenerator3.h"
|
#include "cmGeneratorTarget.h"
|
||||||
#include "cmLocalUnixMakefileGenerator3.h"
|
#include "cmGlobalGenerator.h"
|
||||||
|
#include "cmLocalGenerator.h"
|
||||||
#include "cmMakefile.h"
|
#include "cmMakefile.h"
|
||||||
#include "cmSourceFile.h"
|
#include "cmSourceFile.h"
|
||||||
|
#include "cmState.h"
|
||||||
#include "cmSystemTools.h"
|
#include "cmSystemTools.h"
|
||||||
|
#include "cmXMLWriter.h"
|
||||||
#include "cmake.h"
|
#include "cmake.h"
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
|
||||||
#include "cmXMLWriter.h"
|
|
||||||
#include <cmsys/Directory.hxx>
|
|
||||||
#include <cmsys/SystemInformation.hxx>
|
#include <cmsys/SystemInformation.hxx>
|
||||||
#include <cmsys/SystemTools.hxx>
|
#include <map>
|
||||||
|
#include <set>
|
||||||
|
#include <sstream>
|
||||||
|
#include <string.h>
|
||||||
|
#include <utility>
|
||||||
|
|
||||||
cmExtraCodeLiteGenerator::cmExtraCodeLiteGenerator()
|
cmExtraCodeLiteGenerator::cmExtraCodeLiteGenerator()
|
||||||
: cmExternalMakefileProjectGenerator()
|
: cmExternalMakefileProjectGenerator()
|
||||||
|
|
|
@ -14,9 +14,15 @@
|
||||||
#ifndef cmGlobalCodeLiteGenerator_h
|
#ifndef cmGlobalCodeLiteGenerator_h
|
||||||
#define cmGlobalCodeLiteGenerator_h
|
#define cmGlobalCodeLiteGenerator_h
|
||||||
|
|
||||||
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
#include "cmExternalMakefileProjectGenerator.h"
|
#include "cmExternalMakefileProjectGenerator.h"
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
class cmLocalGenerator;
|
class cmLocalGenerator;
|
||||||
|
class cmMakefile;
|
||||||
|
|
||||||
class cmExtraCodeLiteGenerator : public cmExternalMakefileProjectGenerator
|
class cmExtraCodeLiteGenerator : public cmExternalMakefileProjectGenerator
|
||||||
{
|
{
|
||||||
|
|
|
@ -14,17 +14,26 @@
|
||||||
#include "cmExtraEclipseCDT4Generator.h"
|
#include "cmExtraEclipseCDT4Generator.h"
|
||||||
|
|
||||||
#include "cmGeneratedFileStream.h"
|
#include "cmGeneratedFileStream.h"
|
||||||
#include "cmGlobalUnixMakefileGenerator3.h"
|
#include "cmGeneratorExpression.h"
|
||||||
#include "cmLocalUnixMakefileGenerator3.h"
|
#include "cmGeneratorTarget.h"
|
||||||
|
#include "cmGlobalGenerator.h"
|
||||||
|
#include "cmLocalGenerator.h"
|
||||||
#include "cmMakefile.h"
|
#include "cmMakefile.h"
|
||||||
|
#include "cmOutputConverter.h"
|
||||||
#include "cmSourceFile.h"
|
#include "cmSourceFile.h"
|
||||||
|
#include "cmSourceGroup.h"
|
||||||
#include "cmState.h"
|
#include "cmState.h"
|
||||||
#include "cmTarget.h"
|
|
||||||
#include "cmXMLWriter.h"
|
|
||||||
|
|
||||||
#include "cmSystemTools.h"
|
#include "cmSystemTools.h"
|
||||||
|
#include "cmXMLWriter.h"
|
||||||
|
#include "cmake.h"
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
#include <assert.h>
|
#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)
|
static void AppendAttribute(cmXMLWriter& xml, const char* keyval)
|
||||||
{
|
{
|
||||||
|
|
|
@ -14,11 +14,19 @@
|
||||||
#ifndef cmExtraEclipseCDT4Generator_h
|
#ifndef cmExtraEclipseCDT4Generator_h
|
||||||
#define cmExtraEclipseCDT4Generator_h
|
#define cmExtraEclipseCDT4Generator_h
|
||||||
|
|
||||||
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
#include "cmExternalMakefileProjectGenerator.h"
|
#include "cmExternalMakefileProjectGenerator.h"
|
||||||
|
|
||||||
|
#include <iosfwd>
|
||||||
|
#include <set>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
|
class cmLocalGenerator;
|
||||||
class cmMakefile;
|
class cmMakefile;
|
||||||
class cmXMLWriter;
|
|
||||||
class cmSourceGroup;
|
class cmSourceGroup;
|
||||||
|
class cmXMLWriter;
|
||||||
|
|
||||||
/** \class cmExtraEclipseCDT4Generator
|
/** \class cmExtraEclipseCDT4Generator
|
||||||
* \brief Write Eclipse project files for Makefile based projects
|
* \brief Write Eclipse project files for Makefile based projects
|
||||||
|
|
|
@ -13,14 +13,18 @@
|
||||||
#include "cmExtraKateGenerator.h"
|
#include "cmExtraKateGenerator.h"
|
||||||
|
|
||||||
#include "cmGeneratedFileStream.h"
|
#include "cmGeneratedFileStream.h"
|
||||||
#include "cmGlobalUnixMakefileGenerator3.h"
|
#include "cmGeneratorTarget.h"
|
||||||
#include "cmLocalUnixMakefileGenerator3.h"
|
#include "cmGlobalGenerator.h"
|
||||||
|
#include "cmLocalGenerator.h"
|
||||||
#include "cmMakefile.h"
|
#include "cmMakefile.h"
|
||||||
#include "cmSourceFile.h"
|
#include "cmSourceFile.h"
|
||||||
|
#include "cmState.h"
|
||||||
#include "cmSystemTools.h"
|
#include "cmSystemTools.h"
|
||||||
#include "cmake.h"
|
|
||||||
|
|
||||||
#include <cmsys/SystemTools.hxx>
|
#include <ostream>
|
||||||
|
#include <set>
|
||||||
|
#include <string.h>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
cmExtraKateGenerator::cmExtraKateGenerator()
|
cmExtraKateGenerator::cmExtraKateGenerator()
|
||||||
: cmExternalMakefileProjectGenerator()
|
: cmExternalMakefileProjectGenerator()
|
||||||
|
|
|
@ -13,10 +13,14 @@
|
||||||
#ifndef cmExtraKateGenerator_h
|
#ifndef cmExtraKateGenerator_h
|
||||||
#define cmExtraKateGenerator_h
|
#define cmExtraKateGenerator_h
|
||||||
|
|
||||||
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
#include "cmExternalMakefileProjectGenerator.h"
|
#include "cmExternalMakefileProjectGenerator.h"
|
||||||
|
|
||||||
class cmLocalGenerator;
|
#include <string>
|
||||||
|
|
||||||
class cmGeneratedFileStream;
|
class cmGeneratedFileStream;
|
||||||
|
class cmLocalGenerator;
|
||||||
|
|
||||||
/** \class cmExtraKateGenerator
|
/** \class cmExtraKateGenerator
|
||||||
* \brief Write Kate project files for Makefile or ninja based projects
|
* \brief Write Kate project files for Makefile or ninja based projects
|
||||||
|
|
|
@ -14,15 +14,18 @@
|
||||||
|
|
||||||
#include "cmGeneratedFileStream.h"
|
#include "cmGeneratedFileStream.h"
|
||||||
#include "cmGeneratorTarget.h"
|
#include "cmGeneratorTarget.h"
|
||||||
#include "cmGlobalUnixMakefileGenerator3.h"
|
#include "cmGlobalGenerator.h"
|
||||||
#include "cmLocalGenerator.h"
|
#include "cmLocalGenerator.h"
|
||||||
#include "cmLocalUnixMakefileGenerator3.h"
|
|
||||||
#include "cmMakefile.h"
|
#include "cmMakefile.h"
|
||||||
#include "cmSourceFile.h"
|
#include "cmSourceFile.h"
|
||||||
|
#include "cmState.h"
|
||||||
#include "cmSystemTools.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
|
Sublime Text 2 Generator
|
||||||
|
|
|
@ -13,13 +13,19 @@
|
||||||
#ifndef cmExtraSublimeTextGenerator_h
|
#ifndef cmExtraSublimeTextGenerator_h
|
||||||
#define cmExtraSublimeTextGenerator_h
|
#define cmExtraSublimeTextGenerator_h
|
||||||
|
|
||||||
#include "cmExternalMakefileProjectGenerator.h"
|
#include <cmConfigure.h>
|
||||||
#include "cmSourceFile.h"
|
|
||||||
|
#include "cmExternalMakefileProjectGenerator.h"
|
||||||
|
|
||||||
|
#include <map>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
class cmLocalGenerator;
|
|
||||||
class cmMakefile;
|
|
||||||
class cmGeneratedFileStream;
|
class cmGeneratedFileStream;
|
||||||
class cmGeneratorTarget;
|
class cmGeneratorTarget;
|
||||||
|
class cmLocalGenerator;
|
||||||
|
class cmMakefile;
|
||||||
|
class cmSourceFile;
|
||||||
|
|
||||||
/** \class cmExtraSublimeTextGenerator
|
/** \class cmExtraSublimeTextGenerator
|
||||||
* \brief Write Sublime Text 2 project files for Makefile based projects
|
* \brief Write Sublime Text 2 project files for Makefile based projects
|
||||||
|
|
|
@ -13,7 +13,9 @@
|
||||||
#ifndef cmFileLock_h
|
#ifndef cmFileLock_h
|
||||||
#define cmFileLock_h
|
#define cmFileLock_h
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include <cmConfigure.h> // IWYU pragma: keep
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
#include <windows.h> // HANDLE
|
#include <windows.h> // HANDLE
|
||||||
|
|
|
@ -12,12 +12,13 @@
|
||||||
#ifndef cmFileLockPool_h
|
#ifndef cmFileLockPool_h
|
||||||
#define cmFileLockPool_h
|
#define cmFileLockPool_h
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include <cmConfigure.h> // IWYU pragma: keep
|
||||||
|
|
||||||
#include <list>
|
#include <list>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
class cmFileLockResult;
|
|
||||||
class cmFileLock;
|
class cmFileLock;
|
||||||
|
class cmFileLockResult;
|
||||||
|
|
||||||
class cmFileLockPool
|
class cmFileLockPool
|
||||||
{
|
{
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
#include "cmFileLockResult.h"
|
#include "cmFileLockResult.h"
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
cmFileLockResult cmFileLockResult::MakeOk()
|
cmFileLockResult cmFileLockResult::MakeOk()
|
||||||
{
|
{
|
||||||
|
|
|
@ -13,7 +13,9 @@
|
||||||
#ifndef cmFileLockResult_h
|
#ifndef cmFileLockResult_h
|
||||||
#define cmFileLockResult_h
|
#define cmFileLockResult_h
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include <cmConfigure.h> // IWYU pragma: keep
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
#include <windows.h> // DWORD
|
#include <windows.h> // DWORD
|
||||||
|
|
|
@ -17,6 +17,8 @@
|
||||||
#include "cmMakefile.h"
|
#include "cmMakefile.h"
|
||||||
#include "cmSystemTools.h"
|
#include "cmSystemTools.h"
|
||||||
|
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
cmFilePathUuid::cmFilePathUuid(cmMakefile* makefile)
|
cmFilePathUuid::cmFilePathUuid(cmMakefile* makefile)
|
||||||
{
|
{
|
||||||
initParentDirs(makefile->GetCurrentSourceDirectory(),
|
initParentDirs(makefile->GetCurrentSourceDirectory(),
|
||||||
|
|
|
@ -13,8 +13,9 @@
|
||||||
#ifndef cmFilePathUuid_h
|
#ifndef cmFilePathUuid_h
|
||||||
#define cmFilePathUuid_h
|
#define cmFilePathUuid_h
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include <cmConfigure.h> // IWYU pragma: keep
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,11 @@
|
||||||
============================================================================*/
|
============================================================================*/
|
||||||
#include "cmFileTimeComparison.h"
|
#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.
|
// Use a hash table to avoid duplicate file time checks from disk.
|
||||||
#if defined(CMAKE_BUILD_WITH_CMAKE)
|
#if defined(CMAKE_BUILD_WITH_CMAKE)
|
||||||
#ifdef CMake_HAVE_CXX_UNORDERED_MAP
|
#ifdef CMake_HAVE_CXX_UNORDERED_MAP
|
||||||
|
@ -20,16 +25,14 @@
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <cmsys/Encoding.hxx>
|
|
||||||
|
|
||||||
// Use a platform-specific API to get file times efficiently.
|
// Use a platform-specific API to get file times efficiently.
|
||||||
#if !defined(_WIN32) || defined(__CYGWIN__)
|
#if !defined(_WIN32) || defined(__CYGWIN__)
|
||||||
#define cmFileTimeComparison_Type struct stat
|
|
||||||
#include <ctype.h>
|
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
#define cmFileTimeComparison_Type struct stat
|
||||||
#else
|
#else
|
||||||
#define cmFileTimeComparison_Type FILETIME
|
#include <cmsys/Encoding.hxx>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
#define cmFileTimeComparison_Type FILETIME
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
class cmFileTimeComparisonInternal
|
class cmFileTimeComparisonInternal
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#ifndef cmFileTimeComparison_h
|
#ifndef cmFileTimeComparison_h
|
||||||
#define cmFileTimeComparison_h
|
#define cmFileTimeComparison_h
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include <cmConfigure.h> // IWYU pragma: keep
|
||||||
|
|
||||||
class cmFileTimeComparisonInternal;
|
class cmFileTimeComparisonInternal;
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,8 @@
|
||||||
#define cmFortranParser_h
|
#define cmFortranParser_h
|
||||||
|
|
||||||
#if !defined(cmFortranLexer_cxx) && !defined(cmFortranParser_cxx)
|
#if !defined(cmFortranLexer_cxx) && !defined(cmFortranParser_cxx)
|
||||||
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include "cmStandardIncludes.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -10,9 +10,16 @@
|
||||||
See the License for more information.
|
See the License for more information.
|
||||||
============================================================================*/
|
============================================================================*/
|
||||||
#include "cmFortranParser.h"
|
#include "cmFortranParser.h"
|
||||||
|
#include "cmFortranLexer.h"
|
||||||
#include "cmSystemTools.h"
|
#include "cmSystemTools.h"
|
||||||
|
|
||||||
#include <assert.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,
|
bool cmFortranParser_s::FindIncludeFile(const char* dir,
|
||||||
const char* includeName,
|
const char* includeName,
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
#ifndef cmFunctionBlocker_h
|
#ifndef cmFunctionBlocker_h
|
||||||
#define cmFunctionBlocker_h
|
#define cmFunctionBlocker_h
|
||||||
|
|
||||||
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include "cmStandardIncludes.h"
|
||||||
|
|
||||||
#include "cmExecutionStatus.h"
|
#include "cmExecutionStatus.h"
|
||||||
|
|
|
@ -13,6 +13,8 @@
|
||||||
|
|
||||||
#include "cmSystemTools.h"
|
#include "cmSystemTools.h"
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
#if defined(CMAKE_BUILD_WITH_CMAKE)
|
#if defined(CMAKE_BUILD_WITH_CMAKE)
|
||||||
#include <cm_zlib.h>
|
#include <cm_zlib.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -12,9 +12,10 @@
|
||||||
#ifndef cmGeneratedFileStream_h
|
#ifndef cmGeneratedFileStream_h
|
||||||
#define cmGeneratedFileStream_h
|
#define cmGeneratedFileStream_h
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
#include <cmsys/FStream.hxx>
|
#include <cmsys/FStream.hxx>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
// This is the first base class of cmGeneratedFileStream. It will be
|
// This is the first base class of cmGeneratedFileStream. It will be
|
||||||
// created before and destroyed after the ofstream portion and can
|
// created before and destroyed after the ofstream portion and can
|
||||||
|
|
|
@ -13,12 +13,14 @@
|
||||||
|
|
||||||
#include "assert.h"
|
#include "assert.h"
|
||||||
#include "cmAlgorithms.h"
|
#include "cmAlgorithms.h"
|
||||||
#include "cmSystemTools.h"
|
#include "cmGeneratorExpressionContext.h"
|
||||||
|
|
||||||
#include "cmGeneratorExpressionDAGChecker.h"
|
|
||||||
#include "cmGeneratorExpressionEvaluator.h"
|
#include "cmGeneratorExpressionEvaluator.h"
|
||||||
#include "cmGeneratorExpressionLexer.h"
|
#include "cmGeneratorExpressionLexer.h"
|
||||||
#include "cmGeneratorExpressionParser.h"
|
#include "cmGeneratorExpressionParser.h"
|
||||||
|
#include "cmSystemTools.h"
|
||||||
|
|
||||||
|
#include <cmsys/RegularExpression.hxx>
|
||||||
|
#include <utility>
|
||||||
|
|
||||||
cmGeneratorExpression::cmGeneratorExpression(
|
cmGeneratorExpression::cmGeneratorExpression(
|
||||||
const cmListFileBacktrace& backtrace)
|
const cmListFileBacktrace& backtrace)
|
||||||
|
|
|
@ -13,22 +13,22 @@
|
||||||
#ifndef cmGeneratorExpression_h
|
#ifndef cmGeneratorExpression_h
|
||||||
#define cmGeneratorExpression_h
|
#define cmGeneratorExpression_h
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
#include "cmListFileCache.h"
|
#include "cmListFileCache.h"
|
||||||
|
|
||||||
#include <cm_auto_ptr.hxx>
|
#include <cm_auto_ptr.hxx>
|
||||||
#include <cmsys/RegularExpression.hxx>
|
#include <map>
|
||||||
|
#include <set>
|
||||||
class cmGeneratorTarget;
|
#include <string>
|
||||||
class cmLocalGenerator;
|
#include <vector>
|
||||||
class cmListFileBacktrace;
|
|
||||||
|
|
||||||
struct cmGeneratorExpressionEvaluator;
|
|
||||||
struct cmGeneratorExpressionContext;
|
|
||||||
struct cmGeneratorExpressionDAGChecker;
|
|
||||||
|
|
||||||
class cmCompiledGeneratorExpression;
|
class cmCompiledGeneratorExpression;
|
||||||
|
class cmGeneratorTarget;
|
||||||
|
class cmLocalGenerator;
|
||||||
|
struct cmGeneratorExpressionContext;
|
||||||
|
struct cmGeneratorExpressionDAGChecker;
|
||||||
|
struct cmGeneratorExpressionEvaluator;
|
||||||
|
|
||||||
/** \class cmGeneratorExpression
|
/** \class cmGeneratorExpression
|
||||||
* \brief Evaluate generate-time query expression syntax.
|
* \brief Evaluate generate-time query expression syntax.
|
||||||
|
|
|
@ -12,8 +12,6 @@
|
||||||
|
|
||||||
#include "cmGeneratorExpressionContext.h"
|
#include "cmGeneratorExpressionContext.h"
|
||||||
|
|
||||||
#include "cmGeneratorTarget.h"
|
|
||||||
|
|
||||||
cmGeneratorExpressionContext::cmGeneratorExpressionContext(
|
cmGeneratorExpressionContext::cmGeneratorExpressionContext(
|
||||||
cmLocalGenerator* lg, std::string const& config, bool quiet,
|
cmLocalGenerator* lg, std::string const& config, bool quiet,
|
||||||
cmGeneratorTarget const* headTarget, const cmGeneratorTarget* currentTarget,
|
cmGeneratorTarget const* headTarget, const cmGeneratorTarget* currentTarget,
|
||||||
|
|
|
@ -13,7 +13,15 @@
|
||||||
#include "cmGeneratorExpressionDAGChecker.h"
|
#include "cmGeneratorExpressionDAGChecker.h"
|
||||||
|
|
||||||
#include "cmAlgorithms.h"
|
#include "cmAlgorithms.h"
|
||||||
|
#include "cmGeneratorExpressionContext.h"
|
||||||
|
#include "cmGeneratorExpressionEvaluator.h"
|
||||||
|
#include "cmGeneratorTarget.h"
|
||||||
#include "cmLocalGenerator.h"
|
#include "cmLocalGenerator.h"
|
||||||
|
#include "cmake.h"
|
||||||
|
|
||||||
|
#include <sstream>
|
||||||
|
#include <string.h>
|
||||||
|
#include <utility>
|
||||||
|
|
||||||
cmGeneratorExpressionDAGChecker::cmGeneratorExpressionDAGChecker(
|
cmGeneratorExpressionDAGChecker::cmGeneratorExpressionDAGChecker(
|
||||||
const cmListFileBacktrace& backtrace, const std::string& target,
|
const cmListFileBacktrace& backtrace, const std::string& target,
|
||||||
|
|
|
@ -12,9 +12,16 @@
|
||||||
#ifndef cmGeneratorExpressionDAGChecker_h
|
#ifndef cmGeneratorExpressionDAGChecker_h
|
||||||
#define cmGeneratorExpressionDAGChecker_h
|
#define cmGeneratorExpressionDAGChecker_h
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
#include "cmGeneratorExpressionEvaluator.h"
|
#include "cmListFileCache.h"
|
||||||
|
|
||||||
|
#include <map>
|
||||||
|
#include <set>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
|
struct GeneratorExpressionContent;
|
||||||
|
struct cmGeneratorExpressionContext;
|
||||||
|
|
||||||
#define CM_SELECT_BOTH(F, A1, A2) F(A1, A2)
|
#define CM_SELECT_BOTH(F, A1, A2) F(A1, A2)
|
||||||
#define CM_SELECT_FIRST(F, A1, A2) F(A1)
|
#define CM_SELECT_FIRST(F, A1, A2) F(A1)
|
||||||
|
|
|
@ -14,12 +14,17 @@
|
||||||
|
|
||||||
#include "cmGeneratedFileStream.h"
|
#include "cmGeneratedFileStream.h"
|
||||||
#include "cmGlobalGenerator.h"
|
#include "cmGlobalGenerator.h"
|
||||||
|
#include "cmListFileCache.h"
|
||||||
#include "cmLocalGenerator.h"
|
#include "cmLocalGenerator.h"
|
||||||
#include "cmMakefile.h"
|
#include "cmMakefile.h"
|
||||||
#include "cmSourceFile.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(
|
cmGeneratorExpressionEvaluationFile::cmGeneratorExpressionEvaluationFile(
|
||||||
const std::string& input,
|
const std::string& input,
|
||||||
|
|
|
@ -12,10 +12,15 @@
|
||||||
#ifndef cmGeneratorExpressionEvaluationFile_h
|
#ifndef cmGeneratorExpressionEvaluationFile_h
|
||||||
#define cmGeneratorExpressionEvaluationFile_h
|
#define cmGeneratorExpressionEvaluationFile_h
|
||||||
|
|
||||||
|
#include <cmConfigure.h> // IWYU pragma: keep
|
||||||
|
|
||||||
#include "cmGeneratorExpression.h"
|
#include "cmGeneratorExpression.h"
|
||||||
|
|
||||||
#include <cm_auto_ptr.hxx>
|
#include <cm_auto_ptr.hxx>
|
||||||
|
#include <map>
|
||||||
|
#include <string>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
class cmLocalGenerator;
|
class cmLocalGenerator;
|
||||||
|
|
||||||
|
|
|
@ -12,21 +12,12 @@
|
||||||
#include "cmGeneratorExpressionEvaluator.h"
|
#include "cmGeneratorExpressionEvaluator.h"
|
||||||
|
|
||||||
#include "cmAlgorithms.h"
|
#include "cmAlgorithms.h"
|
||||||
#include "cmGeneratorExpression.h"
|
#include "cmGeneratorExpressionContext.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 "cmGeneratorExpressionNode.h"
|
#include "cmGeneratorExpressionNode.h"
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
|
#include <sstream>
|
||||||
|
|
||||||
GeneratorExpressionContent::GeneratorExpressionContent(
|
GeneratorExpressionContent::GeneratorExpressionContent(
|
||||||
const char* startContent, size_t length)
|
const char* startContent, size_t length)
|
||||||
: StartContent(startContent)
|
: StartContent(startContent)
|
||||||
|
|
|
@ -12,13 +12,13 @@
|
||||||
#ifndef cmGeneratorExpressionEvaluator_h
|
#ifndef cmGeneratorExpressionEvaluator_h
|
||||||
#define cmGeneratorExpressionEvaluator_h
|
#define cmGeneratorExpressionEvaluator_h
|
||||||
|
|
||||||
#include "cmGeneratorExpressionContext.h"
|
#include <cmConfigure.h>
|
||||||
|
|
||||||
#include "cmListFileCache.h"
|
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
struct cmGeneratorExpressionContext;
|
||||||
struct cmGeneratorExpressionDAGChecker;
|
struct cmGeneratorExpressionDAGChecker;
|
||||||
struct cmGeneratorExpressionNode;
|
struct cmGeneratorExpressionNode;
|
||||||
|
|
||||||
|
|
|
@ -12,8 +12,10 @@
|
||||||
#ifndef cmGeneratorExpressionLexer_h
|
#ifndef cmGeneratorExpressionLexer_h
|
||||||
#define cmGeneratorExpressionLexer_h
|
#define cmGeneratorExpressionLexer_h
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#include <cmConfigure.h> // IWYU pragma: keep
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
struct cmGeneratorExpressionToken
|
struct cmGeneratorExpressionToken
|
||||||
|
|
|
@ -13,9 +13,36 @@
|
||||||
#include "cmGeneratorExpressionNode.h"
|
#include "cmGeneratorExpressionNode.h"
|
||||||
|
|
||||||
#include "cmAlgorithms.h"
|
#include "cmAlgorithms.h"
|
||||||
|
#include "cmGeneratorExpression.h"
|
||||||
|
#include "cmGeneratorExpressionContext.h"
|
||||||
|
#include "cmGeneratorExpressionDAGChecker.h"
|
||||||
|
#include "cmGeneratorExpressionEvaluator.h"
|
||||||
|
#include "cmGeneratorTarget.h"
|
||||||
#include "cmGlobalGenerator.h"
|
#include "cmGlobalGenerator.h"
|
||||||
|
#include "cmLinkItem.h"
|
||||||
|
#include "cmLocalGenerator.h"
|
||||||
#include "cmMakefile.h"
|
#include "cmMakefile.h"
|
||||||
#include "cmOutputConverter.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 cmGeneratorExpressionNode::EvaluateDependentExpression(
|
||||||
std::string const& prop, cmLocalGenerator* lg,
|
std::string const& prop, cmLocalGenerator* lg,
|
||||||
|
@ -1455,13 +1482,12 @@ static const struct InstallPrefixNode : public cmGeneratorExpressionNode
|
||||||
|
|
||||||
} installPrefixNode;
|
} installPrefixNode;
|
||||||
|
|
||||||
class ArtifactNameTag;
|
|
||||||
class ArtifactLinkerTag;
|
|
||||||
class ArtifactSonameTag;
|
|
||||||
class ArtifactPdbTag;
|
|
||||||
|
|
||||||
class ArtifactPathTag;
|
|
||||||
class ArtifactDirTag;
|
class ArtifactDirTag;
|
||||||
|
class ArtifactLinkerTag;
|
||||||
|
class ArtifactNameTag;
|
||||||
|
class ArtifactPathTag;
|
||||||
|
class ArtifactPdbTag;
|
||||||
|
class ArtifactSonameTag;
|
||||||
|
|
||||||
template <typename ArtifactT>
|
template <typename ArtifactT>
|
||||||
struct TargetFilesystemArtifactResultCreator
|
struct TargetFilesystemArtifactResultCreator
|
||||||
|
|
|
@ -12,20 +12,16 @@
|
||||||
#ifndef cmGeneratorExpressionNode_h
|
#ifndef cmGeneratorExpressionNode_h
|
||||||
#define cmGeneratorExpressionNode_h
|
#define cmGeneratorExpressionNode_h
|
||||||
|
|
||||||
#include "cmGeneratorExpression.h"
|
#include <cmConfigure.h> // IWYU pragma: keep
|
||||||
|
|
||||||
#include "cmGeneratorExpressionDAGChecker.h"
|
#include <string>
|
||||||
#include "cmGeneratorExpressionEvaluator.h"
|
#include <vector>
|
||||||
#include "cmGeneratorExpressionParser.h"
|
|
||||||
#include "cmLocalGenerator.h"
|
|
||||||
#include "cmSourceFile.h"
|
|
||||||
|
|
||||||
#include <cmsys/String.h>
|
class cmGeneratorTarget;
|
||||||
|
class cmLocalGenerator;
|
||||||
#include <assert.h>
|
struct GeneratorExpressionContent;
|
||||||
#include <errno.h>
|
struct cmGeneratorExpressionContext;
|
||||||
|
struct cmGeneratorExpressionDAGChecker;
|
||||||
#include "cmListFileCache.h"
|
|
||||||
|
|
||||||
struct cmGeneratorExpressionNode
|
struct cmGeneratorExpressionNode
|
||||||
{
|
{
|
||||||
|
|
|
@ -14,7 +14,8 @@
|
||||||
|
|
||||||
#include "cmGeneratorExpressionEvaluator.h"
|
#include "cmGeneratorExpressionEvaluator.h"
|
||||||
|
|
||||||
#include "assert.h"
|
#include <assert.h>
|
||||||
|
#include <stddef.h>
|
||||||
|
|
||||||
cmGeneratorExpressionParser::cmGeneratorExpressionParser(
|
cmGeneratorExpressionParser::cmGeneratorExpressionParser(
|
||||||
const std::vector<cmGeneratorExpressionToken>& tokens)
|
const std::vector<cmGeneratorExpressionToken>& tokens)
|
||||||
|
|
|
@ -12,12 +12,11 @@
|
||||||
#ifndef cmGeneratorExpressionParser_h
|
#ifndef cmGeneratorExpressionParser_h
|
||||||
#define cmGeneratorExpressionParser_h
|
#define cmGeneratorExpressionParser_h
|
||||||
|
|
||||||
#include "cmGeneratorExpressionLexer.h"
|
#include <cmConfigure.h> // IWYU pragma: keep
|
||||||
|
|
||||||
#include <set>
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "cmListFileCache.h"
|
#include "cmGeneratorExpressionLexer.h"
|
||||||
|
|
||||||
struct cmGeneratorExpressionEvaluator;
|
struct cmGeneratorExpressionEvaluator;
|
||||||
|
|
||||||
|
|
|
@ -13,19 +13,33 @@
|
||||||
|
|
||||||
#include "cmAlgorithms.h"
|
#include "cmAlgorithms.h"
|
||||||
#include "cmComputeLinkInformation.h"
|
#include "cmComputeLinkInformation.h"
|
||||||
|
#include "cmCustomCommand.h"
|
||||||
#include "cmCustomCommandGenerator.h"
|
#include "cmCustomCommandGenerator.h"
|
||||||
|
#include "cmCustomCommandLines.h"
|
||||||
#include "cmGeneratorExpression.h"
|
#include "cmGeneratorExpression.h"
|
||||||
#include "cmGeneratorExpressionDAGChecker.h"
|
#include "cmGeneratorExpressionDAGChecker.h"
|
||||||
#include "cmGlobalGenerator.h"
|
#include "cmGlobalGenerator.h"
|
||||||
#include "cmLocalGenerator.h"
|
#include "cmLocalGenerator.h"
|
||||||
#include "cmMakefile.h"
|
#include "cmMakefile.h"
|
||||||
|
#include "cmPropertyMap.h"
|
||||||
#include "cmSourceFile.h"
|
#include "cmSourceFile.h"
|
||||||
|
#include "cmSourceFileLocation.h"
|
||||||
|
#include "cmSystemTools.h"
|
||||||
#include "cmTarget.h"
|
#include "cmTarget.h"
|
||||||
|
#include "cmTargetLinkLibraryType.h"
|
||||||
|
#include "cm_auto_ptr.hxx"
|
||||||
|
#include "cmake.h"
|
||||||
|
|
||||||
#include <queue>
|
#include <algorithm>
|
||||||
|
#include <assert.h>
|
||||||
#include "assert.h"
|
#include <cmsys/RegularExpression.hxx>
|
||||||
#include <errno.h>
|
#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)
|
#if defined(CMake_HAVE_CXX_UNORDERED_SET)
|
||||||
#include <unordered_set>
|
#include <unordered_set>
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue