mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Refactoring: Third-parties public headers are under cm3p prefix
Fixes: #20666
This commit is contained in:
+6
-4
@@ -32,16 +32,18 @@ IncludeCategories:
|
||||
Priority: 5
|
||||
- Regex: '^(<|")Qt?[A-Z]'
|
||||
Priority: 6
|
||||
- Regex: '^(<|")cmsys/'
|
||||
- Regex: '^<cmtp/'
|
||||
Priority: 7
|
||||
- Regex: '^(<|")cm_'
|
||||
- Regex: '^(<|")cmsys/'
|
||||
Priority: 8
|
||||
- Regex: '^(<|")cm[A-Z][^.]+\.h'
|
||||
- Regex: '^(<|")cm_'
|
||||
Priority: 9
|
||||
- Regex: '^(<|")cm[A-Z][^.]+\.h'
|
||||
Priority: 10
|
||||
- Regex: '^<[^.]+\.h'
|
||||
Priority: 4
|
||||
- Regex: '^<'
|
||||
Priority: 1
|
||||
- Regex: '.*'
|
||||
Priority: 10
|
||||
Priority: 11
|
||||
...
|
||||
|
||||
+7
-4
@@ -376,10 +376,13 @@ macro (CMAKE_BUILD_UTILITIES)
|
||||
include_directories(SYSTEM "${CMake_SOURCE_DIR}/Utilities/std")
|
||||
endif()
|
||||
|
||||
include_directories(
|
||||
${CMake_BINARY_DIR}/Utilities
|
||||
${CMake_SOURCE_DIR}/Utilities
|
||||
)
|
||||
include_directories("${CMake_BINARY_DIR}/Utilities")
|
||||
if ((CMAKE_SYSTEM_NAME STREQUAL "AIX" OR CMAKE_SYSTEM_NAME STREQUAL "OS400") AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||
# using -isystem option generate error "template with C linkage"
|
||||
include_directories("${CMake_SOURCE_DIR}/Utilities")
|
||||
else()
|
||||
include_directories(SYSTEM "${CMake_SOURCE_DIR}/Utilities")
|
||||
endif()
|
||||
|
||||
#---------------------------------------------------------------------
|
||||
# Build CMake std library for CMake and CTest.
|
||||
|
||||
@@ -163,6 +163,18 @@ It is allowed to pass raw pointers between objects to enable objects sharing.
|
||||
A raw pointer **must** not be deleted. Only the object(s) owning the smart
|
||||
pointer are allowed to delete dynamically allocated memory.
|
||||
|
||||
Third Parties
|
||||
=============
|
||||
|
||||
To build CMake, some third parties are needed. Under ``Utilities``
|
||||
directory, are versions of these third parties which can be used as an
|
||||
alternate to the ones provided by the system.
|
||||
|
||||
To enable the selection of the third parties between the system and CMake ones,
|
||||
in CMake sources, third parties headers must be prefixed by ``cm3p/``
|
||||
(for example: ``<cm3p/json/reader.h>``). These wrappers are located under
|
||||
``Utilities/cm3p`` directory.
|
||||
|
||||
Source Tree Layout
|
||||
==================
|
||||
|
||||
@@ -208,6 +220,9 @@ The CMake source tree is organized as follows.
|
||||
* ``Utilities/std/cmext``:
|
||||
Extensions to the C++ STL.
|
||||
|
||||
* ``Utilities/cm3p``:
|
||||
Public headers for third parties needed to build CMake.
|
||||
|
||||
* ``Utilities/Sphinx/``:
|
||||
Sphinx configuration to build CMake user documentation.
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
#include <cm/memory>
|
||||
|
||||
#include "cm_expat.h"
|
||||
#include <cm3p/expat.h>
|
||||
|
||||
#include "cmCPackGenerator.h"
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "cm_libarchive.h"
|
||||
#include <cm3p/archive.h>
|
||||
|
||||
#include "cmCPackComponentGroup.h"
|
||||
#include "cmCPackGenerator.h"
|
||||
|
||||
@@ -8,10 +8,10 @@
|
||||
|
||||
#include <cm/memory>
|
||||
|
||||
#include "cmsys/FStream.hxx"
|
||||
#include <cm3p/json/value.h>
|
||||
#include <cm3p/json/writer.h>
|
||||
|
||||
#include "cm_jsoncpp_value.h"
|
||||
#include "cm_jsoncpp_writer.h"
|
||||
#include "cmsys/FStream.hxx"
|
||||
|
||||
#include "cmCPackComponentGroup.h"
|
||||
#include "cmCPackLog.h"
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
|
||||
#include <cmext/algorithm>
|
||||
|
||||
#include "cmsys/RegularExpression.hxx"
|
||||
#include <cm3p/expat.h>
|
||||
|
||||
#include "cm_expat.h"
|
||||
#include "cmsys/RegularExpression.hxx"
|
||||
|
||||
#include "cmCTest.h"
|
||||
#include "cmCTestVC.h"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "cm_curl.h"
|
||||
#include <cm3p/curl/curl.h>
|
||||
|
||||
class cmCTest;
|
||||
|
||||
|
||||
@@ -21,13 +21,13 @@
|
||||
#include <cm/memory>
|
||||
#include <cmext/algorithm>
|
||||
|
||||
#include <cm3p/json/value.h>
|
||||
#include <cm3p/json/writer.h>
|
||||
#include <cm3p/uv.h>
|
||||
|
||||
#include "cmsys/FStream.hxx"
|
||||
#include "cmsys/SystemInformation.hxx"
|
||||
|
||||
#include "cm_jsoncpp_value.h"
|
||||
#include "cm_jsoncpp_writer.h"
|
||||
#include "cm_uv.h"
|
||||
|
||||
#include "cmAffinity.h"
|
||||
#include "cmCTest.h"
|
||||
#include "cmCTestBinPacker.h"
|
||||
|
||||
@@ -11,10 +11,9 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <cm3p/uv.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#include "cm_uv.h"
|
||||
|
||||
#include "cmCTest.h"
|
||||
#include "cmCTestResourceAllocator.h"
|
||||
#include "cmCTestTestHandler.h"
|
||||
|
||||
@@ -7,12 +7,12 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include <cm3p/json/reader.h>
|
||||
#include <cm3p/json/value.h>
|
||||
|
||||
#include "cmsys/FStream.hxx"
|
||||
#include "cmsys/RegularExpression.hxx"
|
||||
|
||||
#include "cm_jsoncpp_reader.h"
|
||||
#include "cm_jsoncpp_value.h"
|
||||
|
||||
static const cmsys::RegularExpression IdentifierRegex{ "^[a-z_][a-z0-9_]*$" };
|
||||
static const cmsys::RegularExpression IdRegex{ "^[a-z0-9_]+$" };
|
||||
|
||||
|
||||
@@ -9,9 +9,9 @@
|
||||
|
||||
#include <cmext/algorithm>
|
||||
|
||||
#include "cm_curl.h"
|
||||
#include "cm_jsoncpp_reader.h"
|
||||
#include "cm_jsoncpp_value.h"
|
||||
#include <cm3p/curl/curl.h>
|
||||
#include <cm3p/json/reader.h>
|
||||
#include <cm3p/json/value.h>
|
||||
|
||||
#include "cmAlgorithms.h"
|
||||
#include "cmCTest.h"
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#include "cmGetPipes.h"
|
||||
#include "cmStringAlgorithms.h"
|
||||
#if defined(_WIN32)
|
||||
# include "cm_kwiml.h"
|
||||
# include <cm3p/kwiml/int.h>
|
||||
#endif
|
||||
|
||||
#define CM_PROCESS_BUF_SIZE 65536
|
||||
|
||||
@@ -11,11 +11,10 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include <cm3p/uv.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "cm_uv.h"
|
||||
|
||||
#include "cmDuration.h"
|
||||
#include "cmProcessOutput.h"
|
||||
#include "cmUVHandlePtr.h"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmAffinity.h"
|
||||
|
||||
#include "cm_uv.h"
|
||||
#include <cm3p/uv.h>
|
||||
|
||||
#ifndef CMAKE_USE_SYSTEM_LIBUV
|
||||
# ifdef _WIN32
|
||||
|
||||
@@ -15,8 +15,6 @@
|
||||
|
||||
#include <cmext/algorithm>
|
||||
|
||||
#include "cm_kwiml.h"
|
||||
|
||||
#include "cmRange.h"
|
||||
|
||||
template <typename FwdIt>
|
||||
|
||||
@@ -7,12 +7,14 @@
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
|
||||
#include <cm3p/archive.h>
|
||||
#include <cm3p/archive_entry.h>
|
||||
|
||||
#include "cmsys/Directory.hxx"
|
||||
#include "cmsys/Encoding.hxx"
|
||||
#include "cmsys/FStream.hxx"
|
||||
|
||||
#include "cm_get_date.h"
|
||||
#include "cm_libarchive.h"
|
||||
|
||||
#include "cmLocale.h"
|
||||
#include "cmStringAlgorithms.h"
|
||||
|
||||
+3
-3
@@ -21,6 +21,9 @@
|
||||
#include <cmext/algorithm>
|
||||
#include <cmext/string_view>
|
||||
|
||||
#include <cm3p/curl/curl.h>
|
||||
#include <cm3p/zlib.h>
|
||||
|
||||
#include "cmsys/Base64.h"
|
||||
#include "cmsys/Directory.hxx"
|
||||
#include "cmsys/FStream.hxx"
|
||||
@@ -28,9 +31,6 @@
|
||||
#include "cmsys/Process.h"
|
||||
#include "cmsys/RegularExpression.hxx"
|
||||
#include "cmsys/SystemInformation.hxx"
|
||||
|
||||
#include "cm_curl.h"
|
||||
#include "cm_zlib.h"
|
||||
#if defined(_WIN32)
|
||||
# include <windows.h> // IWYU pragma: keep
|
||||
#else
|
||||
|
||||
+10
-1
@@ -5,7 +5,7 @@
|
||||
#include <cassert>
|
||||
#include <cstring>
|
||||
|
||||
#include "cm_uv.h"
|
||||
#include <cm3p/uv.h>
|
||||
|
||||
#include "cmServer.h"
|
||||
|
||||
@@ -20,8 +20,13 @@ void cmEventBasedConnection::on_alloc_buffer(uv_handle_t* handle,
|
||||
uv_buf_t* buf)
|
||||
{
|
||||
(void)(handle);
|
||||
#ifndef __clang_analyzer__
|
||||
char* rawBuffer = new char[suggested_size];
|
||||
*buf = uv_buf_init(rawBuffer, static_cast<unsigned int>(suggested_size));
|
||||
#else
|
||||
(void)(suggested_size);
|
||||
(void)(buf);
|
||||
#endif /* __clang_analyzer__ */
|
||||
}
|
||||
|
||||
void cmEventBasedConnection::on_read(uv_stream_t* stream, ssize_t nread,
|
||||
@@ -76,6 +81,7 @@ void cmEventBasedConnection::WriteData(const std::string& _data)
|
||||
assert(uv_thread_equal(&curr_thread_id, &this->Server->ServeThreadId));
|
||||
#endif
|
||||
|
||||
#ifndef __clang_analyzer__
|
||||
auto data = _data;
|
||||
assert(this->WriteStream.get());
|
||||
if (BufferStrategy) {
|
||||
@@ -90,6 +96,9 @@ void cmEventBasedConnection::WriteData(const std::string& _data)
|
||||
memcpy(req->buf.base, data.c_str(), ds);
|
||||
uv_write(reinterpret_cast<uv_write_t*>(req), this->WriteStream, &req->buf, 1,
|
||||
on_write);
|
||||
#else
|
||||
(void)(_data);
|
||||
#endif /* __clang_analyzer__ */
|
||||
}
|
||||
|
||||
void cmEventBasedConnection::ReadData(const std::string& data)
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include "cm_uv.h"
|
||||
#include <cm3p/uv.h>
|
||||
|
||||
#include "cmUVHandlePtr.h"
|
||||
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
|
||||
#include <cm/memory>
|
||||
|
||||
#include "cmsys/FStream.hxx"
|
||||
#include <cm3p/kwiml/int.h>
|
||||
#include <cm3p/rhash.h>
|
||||
|
||||
#include "cm_kwiml.h"
|
||||
#include "cm_rhash.h"
|
||||
#include "cmsys/FStream.hxx"
|
||||
|
||||
static unsigned int const cmCryptoHashAlgoToId[] = {
|
||||
/* clang-format needs this comment to break after the opening brace */
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "cm_curl.h"
|
||||
#include <cm3p/curl/curl.h>
|
||||
|
||||
std::string cmCurlSetCAInfo(::CURL* curl, const char* cafile = nullptr);
|
||||
std::string cmCurlSetNETRCOption(::CURL* curl, const std::string& netrc_level,
|
||||
|
||||
+3
-3
@@ -3,6 +3,7 @@
|
||||
#include "cmELF.h"
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <sstream>
|
||||
@@ -12,14 +13,13 @@
|
||||
#include <cm/memory>
|
||||
#include <cmext/algorithm>
|
||||
|
||||
#include "cmsys/FStream.hxx"
|
||||
#include <cm3p/kwiml/abi.h>
|
||||
|
||||
#include "cm_kwiml.h"
|
||||
#include "cmsys/FStream.hxx"
|
||||
|
||||
// Include the ELF format information system header.
|
||||
#if defined(__OpenBSD__)
|
||||
# include <elf_abi.h>
|
||||
# include <stdint.h>
|
||||
#elif defined(__HAIKU__)
|
||||
# include <elf32.h>
|
||||
# include <elf64.h>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "cm_kwiml.h"
|
||||
#include <cm3p/kwiml/int.h>
|
||||
|
||||
class cmExprParserHelper
|
||||
{
|
||||
|
||||
+3
-3
@@ -11,9 +11,9 @@
|
||||
#include <unordered_set>
|
||||
#include <vector>
|
||||
|
||||
#include "cm_jsoncpp_reader.h"
|
||||
#include "cm_jsoncpp_value.h"
|
||||
#include "cm_jsoncpp_writer.h"
|
||||
#include <cm3p/json/reader.h>
|
||||
#include <cm3p/json/value.h>
|
||||
#include <cm3p/json/writer.h>
|
||||
|
||||
class cmake;
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "cm_jsoncpp_value.h"
|
||||
#include <cm3p/json/value.h>
|
||||
|
||||
#include "cmFileAPI.h"
|
||||
#include "cmGlobalGenerator.h"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
#include "cmConfigure.h" // IWYU pragma: keep
|
||||
|
||||
#include "cm_jsoncpp_value.h"
|
||||
#include <cm3p/json/value.h>
|
||||
|
||||
class cmFileAPI;
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "cm_jsoncpp_value.h"
|
||||
#include <cm3p/json/value.h>
|
||||
|
||||
#include "cmFileAPI.h"
|
||||
#include "cmState.h"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
#include "cmConfigure.h" // IWYU pragma: keep
|
||||
|
||||
#include "cm_jsoncpp_value.h"
|
||||
#include <cm3p/json/value.h>
|
||||
|
||||
class cmFileAPI;
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
#include <cmext/algorithm>
|
||||
|
||||
#include "cm_jsoncpp_value.h"
|
||||
#include <cm3p/json/value.h>
|
||||
|
||||
#include "cmCryptoHash.h"
|
||||
#include "cmFileAPI.h"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
#include "cmConfigure.h" // IWYU pragma: keep
|
||||
|
||||
#include "cm_jsoncpp_value.h"
|
||||
#include <cm3p/json/value.h>
|
||||
|
||||
class cmFileAPI;
|
||||
|
||||
|
||||
@@ -19,11 +19,12 @@
|
||||
#include <cmext/algorithm>
|
||||
#include <cmext/string_view>
|
||||
|
||||
#include <cm3p/kwiml/int.h>
|
||||
|
||||
#include "cmsys/FStream.hxx"
|
||||
#include "cmsys/Glob.hxx"
|
||||
#include "cmsys/RegularExpression.hxx"
|
||||
|
||||
#include "cm_kwiml.h"
|
||||
#include "cm_sys_stat.h"
|
||||
|
||||
#include "cmAlgorithms.h"
|
||||
@@ -54,7 +55,7 @@
|
||||
#include "cmake.h"
|
||||
|
||||
#if !defined(CMAKE_BOOTSTRAP)
|
||||
# include "cm_curl.h"
|
||||
# include <cm3p/curl/curl.h>
|
||||
|
||||
# include "cmCurl.h"
|
||||
# include "cmFileLockResult.h"
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "cm_uv.h"
|
||||
#include <cm3p/uv.h>
|
||||
|
||||
class cmRootWatcher;
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "cm_kwiml.h"
|
||||
#include <cm3p/kwiml/int.h>
|
||||
|
||||
#include "cmFindCommon.h"
|
||||
#include "cmPolicies.h"
|
||||
|
||||
@@ -8,8 +8,9 @@
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
#if !defined(CMAKE_BOOTSTRAP)
|
||||
# include <cm3p/zlib.h>
|
||||
|
||||
# include "cm_codecvt.hxx"
|
||||
# include "cm_zlib.h"
|
||||
#endif
|
||||
|
||||
cmGeneratedFileStream::cmGeneratedFileStream(Encoding encoding)
|
||||
|
||||
@@ -2,10 +2,9 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmGetPipes.h"
|
||||
|
||||
#include <cm3p/uv.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#include "cm_uv.h"
|
||||
|
||||
#if defined(_WIN32) && !defined(__CYGWIN__)
|
||||
# include <io.h>
|
||||
|
||||
|
||||
@@ -52,8 +52,8 @@
|
||||
#include "cmake.h"
|
||||
|
||||
#if !defined(CMAKE_BOOTSTRAP)
|
||||
# include "cm_jsoncpp_value.h"
|
||||
# include "cm_jsoncpp_writer.h"
|
||||
# include <cm3p/json/value.h>
|
||||
# include <cm3p/json/writer.h>
|
||||
|
||||
# include "cmCryptoHash.h"
|
||||
# include "cmQtAutoGenGlobalInitializer.h"
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
#include "cmTargetDepend.h"
|
||||
|
||||
#if !defined(CMAKE_BOOTSTRAP)
|
||||
# include "cm_jsoncpp_value.h"
|
||||
# include <cm3p/json/value.h>
|
||||
|
||||
# include "cmFileLockPool.h"
|
||||
#endif
|
||||
|
||||
@@ -12,11 +12,11 @@
|
||||
#include <cmext/algorithm>
|
||||
#include <cmext/memory>
|
||||
|
||||
#include "cmsys/FStream.hxx"
|
||||
#include <cm3p/json/reader.h>
|
||||
#include <cm3p/json/value.h>
|
||||
#include <cm3p/json/writer.h>
|
||||
|
||||
#include "cm_jsoncpp_reader.h"
|
||||
#include "cm_jsoncpp_value.h"
|
||||
#include "cm_jsoncpp_writer.h"
|
||||
#include "cmsys/FStream.hxx"
|
||||
|
||||
#include "cmDocumentationEntry.h"
|
||||
#include "cmFortranParser.h"
|
||||
|
||||
@@ -6,12 +6,12 @@
|
||||
|
||||
#include <cm/memory>
|
||||
|
||||
#include <cm3p/json/reader.h>
|
||||
|
||||
#include "cmsys/FStream.hxx"
|
||||
#include "cmsys/Glob.hxx"
|
||||
#include "cmsys/RegularExpression.hxx"
|
||||
|
||||
#include "cm_jsoncpp_reader.h"
|
||||
|
||||
#include "cmAlgorithms.h"
|
||||
#include "cmDocumentationEntry.h"
|
||||
#include "cmGeneratorTarget.h"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "cm_jsoncpp_value.h"
|
||||
#include <cm3p/json/value.h>
|
||||
|
||||
class cmake;
|
||||
class cmGlobalGenerator;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
#include "cm_kwiml.h"
|
||||
#include <cm3p/kwiml/int.h>
|
||||
|
||||
#include "cmCustomCommandTypes.h"
|
||||
#include "cmListFileCache.h"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <cmext/algorithm>
|
||||
|
||||
#include "cm_expat.h"
|
||||
#include <cm3p/expat.h>
|
||||
|
||||
#include "cmAlgorithms.h"
|
||||
#include "cmGeneratorTarget.h"
|
||||
|
||||
@@ -7,10 +7,9 @@
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#include <cm3p/expat.h>
|
||||
#include <ctype.h> // for isspace
|
||||
|
||||
#include "cm_expat.h"
|
||||
|
||||
#include "cmComputeLinkInformation.h"
|
||||
#include "cmCustomCommand.h"
|
||||
#include "cmCustomCommandGenerator.h"
|
||||
|
||||
@@ -20,11 +20,12 @@
|
||||
#include <cmext/algorithm>
|
||||
#include <cmext/string_view>
|
||||
|
||||
#include <cm3p/json/value.h>
|
||||
#include <cm3p/json/writer.h>
|
||||
|
||||
#include "cmsys/FStream.hxx"
|
||||
#include "cmsys/RegularExpression.hxx"
|
||||
|
||||
#include "cm_jsoncpp_value.h"
|
||||
#include "cm_jsoncpp_writer.h"
|
||||
#include "cm_sys_stat.h"
|
||||
|
||||
#include "cmCommandArgumentParserHelper.h"
|
||||
|
||||
@@ -6,12 +6,12 @@
|
||||
#include <stdexcept>
|
||||
#include <vector>
|
||||
|
||||
#include <cm3p/json/value.h>
|
||||
#include <cm3p/json/writer.h>
|
||||
|
||||
#include "cmsys/FStream.hxx"
|
||||
#include "cmsys/SystemInformation.hxx"
|
||||
|
||||
#include "cm_jsoncpp_value.h"
|
||||
#include "cm_jsoncpp_writer.h"
|
||||
|
||||
#include "cmListFileCache.h"
|
||||
#include "cmStringAlgorithms.h"
|
||||
#include "cmSystemTools.h"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <cstdio>
|
||||
|
||||
#include "cm_kwiml.h"
|
||||
#include <cm3p/kwiml/int.h>
|
||||
|
||||
#include "cmExecutionStatus.h"
|
||||
#include "cmExprParserHelper.h"
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
#include <cm/memory>
|
||||
#include <cmext/algorithm>
|
||||
|
||||
#include "cm_jsoncpp_value.h"
|
||||
#include "cm_jsoncpp_writer.h"
|
||||
#include <cm3p/json/value.h>
|
||||
#include <cm3p/json/writer.h>
|
||||
|
||||
#include "cmComputeLinkInformation.h"
|
||||
#include "cmCustomCommandGenerator.h"
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "cm_jsoncpp_value.h"
|
||||
#include <cm3p/json/value.h>
|
||||
|
||||
#include "cmCommonTargetGenerator.h"
|
||||
#include "cmGlobalNinjaGenerator.h"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "cm_uv.h"
|
||||
#include <cm3p/uv.h>
|
||||
|
||||
#include "cmConnection.h"
|
||||
#include "cmUVHandlePtr.h"
|
||||
|
||||
@@ -18,10 +18,10 @@
|
||||
#include <cm/memory>
|
||||
#include <cmext/algorithm>
|
||||
|
||||
#include "cmsys/SystemInformation.hxx"
|
||||
#include <cm3p/json/value.h>
|
||||
#include <cm3p/json/writer.h>
|
||||
|
||||
#include "cm_jsoncpp_value.h"
|
||||
#include "cm_jsoncpp_writer.h"
|
||||
#include "cmsys/SystemInformation.hxx"
|
||||
|
||||
#include "cmCustomCommand.h"
|
||||
#include "cmCustomCommandLines.h"
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#include "cmQtAutoGenerator.h"
|
||||
|
||||
#include "cmsys/FStream.hxx"
|
||||
#include <cm3p/json/reader.h>
|
||||
|
||||
#include "cm_jsoncpp_reader.h"
|
||||
#include "cmsys/FStream.hxx"
|
||||
|
||||
#include "cmQtAutoGen.h"
|
||||
#include "cmStringAlgorithms.h"
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
#include <cm/string_view>
|
||||
|
||||
#include "cm_jsoncpp_value.h"
|
||||
#include <cm3p/json/value.h>
|
||||
|
||||
#include "cmFileTime.h"
|
||||
#include "cmQtAutoGen.h"
|
||||
|
||||
@@ -18,11 +18,11 @@
|
||||
#include <cm/string_view>
|
||||
#include <cmext/algorithm>
|
||||
|
||||
#include <cm3p/json/value.h>
|
||||
|
||||
#include "cmsys/FStream.hxx"
|
||||
#include "cmsys/RegularExpression.hxx"
|
||||
|
||||
#include "cm_jsoncpp_value.h"
|
||||
|
||||
#include "cmCryptoHash.h"
|
||||
#include "cmFileTime.h"
|
||||
#include "cmGccDepfileReader.h"
|
||||
|
||||
+4
-3
@@ -4,6 +4,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
#include <csignal>
|
||||
#include <cstdint>
|
||||
#include <iostream>
|
||||
#include <mutex>
|
||||
@@ -12,10 +13,10 @@
|
||||
#include <cm/memory>
|
||||
#include <cm/shared_mutex>
|
||||
|
||||
#include "cmsys/FStream.hxx"
|
||||
#include <cm3p/json/reader.h>
|
||||
#include <cm3p/json/writer.h>
|
||||
|
||||
#include "cm_jsoncpp_reader.h"
|
||||
#include "cm_jsoncpp_writer.h"
|
||||
#include "cmsys/FStream.hxx"
|
||||
|
||||
#include "cmConnection.h"
|
||||
#include "cmFileMonitor.h"
|
||||
|
||||
+2
-2
@@ -10,8 +10,8 @@
|
||||
|
||||
#include <cm/shared_mutex>
|
||||
|
||||
#include "cm_jsoncpp_value.h"
|
||||
#include "cm_uv.h"
|
||||
#include <cm3p/json/value.h>
|
||||
#include <cm3p/uv.h>
|
||||
|
||||
#include "cmUVHandlePtr.h"
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "cmServerConnection.h"
|
||||
|
||||
#include "cm_uv.h"
|
||||
#include <cm3p/uv.h>
|
||||
|
||||
#include "cmServer.h"
|
||||
#include "cmServerDictionary.h"
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include <cm/memory>
|
||||
#include <cmext/algorithm>
|
||||
|
||||
#include "cm_uv.h"
|
||||
#include <cm3p/uv.h>
|
||||
|
||||
#include "cmExternalMakefileProjectGenerator.h"
|
||||
#include "cmFileMonitor.h"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
#include "cm_jsoncpp_value.h"
|
||||
#include <cm3p/json/value.h>
|
||||
|
||||
#include "cmake.h"
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
#define YY_NO_UNPUT 1
|
||||
#define ECHO
|
||||
|
||||
#include "cm_kwiml.h"
|
||||
#include <cm3p/kwiml/int.h>
|
||||
typedef KWIML_INT_int8_t flex_int8_t;
|
||||
typedef KWIML_INT_uint8_t flex_uint8_t;
|
||||
typedef KWIML_INT_int16_t flex_int16_t;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
#include <cmext/algorithm>
|
||||
|
||||
#include "cm_uv.h"
|
||||
#include <cm3p/uv.h>
|
||||
|
||||
#include "cmDuration.h"
|
||||
#include "cmProcessOutput.h"
|
||||
@@ -22,7 +22,8 @@
|
||||
#include "cmStringAlgorithms.h"
|
||||
|
||||
#if !defined(CMAKE_BOOTSTRAP)
|
||||
# include "cm_libarchive.h"
|
||||
# include <cm3p/archive.h>
|
||||
# include <cm3p/archive_entry.h>
|
||||
|
||||
# include "cmArchiveWrite.h"
|
||||
# include "cmLocale.h"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include <cstdlib>
|
||||
#include <mutex>
|
||||
|
||||
#include "cm_uv.h"
|
||||
#include <cm3p/uv.h>
|
||||
|
||||
namespace cm {
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include <memory>
|
||||
#include <type_traits>
|
||||
|
||||
#include "cm_uv.h"
|
||||
#include <cm3p/uv.h>
|
||||
|
||||
#if defined(__SUNPRO_CC)
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include <cm/memory>
|
||||
|
||||
#include "cm_uv.h"
|
||||
#include <cm3p/uv.h>
|
||||
|
||||
#include "cmGetPipes.h"
|
||||
#include "cmUVHandlePtr.h"
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "cm_uv.h"
|
||||
#include <cm3p/uv.h>
|
||||
|
||||
class cmUVProcessChain;
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#pragma once
|
||||
#include "cmConfigure.h" // IWYU pragma: keep
|
||||
|
||||
#include "cm_uv.h"
|
||||
#include <cm3p/uv.h>
|
||||
|
||||
#if defined(CMAKE_USE_SYSTEM_LIBUV) && !defined(_WIN32) && \
|
||||
UV_VERSION_MAJOR == 1 && UV_VERSION_MINOR < 19
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include <streambuf>
|
||||
#include <vector>
|
||||
|
||||
#include "cm_uv.h"
|
||||
#include <cm3p/uv.h>
|
||||
|
||||
#include "cmUVHandlePtr.h"
|
||||
|
||||
|
||||
@@ -8,13 +8,12 @@
|
||||
#endif
|
||||
|
||||
// Published by Visual Studio Setup team
|
||||
#include <cm3p/Setup.Configuration.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#include "cmvssetup/Setup.Configuration.h"
|
||||
|
||||
template <class T>
|
||||
class SmartCOMPtr
|
||||
{
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
#ifndef cmVersion_h
|
||||
#define cmVersion_h
|
||||
|
||||
#include "cm_kwiml.h"
|
||||
#include <cm3p/kwiml/int.h>
|
||||
|
||||
/** \class cmVersion
|
||||
* \brief Helper class for providing CMake and CTest version information.
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
#include <cm/memory>
|
||||
|
||||
#include "cm_uv.h"
|
||||
#include <cm3p/uv.h>
|
||||
|
||||
#include "cmRange.h"
|
||||
#include "cmStringAlgorithms.h"
|
||||
|
||||
@@ -7,9 +7,9 @@
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
|
||||
#include "cmsys/FStream.hxx"
|
||||
#include <cm3p/expat.h>
|
||||
|
||||
#include "cm_expat.h"
|
||||
#include "cmsys/FStream.hxx"
|
||||
|
||||
cmXMLParser::cmXMLParser()
|
||||
{
|
||||
|
||||
+1
-1
@@ -57,7 +57,7 @@
|
||||
#if !defined(CMAKE_BOOTSTRAP)
|
||||
# include <unordered_map>
|
||||
|
||||
# include "cm_jsoncpp_writer.h"
|
||||
# include <cm3p/json/writer.h>
|
||||
|
||||
# include "cmFileAPI.h"
|
||||
# include "cmGraphVizWriter.h"
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@
|
||||
#include "cmStateTypes.h"
|
||||
|
||||
#if !defined(CMAKE_BOOTSTRAP)
|
||||
# include "cm_jsoncpp_value.h"
|
||||
# include <cm3p/json/value.h>
|
||||
#endif
|
||||
|
||||
class cmExternalMakefileProjectGeneratorFactory;
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
|
||||
#include "cmConfigure.h" // IWYU pragma: keep
|
||||
|
||||
#include <cassert>
|
||||
#include <cctype>
|
||||
#include <climits>
|
||||
@@ -11,6 +13,8 @@
|
||||
|
||||
#include <cmext/algorithm>
|
||||
|
||||
#include <cm3p/uv.h>
|
||||
|
||||
#include "cmDocumentationEntry.h" // IWYU pragma: keep
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmMakefile.h"
|
||||
@@ -27,8 +31,6 @@
|
||||
#endif
|
||||
|
||||
#include "cmsys/Encoding.hxx"
|
||||
|
||||
#include "cm_uv.h"
|
||||
#if defined(_WIN32) && !defined(CMAKE_BOOTSTRAP)
|
||||
# include "cmsys/ConsoleBuf.hxx"
|
||||
#endif
|
||||
|
||||
+1
-2
@@ -4,10 +4,9 @@
|
||||
|
||||
#include <cmext/algorithm>
|
||||
|
||||
#include <cm3p/uv.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#include "cm_uv.h"
|
||||
|
||||
#include "cmDuration.h"
|
||||
#include "cmGlobalGenerator.h"
|
||||
#include "cmLocalGenerator.h"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
#include <cm/memory>
|
||||
|
||||
#include "cm_uv.h"
|
||||
#include <cm3p/uv.h>
|
||||
|
||||
#include "cmGetPipes.h"
|
||||
#include "cmUVHandlePtr.h"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include <thread>
|
||||
#include <utility>
|
||||
|
||||
#include "cm_uv.h"
|
||||
#include <cm3p/uv.h>
|
||||
|
||||
#include "cmUVHandlePtr.h"
|
||||
|
||||
|
||||
@@ -3,10 +3,9 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <cm3p/uv.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "cm_uv.h"
|
||||
|
||||
#include "cmGetPipes.h"
|
||||
#include "cmUVHandlePtr.h"
|
||||
#include "cmUVStreambuf.h"
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
int main()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
#include "MyForm.h"
|
||||
#include "MyForm.h"
|
||||
|
||||
@@ -97,54 +97,15 @@
|
||||
{ symbol: [ "std::enable_if<true, std::chrono::duration<long, std::ratio<60, 1> > >::type", private, "\"cmConfigure.h\"", public ] },
|
||||
{ symbol: [ "std::enable_if<true, std::chrono::duration<long, std::ratio<1, 1000> > >::type", private, "\"cmConfigure.h\"", public ] },
|
||||
|
||||
# KWIML
|
||||
{ include: [ "<stdint.h>", public, "\"cm_kwiml.h\"", public ] },
|
||||
{ include: [ "<inttypes.h>", public, "\"cm_kwiml.h\"", public ] },
|
||||
|
||||
# Self-sufficient wrapper for <sys/stat.h>
|
||||
{ symbol: [ "mode_t", private, "\"cm_sys_stat.h\"", public ] },
|
||||
|
||||
# Wrappers for 3rd-party libraries used from the system.
|
||||
{ include: [ "<archive.h>", private, "\"cm_libarchive.h\"", public ] },
|
||||
{ include: [ "<archive_entry.h>", private, "\"cm_libarchive.h\"", public ] },
|
||||
{ include: [ "@<curl/.+\\.h>", private, "\"cm_curl.h\"", public ] },
|
||||
{ include: [ "<expat.h>", private, "\"cm_expat.h\"", public ] },
|
||||
{ include: [ "<expat_external.h>", private, "\"cm_expat.h\"", public ] },
|
||||
{ include: [ "<json/reader.h>", private, "\"cm_jsoncpp_reader.h\"", public ] },
|
||||
{ include: [ "<json/value.h>", private, "\"cm_jsoncpp_value.h\"", public ] },
|
||||
{ include: [ "<json/writer.h>", private, "\"cm_jsoncpp_writer.h\"", public ] },
|
||||
{ include: [ "<rhash.h>", private, "\"cm_rhash.h\"", public ] },
|
||||
{ include: [ "<uv.h>", private, "\"cm_uv.h\"", public ] },
|
||||
{ include: [ "@<uv[/-].+\\.h>", private, "\"cm_uv.h\"", public ] },
|
||||
{ include: [ "<kwiml/abi.h>", private, "\"cm_kwiml.h\"", public ] },
|
||||
{ include: [ "<kwiml/int.h>", private, "\"cm_kwiml.h\"", public ] },
|
||||
{ include: [ "<zconf.h>", private, "\"cm_zlib.h\"", public ] },
|
||||
{ include: [ "<zlib.h>", private, "\"cm_zlib.h\"", public ] },
|
||||
|
||||
# Wrappers for bundled 3rd-party libraries.
|
||||
{ include: [ "\"cmlibarchive/libarchive/archive.h\"", private, "\"cm_libarchive.h\"", public ] },
|
||||
{ include: [ "\"cmlibarchive/libarchive/archive_entry.h\"", private, "\"cm_libarchive.h\"", public ] },
|
||||
{ include: [ "@\"cmcurl/include/curl/.+\\.h\"", private, "\"cm_curl.h\"", public ] },
|
||||
{ include: [ "\"cmexpat/lib/expat.h\"", private, "\"cm_expat.h\"", public ] },
|
||||
{ include: [ "\"cmexpat/lib/expat_external.h\"", private, "\"cm_expat.h\"", public ] },
|
||||
{ include: [ "\"cmjsoncpp/include/json/reader.h\"", private, "\"cm_jsoncpp_reader.h\"", public ] },
|
||||
{ include: [ "\"cmjsoncpp/include/json/value.h\"", private, "\"cm_jsoncpp_value.h\"", public ] },
|
||||
{ include: [ "\"cmjsoncpp/include/json/writer.h\"", private, "\"cm_jsoncpp_writer.h\"", public ] },
|
||||
{ include: [ "\"cmlibrhash/librhash/rhash.h\"", private, "\"cm_rhash.h\"", public ] },
|
||||
{ include: [ "\"cmlibuv/include/uv.h\"", private, "\"cm_uv.h\"", public ] },
|
||||
{ include: [ "@\"cmlibuv/include/uv/.+\\.h\"", private, "\"cm_uv.h\"", public ] },
|
||||
{ include: [ "\"KWIML/include/kwiml/abi.h\"", private, "\"cm_kwiml.h\"", public ] },
|
||||
{ include: [ "\"KWIML/include/kwiml/int.h\"", private, "\"cm_kwiml.h\"", public ] },
|
||||
{ include: [ "\"cmzlib/cm_zlib_mangle.h\"", private, "\"cm_zlib.h\"", public ] },
|
||||
{ include: [ "\"cmzlib/zconf.h\"", private, "\"cm_zlib.h\"", public ] },
|
||||
{ include: [ "\"cmzlib/zlib.h\"", private, "\"cm_zlib.h\"", public ] },
|
||||
|
||||
# System symbols used by libuv
|
||||
{ symbol: [ "SIGHUP", private, "\"cm_uv.h\"", public ] },
|
||||
{ symbol: [ "SIGINT", private, "\"cm_uv.h\"", public ] },
|
||||
{ symbol: [ "ssize_t", private, "\"cm_uv.h\"", public ] },
|
||||
|
||||
{ symbol: [ "Json::ArrayIndex", private, "\"cm_jsoncpp_value.h\"", public ] },
|
||||
# Wrappers for 3rd-party libraries
|
||||
{ include: [ "@<.*curl/curlver.h>", private, "<cm3p/curl/curl.h>", public ] },
|
||||
{ include: [ "@<.*json/forwards.h>", private, "<cm3p/json/value.h>", public ] },
|
||||
{ include: [ "@<.*uv/.+\\.h>", private, "<cm3p/uv.h>", public ] },
|
||||
{ include: [ "@<.*expat_external.h>", private, "<cm3p/expat.h>", public ] },
|
||||
{ include: [ "@<.*zconf.h>", private, "<cm3p/zlib.h>", public ] },
|
||||
{ include: [ "@<.*cm_zlib_mangle.h>", private, "<cm3p/zlib.h>", public ] },
|
||||
# # System symbols used by libuv
|
||||
{ symbol: [ "ssize_t", private, "<cm3p/uv.h>", public ] },
|
||||
|
||||
{ symbol: [ "std::ifstream", private, "\"cmsys/FStream.hxx\"", public ] },
|
||||
{ symbol: [ "std::ofstream", private, "\"cmsys/FStream.hxx\"", public ] },
|
||||
@@ -156,8 +117,6 @@
|
||||
{ include: [ "<fstream>", public, "\"cmsys/FStream.hxx\"", public ] },
|
||||
|
||||
# major and minor are used as macro arguments. Those are false matches.
|
||||
{ symbol: [ "major", private, "\"cm_kwiml.h\"", public ] },
|
||||
{ symbol: [ "minor", private, "\"cm_kwiml.h\"", public ] },
|
||||
{ symbol: [ "major", private, "\"cmVersion.h\"", public ] },
|
||||
{ symbol: [ "minor", private, "\"cmVersion.h\"", public ] },
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#ifndef cm3p_Setup_Configuration_h
|
||||
#define cm3p_Setup_Configuration_h
|
||||
|
||||
#include <cmvssetup/Setup.Configuration.h> // IWYU pragma: export
|
||||
|
||||
#endif
|
||||
@@ -1,16 +1,14 @@
|
||||
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#ifndef cm_libarchive_h
|
||||
#define cm_libarchive_h
|
||||
#ifndef cm3p_archive_h
|
||||
#define cm3p_archive_h
|
||||
|
||||
/* Use the libarchive configured for CMake. */
|
||||
#include "cmThirdParty.h"
|
||||
#ifdef CMAKE_USE_SYSTEM_LIBARCHIVE
|
||||
# include <archive.h>
|
||||
# include <archive_entry.h>
|
||||
# include <archive.h> // IWYU pragma: export
|
||||
#else
|
||||
# include <cmlibarchive/libarchive/archive.h>
|
||||
# include <cmlibarchive/libarchive/archive_entry.h>
|
||||
# include <cmlibarchive/libarchive/archive.h> // IWYU pragma: export
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,14 @@
|
||||
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#ifndef cm3p_archive_entry_h
|
||||
#define cm3p_archive_entry_h
|
||||
|
||||
/* Use the libarchive configured for CMake. */
|
||||
#include "cmThirdParty.h"
|
||||
#ifdef CMAKE_USE_SYSTEM_LIBARCHIVE
|
||||
# include <archive_entry.h> // IWYU pragma: export
|
||||
#else
|
||||
# include <cmlibarchive/libarchive/archive_entry.h> // IWYU pragma: export
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -1,14 +1,14 @@
|
||||
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#ifndef cm_bzlib_h
|
||||
#define cm_bzlib_h
|
||||
#ifndef cm3p_bzlib_h
|
||||
#define cm3p_bzlib_h
|
||||
|
||||
/* Use the bzip2 library configured for CMake. */
|
||||
#include "cmThirdParty.h"
|
||||
#ifdef CMAKE_USE_SYSTEM_BZIP2
|
||||
# include <bzlib.h>
|
||||
# include <bzlib.h> // IWYU pragma: export
|
||||
#else
|
||||
# include <cmbzip2/bzlib.h>
|
||||
# include <cmbzip2/bzlib.h> // IWYU pragma: export
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -1,14 +1,14 @@
|
||||
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#ifndef cm_curl_h
|
||||
#define cm_curl_h
|
||||
#ifndef cm3p_curl_curl_h
|
||||
#define cm3p_curl_curl_h
|
||||
|
||||
/* Use the curl library configured for CMake. */
|
||||
#include "cmThirdParty.h"
|
||||
#ifdef CMAKE_USE_SYSTEM_CURL
|
||||
# include <curl/curl.h>
|
||||
# include <curl/curl.h> // IWYU pragma: export
|
||||
#else
|
||||
# include <cmcurl/include/curl/curl.h>
|
||||
# include <cmcurl/include/curl/curl.h> // IWYU pragma: export
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -1,14 +1,14 @@
|
||||
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#ifndef cm_expat_h
|
||||
#define cm_expat_h
|
||||
#ifndef cm3p_expat_h
|
||||
#define cm3p_expat_h
|
||||
|
||||
/* Use the expat library configured for CMake. */
|
||||
#include "cmThirdParty.h"
|
||||
#ifdef CMAKE_USE_SYSTEM_EXPAT
|
||||
# include <expat.h>
|
||||
# include <expat.h> // IWYU pragma: export
|
||||
#else
|
||||
# include <cmexpat/lib/expat.h>
|
||||
# include <cmexpat/lib/expat.h> // IWYU pragma: export
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -1,14 +1,14 @@
|
||||
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#ifndef cm_jsoncpp_writer_h
|
||||
#define cm_jsoncpp_writer_h
|
||||
#ifndef cm3p_json_reader_h
|
||||
#define cm3p_json_reader_h
|
||||
|
||||
/* Use the jsoncpp library configured for CMake. */
|
||||
#include "cmThirdParty.h"
|
||||
#ifdef CMAKE_USE_SYSTEM_JSONCPP
|
||||
# include <json/writer.h>
|
||||
# include <json/reader.h> // IWYU pragma: export
|
||||
#else
|
||||
# include <cmjsoncpp/include/json/writer.h>
|
||||
# include <cmjsoncpp/include/json/reader.h> // IWYU pragma: export
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -1,14 +1,14 @@
|
||||
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#ifndef cm_jsoncpp_value_h
|
||||
#define cm_jsoncpp_value_h
|
||||
#ifndef cm3p_json_value_h
|
||||
#define cm3p_json_value_h
|
||||
|
||||
/* Use the jsoncpp library configured for CMake. */
|
||||
#include "cmThirdParty.h"
|
||||
#ifdef CMAKE_USE_SYSTEM_JSONCPP
|
||||
# include <json/value.h>
|
||||
# include <json/value.h> // IWYU pragma: export
|
||||
#else
|
||||
# include <cmjsoncpp/include/json/value.h>
|
||||
# include <cmjsoncpp/include/json/value.h> // IWYU pragma: export
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -1,14 +1,14 @@
|
||||
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#ifndef cm_jsoncpp_reader_h
|
||||
#define cm_jsoncpp_reader_h
|
||||
#ifndef cm3p_json_writer_h
|
||||
#define cm3p_json_writer_h
|
||||
|
||||
/* Use the jsoncpp library configured for CMake. */
|
||||
#include "cmThirdParty.h"
|
||||
#ifdef CMAKE_USE_SYSTEM_JSONCPP
|
||||
# include <json/reader.h>
|
||||
# include <json/writer.h> // IWYU pragma: export
|
||||
#else
|
||||
# include <cmjsoncpp/include/json/reader.h>
|
||||
# include <cmjsoncpp/include/json/writer.h> // IWYU pragma: export
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -1,16 +1,14 @@
|
||||
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#ifndef cm_kwiml_h
|
||||
#define cm_kwiml_h
|
||||
#ifndef cm3p_kwiml_abi_h
|
||||
#define cm3p_kwiml_abi_h
|
||||
|
||||
/* Use the KWIML library configured for CMake. */
|
||||
#include "cmThirdParty.h"
|
||||
#ifdef CMAKE_USE_SYSTEM_KWIML
|
||||
# include <kwiml/abi.h>
|
||||
# include <kwiml/int.h>
|
||||
# include <kwiml/abi.h> // IWYU pragma: export
|
||||
#else
|
||||
# include "KWIML/include/kwiml/abi.h"
|
||||
# include "KWIML/include/kwiml/int.h"
|
||||
# include <KWIML/include/kwiml/abi.h> // IWYU pragma: export
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,14 @@
|
||||
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#ifndef cm3p_kwiml_int_h
|
||||
#define cm3p_kwiml_int_h
|
||||
|
||||
/* Use the KWIML library configured for CMake. */
|
||||
#include "cmThirdParty.h"
|
||||
#ifdef CMAKE_USE_SYSTEM_KWIML
|
||||
# include <kwiml/int.h> // IWYU pragma: export
|
||||
#else
|
||||
# include <KWIML/include/kwiml/int.h> // IWYU pragma: export
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -1,14 +1,14 @@
|
||||
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#ifndef cm_lzma_h
|
||||
#define cm_lzma_h
|
||||
#ifndef cm3p_lzma_h
|
||||
#define cm3p_lzma_h
|
||||
|
||||
/* Use the liblzma configured for CMake. */
|
||||
#include "cmThirdParty.h"
|
||||
#ifdef CMAKE_USE_SYSTEM_LIBLZMA
|
||||
# include <lzma.h>
|
||||
# include <lzma.h> // IWYU pragma: export
|
||||
#else
|
||||
# include <cmliblzma/liblzma/api/lzma.h>
|
||||
# include <cmliblzma/liblzma/api/lzma.h> // IWYU pragma: export
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -1,14 +1,14 @@
|
||||
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#ifndef cm_rhash_h
|
||||
#define cm_rhash_h
|
||||
#ifndef cm3p_rhash_h
|
||||
#define cm3p_rhash_h
|
||||
|
||||
/* Use the LibRHash library configured for CMake. */
|
||||
#include "cmThirdParty.h"
|
||||
#ifdef CMAKE_USE_SYSTEM_LIBRHASH
|
||||
# include <rhash.h>
|
||||
# include <rhash.h> // IWYU pragma: export
|
||||
#else
|
||||
# include <cmlibrhash/librhash/rhash.h>
|
||||
# include <cmlibrhash/librhash/rhash.h> // IWYU pragma: export
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -1,14 +1,14 @@
|
||||
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#ifndef cm_uv_h
|
||||
#define cm_uv_h
|
||||
#ifndef cm3p_uv_h
|
||||
#define cm3p_uv_h
|
||||
|
||||
/* Use the libuv library configured for CMake. */
|
||||
#include "cmThirdParty.h"
|
||||
#ifdef CMAKE_USE_SYSTEM_LIBUV
|
||||
# include <uv.h>
|
||||
# include <uv.h> // IWYU pragma: export
|
||||
#else
|
||||
# include <cmlibuv/include/uv.h>
|
||||
# include <cmlibuv/include/uv.h> // IWYU pragma: export
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -1,14 +1,14 @@
|
||||
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#ifndef cm_zlib_h
|
||||
#define cm_zlib_h
|
||||
#ifndef cm3p_zlib_h
|
||||
#define cm3p_zlib_h
|
||||
|
||||
/* Use the zlib library configured for CMake. */
|
||||
#include "cmThirdParty.h"
|
||||
#ifdef CMAKE_USE_SYSTEM_ZLIB
|
||||
# include <zlib.h>
|
||||
# include <zlib.h> // IWYU pragma: export
|
||||
#else
|
||||
# include <cmzlib/zlib.h>
|
||||
# include <cmzlib/zlib.h> // IWYU pragma: export
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -1,14 +1,14 @@
|
||||
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||
#ifndef cm_zstd_h
|
||||
#define cm_zstd_h
|
||||
#ifndef cm3p_zstd_h
|
||||
#define cm3p_zstd_h
|
||||
|
||||
/* Use the libzstd configured for CMake. */
|
||||
#include "cmThirdParty.h"
|
||||
#ifdef CMAKE_USE_SYSTEM_ZSTD
|
||||
# include <zstd.h>
|
||||
# include <zstd.h> // IWYU pragma: export
|
||||
#else
|
||||
# include <cmzstd/lib/zstd.h>
|
||||
# include <cmzstd/lib/zstd.h> // IWYU pragma: export
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -97,7 +97,7 @@
|
||||
|
||||
#include <stddef.h> /* size_t */
|
||||
|
||||
#include <cm_kwiml.h>
|
||||
#include <cm3p/kwiml/int.h>
|
||||
|
||||
#ifndef KWIML_INT_HAVE_UINT64_T
|
||||
# define uint64_t KWIML_INT_uint64_t
|
||||
|
||||
@@ -41,7 +41,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#ifdef HAVE_BZLIB_H
|
||||
#include <cm_bzlib.h>
|
||||
#include <cm3p/bzlib.h>
|
||||
#endif
|
||||
|
||||
#include "archive.h"
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user