summaryrefslogtreecommitdiffstats
path: root/Source/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Source: Link libatomic when needed on Linux 32-bit ARMBrad King2023-07-271-7/+3
| | | | Fixes: #25114
* cmake_file_api: New project commandCraig Scott2023-06-051-0/+2
| | | | | | | | Projects can use the new command to request file API replies for the current run. No query files are generated, the query is tracked internally. Replies are created in the file system at generation time in the usual way. Fixes: #24951
* cmake: Add debuggerGlen Chung2023-05-301-0/+32
| | | | | | | | | | | | | | | | - Depends on cppdap and jsoncpp. - Add --debugger argument to enable the Debugger. - Add --debugger-pipe argument for DAP traffics over named pipes. - Support breakpoints by filenames and line numbers. - Support exception breakpoints. - Call stack shows filenames and line numbers. - Show Cache Variables. - Show the state of currently defined targets, tests and directories with their properties. - Add cmakeVersion to DAP initialize response. - Include unit tests. Co-authored-by: Ben McMorran <bemcmorr@microsoft.com>
* CPack: Add Inno Setup generatorJannik Alber2023-04-281-0/+1
|
* Merge topic 'automoc-macro-names'Craig Scott2023-04-101-0/+2
|\ | | | | | | | | | | | | | | | | | | | | c5c3aff1f5 Autogen: Add INTERFACE_AUTOMOC_MACRO_NAMES target property 69cf9700e6 Autogen: Defer setup until Generate step 7cecb6353e cmGeneratorTarget: Factor out EvaluatedTargetProperty infrastructure 2daba01ddf cmGeneratorTarget: Avoid incidental include-what-you-use warning 850b4d990c IWYU: Add mapping for 'std::remove_reference<Defer &>::type' Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8391
| * cmGeneratorTarget: Factor out EvaluatedTargetProperty infrastructureOrkun Tokdemir2023-04-051-0/+2
| | | | | | | | | | Make it available outside the `cmGeneratorTarget` implementation. In particular, we will later use it in `cmQtAutoGenInitializer`.
* | cmList: CMake list implementationMarc Chevrier2023-04-051-0/+2
|/ | | | Fixes: #24548
* Merge topic 'presets-json-errors'Brad King2023-03-301-0/+3
|\ | | | | | | | | | | | | | | | | 19305afd8a presets: Improve JSON parser and error messages Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !8290
| * presets: Improve JSON parser and error messagesMartin Duffy2023-03-291-0/+3
| |
* | Source: Adjust stack sizes and recursion limits to work togetherBrad King2023-03-131-12/+0
| | | | | | | | | | | | Adjust `CMake_DEFAULT_RECURSION_LIMIT` and/or the process stack size on each platform to pass the `RunCMake.MaxRecursionDepth` test's "default" cases.
* | Tests: Allow RunCMake.MaxRecursionDepth to test public-facing default limitBrad King2023-03-131-3/+1
| | | | | | | | | | | | | | | | Previously we compiled in a smaller default limit during nightly testing and CI builds, so we were not testing the same default limit that end-users will see. Instead, set the limit during testing using an environment variable so that we can unset it when testing the default limit in `RunCMake.MaxRecursionDepth`.
* | cmake: Reduce default recursion depth when compiling for Windows ARM64Brad King2023-03-081-0/+2
|/ | | | | | | | On Windows ARM64 the stack frames are large enough (at least in Debug builds) that CMake language recursion to depth 1000 overflows the stack. Reduce the limit for this compiler. Suggested-by: Bill Hoffman <bill.hoffman@kitware.com>
* FileAPI: Add "configureLog" object kindBrad King2022-12-171-0/+2
| | | | | | | Provide clients with a way to get a known set of configure log event versions. Issue: #23200
* ConfigureLog: Add infrastructure for structured configure event loggingMatthew Woehlke2022-12-161-0/+2
| | | | | | | | | | Add infrastructure for a "configure log". Use YAML for a balance of machine- and human-readability to records details of configure-time events in a structured format. Teach the RunCMake test framework to support matching the configure log. Issue: #23200
* cmDyndepCollation: factor out writing C++ module info from NinjaBen Boeckel2022-11-301-0/+2
| | | | | | | | | To facilitate other generators being able to build C++20 modules, start pulling out collator logic into a generator-agnostic location. This commit starts by factoring out the information written to the "target depend info" object consumed during the build to handle writing out export and installation scripts expected during those steps.
* 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
|