summaryrefslogtreecommitdiffstats
path: root/Source/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* cmDocumentation: `char*[][2]` → `cmDocumentationEntry[N]`Alex Turbov2022-11-171-1/+0
| | | | | | | | | | Use fixed size arrays of `cmDocumentationEntry` items instead of open arrays of two `char` pointers when describe program options help screens. Also, drop `const char*[][2]` overloads of methods of `cmDocumentation` and `cmDocumentationSection` classes in the sake of generic (template) appenders introduced earlier.
* Source: Fix regression causing CMakeLib sources to be compiled repeatedlyBrad King2022-10-051-12/+12
| | | | | | | In commit 4ff8604604 (Build: Do not use variables for sources lists, 2022-08-21) the sources of `CMakeLib` were accidentally made PUBLIC. This causes them to be compiled again in all consuming targets. Make the sources PRIVATE instead.
* CMakePresets.json: Add workflow presets to schemaKyle Edwards2022-09-261-0/+1
|
* Build: Use `CMAKE_CURRENT_XXX_DIR` instead of top dirsAlex Turbov2022-09-221-6/+6
|
* Build: Sort linked libraries list of `CMakeLib`Alex Turbov2022-09-221-4/+4
|
* Build: Use imported target `Threads::Threads` instead of variableAlex Turbov2022-09-221-1/+1
|
* Build: Use imported target `kwiml::kwiml` instead of variablesAlex Turbov2022-09-221-1/+1
|
* Build: Use imported target `LibRHash::LibRHash` instead of variablesAlex Turbov2022-09-221-1/+1
|
* Build: Use imported target `LibUV::LibUV` instead of variablesAlex Turbov2022-09-221-1/+1
|
* Build: Use imported target `JsonCpp::JsonCpp` instead of variablesAlex Turbov2022-09-221-1/+1
|
* Build: Use imported target `CURL::libcurl` instead of variablesAlex Turbov2022-09-221-3/+2
|
* Build: Use imported target `LibArchive::LibArchive` instead of variablesAlex Turbov2022-09-221-2/+1
|
* Build: Use imported target `EXPAT::EXPAT` instead of variablesAlex Turbov2022-09-221-2/+1
|
* Build: Use imported target `ZLIB::ZLIB` instead of variablesAlex Turbov2022-09-221-2/+1
|
* Build: Extract `CMAKE_BUILD_UTILITIES` macro into a separate includeAlex Turbov2022-09-221-1/+2
| | | | | | The macro was one time used with the comment "Simply to improve readability...". The result file doesn't have a macro anymore and just included into the root `CMakeLists.txt`.
* Build: Use `cmstd` target instead of variable `CMAKE_STD_LIBRARY`Alex Turbov2022-09-221-1/+1
|
* Build: Replace `foreach` with 2 `set` callsAlex Turbov2022-09-221-7/+2
|
* Build: Move `HAVE_CoreServices` to `cmCPackConfigure.h`Alex Turbov2022-09-221-1/+0
|
* Build: Add `ENABLE_BUILD_FREEBSD_PKG` to `cmCPackConfigure.h`Alex Turbov2022-09-221-6/+4
|
* Build: Use imported `LibUUID::LibUUID` target instead of variablesAlex Turbov2022-09-221-17/+19
| | | | Also, simplify preprocessor condition to enable WIX CPack generator.
* Build: Link w/ `OBJECT` library is OK since 3.12Alex Turbov2022-09-221-1/+1
|
* Build: Introduce `ManifestLib` interface libraryAlex Turbov2022-09-221-9/+13
| | | | … instead of `MANIFEST_FILE` variable.
* Build: Move `KWSYS_ENCODING_DEFAULT_CODEPAGE` to the config headerAlex Turbov2022-09-221-3/+0
|
* Style: Builtin commands in lower caseAlex Turbov2022-09-221-1/+1
|
* Build: `add_definitions()` → `add_compile_definitions()`Alex Turbov2022-09-221-2/+2
|
* Build: Move `STAT_HAS_ST_MTIM`, `STAT_HAS_ST_MTIMESPEC` to config fileAlex Turbov2022-09-221-10/+8
|
* Build: Move `CURL_CA_BUNDLE` and `CURL_CA_PATH` to config headerAlex Turbov2022-09-221-6/+0
|
* Build: Move `CMAKE_USE_WMAKE` definition to `cmConfigure.cmake.h.in`Alex Turbov2022-09-221-2/+6
|
* Build: Fix `target_link_libraries` to use link interface keywordsAlex Turbov2022-09-221-13/+13
|
* Build: `include_directories()` → `target_include_directories()`Alex Turbov2022-09-221-34/+24
|
* Build: Do not use variables for sources listsAlex Turbov2022-09-221-167/+188
| | | | | Instead use `add_library()` with unconditionally compiled sources and conditional `target_sources()` with extra sources to compile.
* Build: Simplify `configure_file()` callsAlex Turbov2022-09-221-20/+8
|
* CMakeLists: Remove redundant spaces around CMake command callsAlex Turbov2022-09-221-6/+6
|
* Build: Modernize some `foreach` calls to use `IN LISTS`/`IN ITEMS`Alex Turbov2022-09-221-7/+4
|
* cmCMakePresetsGraph: Add package presetsKyle Edwards2022-08-311-0/+1
|
* Add new flow-control commands for variables and policies scopes managementMarc Chevrier2022-08-221-0/+2
| | | | | | | Add block() and endblock() commands offering the capability to create new scopes for variables and/or policies. Fixes: #20171
* install: support `CXX_MODULES_BMI` installation bitsBen Boeckel2022-07-061-0/+2
|
* cmCxxModuleMapper: add source to handle module mapper contentsBen Boeckel2022-06-161-0/+2
| | | | | This will allow all generators to share an implementation for actually writing out the module map formats.
* cmExperimental: add a mechanism for experimental CMake featuresBen Boeckel2022-06-141-0/+2
|
* Dependency providers: Add find_package and FetchContent supportCraig Scott2022-05-241-0/+1
| | | Fixes: #22619
* CPack: Remove the deprecated PackageMaker generatorCraig Scott2022-05-041-1/+0
| | | | | | This CPack generator has been deprecated since commit 7bf187499f (CPack: Deprecate PackageMaker generator, 2020-01-31). Fixes: #23344
* cmWindowsRegistry: enhance unicode conversionsMarc Chevrier2022-04-291-1/+1
|
* cmake_host_system_information: query windows registryMarc Chevrier2022-04-131-0/+2
| | | | Fixes: #21240, #23367
* cmConstStack: Factor out of cmListFileBacktraceBrad King2022-04-021-0/+2
| | | | | | | This presents value semantics for a stack of constant values. Internally it shares ownership to avoid copies. Previously this was implemented by `cmListFileBacktrace` explicitly, but the approach can be re-used for other kinds of stacks.
* cmRulePlaceholderExpander: add base class for placeholder expansion reuseMarc Chevrier2022-02-061-0/+2
|
* cmBuildOptions: Split build arguments into separate object.Carsten Rudolph2022-01-221-0/+1
|
* Merge topic 'cmake-presets-include'Brad King2022-01-101-4/+7
|\ | | | | | | | | | | | | | | | | | | | | 26a5512c0f CMakePresets: Add include field a239f23a98 Refactor: Generalize file graph in CMakePresets 84d440caac Refactor: Split JSON processing into configure, build, and test presets fd6ea2f67f Refactor: Rename cmCMakePresetsFile to cmCMakePresetsGraph Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6829
| * Refactor: Split JSON processing into configure, build, and test presetsKyle Edwards2022-01-061-0/+3
| | | | | | | | Split up the file so that it won't be too big on some systems.
| * Refactor: Rename cmCMakePresetsFile to cmCMakePresetsGraphKyle Edwards2022-01-061-4/+4
| | | | | | | | And change all references to "file" to say "graph" instead.
* | Refactor VsProjectType to its own headerSumit Bhardwaj2021-12-231-0/+1
|/ | | | | Move VsProject to its own header so that we can consolidate IsManaged and IsCSharp.