Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Ninja: LINK_OPTIONS property should support newlines | Marc Chevrier | 2023-12-20 | 1 | -0/+3 |
| | | | | Fixes: #25513 | ||||
* | cmState::AddDisallowedCommand(): Allow additional warning info | Kyle Edwards | 2023-10-27 | 1 | -1/+2 |
| | |||||
* | IWYU: Update for Debian 12 CI job | Brad King | 2023-07-28 | 1 | -1/+0 |
| | | | | | | `include-what-you-use` diagnostics, in practice, are specific to the environment's compiler and standard library. Update includes to satisfy IWYU for our CI job under Debian 12. | ||||
* | AddCacheEntry: Suppress raw pointer usage | Marc Chevrier | 2023-05-30 | 1 | -1/+1 |
| | |||||
* | SetProperty: suppress raw pointer usage | Marc Chevrier | 2023-05-26 | 1 | -1/+1 |
| | |||||
* | cmState::AddCacheEntry(): Remove unused overloads | Vitaly Stakhovsky | 2023-03-01 | 1 | -12/+0 |
| | |||||
* | cmake: Honor CMAKE_GENERATOR env var in --help output | Juan Ramos | 2022-10-21 | 1 | -0/+1 |
| | |||||
* | Dependency providers: Add find_package and FetchContent support | Craig Scott | 2022-05-24 | 1 | -0/+25 |
| | | | Fixes: #22619 | ||||
* | cmConstStack: Factor out of cmListFileBacktrace | Brad King | 2022-04-02 | 1 | -1/+5 |
| | | | | | | | 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. | ||||
* | define_property(): Add INITIALIZE_FROM_VARIABLE argument | Kyle Edwards | 2022-01-20 | 1 | -1/+7 |
| | | | | Fixes: #20698 | ||||
* | cmMessenger: Adopt backtrace printing functions | Brad King | 2021-12-08 | 1 | -2/+3 |
| | | | | | | Move backtrace printing functions from `cmListFileBacktrace` over to `cmMessenger`, their primary caller. Thread `cmMessenger` instances through APIs needed to update other call sites. | ||||
* | Rename cmProp in cmValue | Marc Chevrier | 2021-09-21 | 1 | -9/+10 |
| | |||||
* | AddCacheEntry accept cmProp or std::string | Marc Chevrier | 2021-09-10 | 1 | -0/+12 |
| | |||||
* | Enhancement: SetProperty accept cmProp or std::string | Marc Chevrier | 2021-08-25 | 1 | -0/+1 |
| | | | | | Methods SetProperty of classes cmPropertyMap, cmStateDirectory and cmMakefile accept now cmProp or std::string as argument. | ||||
* | cmake: Model normal and try-compile project kinds explicitly | Brad King | 2021-07-12 | 1 | -5/+10 |
| | | | | | Construct with the project kind instead of mutating state after construction. | ||||
* | cmState: Construct with mode | Brad King | 2021-07-12 | 1 | -8/+7 |
| | |||||
* | CMake: Allow override of unexpected non-flow-control commands | Kyle Edwards | 2021-06-16 | 1 | -0/+2 |
| | | | | Fixes: #22310 | ||||
* | Merge topic 'cmake-presets-path-arg' | Craig Scott | 2020-10-27 | 1 | -0/+2 |
|\ | | | | | | | | | | | | | b7d7eca66d CMakePresets.json: Rework how --preset argument is handled Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5416 | ||||
| * | CMakePresets.json: Rework how --preset argument is handled | Kyle Edwards | 2020-10-26 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | If a path argument with no -S or -B leads to a cache directory, use that directory as the binary directory. Otherwise, use the binary directory from the preset. Fixes: #21311 | ||||
* | | cmState: Prohibit override of flow control commands | Kyle Edwards | 2020-10-22 | 1 | -1/+7 |
|/ | |||||
* | cmake_language: Add signature to DEFER calls to later times | Brad King | 2020-09-29 | 1 | -0/+2 |
| | | | | Fixes: #19575 | ||||
* | cmState: store commands in unordered_map | Oleksandr Koval | 2020-09-11 | 1 | -3/+3 |
| | |||||
* | Modernize: Use #pragma once in all header files | Kitware Robot | 2020-09-03 | 1 | -4/+1 |
| | | | | | | | | | | | | | | | | #pragma once is a widely supported compiler pragma, even though it is not part of the C++ standard. Many of the issues keeping #pragma once from being standardized (distributed filesystems, build farms, hard links, etc.) do not apply to CMake - it is easy to build CMake on a single machine. CMake also does not install any header files which can be consumed by other projects (though cmCPluginAPI.h has been deliberately omitted from this conversion in case anyone is still using it.) Finally, #pragma once has been required to build CMake since at least August 2017 (7f29bbe6 enabled server mode unconditionally, which had been using #pragma once since September 2016 (b13d3e0d)). The fact that we now require C++11 filters out old compilers, and it is unlikely that there is a compiler which supports C++11 but does not support #pragma once. | ||||
* | Single location for cmProp typedef | Vitaly Stakhovsky | 2020-06-01 | 1 | -2/+0 |
| | |||||
* | cmState: Drop unused and unimplemented SetCacheValue method | Brad King | 2020-05-26 | 1 | -1/+0 |
| | | | | Fixes: #20758 | ||||
* | cmPropertyDefinitionMap: simplify and shorten | Tushar Maheshwari | 2020-05-15 | 1 | -6/+2 |
| | |||||
* | cmState::GetInitializedCacheValue: return cmProp | Vitaly Stakhovsky | 2020-04-30 | 1 | -1/+1 |
| | | | | cmProp alias is used; no actual change in type | ||||
* | Merge topic 'cmprop-getglobalprop' | Brad King | 2020-03-27 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | c84cf42897 cmState::GetGlobalProperty: return cmProp Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4521 | ||||
| * | cmState::GetGlobalProperty: return cmProp | Vitaly Stakhovsky | 2020-03-25 | 1 | -1/+1 |
| | | |||||
* | | cmState::GetCacheEntryProperty: return cmProp | Vitaly Stakhovsky | 2020-03-25 | 1 | -2/+2 |
| | | |||||
* | | cmState::GetTargetTypeName: return type is *cmProp | Vitaly Stakhovsky | 2020-03-19 | 1 | -1/+2 |
|/ | |||||
* | cmState::GetCacheEntryValue: return cmProp | Vitaly Stakhovsky | 2020-03-17 | 1 | -1/+3 |
| | |||||
* | cmPropertyDefinition: Construct directly in defined state | Vitaly Stakhovsky | 2020-03-13 | 1 | -2/+2 |
| | | | | | Move `cmPropertyDefinitionMap::DefineProperty` functionality directly into the constructor to avoid an intermediate state. | ||||
* | Ninja Multi-Config: Use build.ninja if cmake --build has no --config | Kyle Edwards | 2020-02-04 | 1 | -0/+1 |
| | | | | | | If cmake --build is called with no --config argument, and a build.ninja file is available, use that instead of defaulting to the Debug config. | ||||
* | AppendProperty: convert value param to std::string | Vitaly Stakhovsky | 2020-01-25 | 1 | -1/+1 |
| | |||||
* | cmState: more members will use std::string | Vitaly Stakhovsky | 2020-01-02 | 1 | -3/+5 |
| | |||||
* | Ninja: Add multi-config variant | Kyle Edwards | 2019-12-13 | 1 | -0/+3 |
| | | | | Co-Authored-by: vector-of-bool <vectorofbool@gmail.com> | ||||
* | cmCommand refactor: remove unused AddDisallowedCommand overload | Gabor Bencze | 2019-08-26 | 1 | -3/+0 |
| | |||||
* | cmState: Support free function disallowed commands | Regina Pfeifer | 2019-08-13 | 1 | -0/+2 |
| | |||||
* | cmState: Support BuiltinCommands as free functions | Regina Pfeifer | 2019-07-22 | 1 | -0/+3 |
| | |||||
* | cmState: Add scripted commands by value | Regina Pfeifer | 2019-07-21 | 1 | -2/+1 |
| | |||||
* | cmUnexpectedCommand: Replace with lambda expression | Regina Pfeifer | 2019-07-21 | 1 | -0/+1 |
| | |||||
* | cmState: Hold commands by value | Regina Pfeifer | 2019-07-21 | 1 | -4/+9 |
| | |||||
* | modernize: manage cmCommand instances using unique_ptr. | Marc Chevrier | 2019-07-14 | 1 | -5/+8 |
| | |||||
* | IWYU: Fix handling of <memory> standard header | Brad King | 2019-07-10 | 1 | -0/+1 |
| | | | | | | | | An old workaround for `std::allocator_traits<>::value_type` lints from IWYU on `std::vector<>` usage breaks IWYU's handling of `<memory>`. Convert the workaround to use the same approach we already use for a workaround of `std::__decay_and_strip<>::::__type` lints. Then update the `<memory>` inclusions to follow the now-correct IWYU lints. | ||||
* | modermize: replace some raw pointers w/ `unique_ptr` | Alex Turbov | 2019-06-24 | 1 | -2/+2 |
| | |||||
* | Fix invalid ///! doxygen comment line starts | Sebastian Holtermann | 2019-03-31 | 1 | -1/+1 |
| | | | | | In various places `///!` was used to start a comment line. This is not valid Doygen syntax. This patch replaces `///!` comment starts with `//!`. | ||||
* | Delete some default constructors and assignment operators | Albert Astals Cid | 2019-02-15 | 1 | -0/+3 |
| | | | | | | They are unused, but if someone used them they would lead to problems since they would copy the internal raw pointers and the destructor would cause double delete | ||||
* | set: warn if CACHE type is not recognized | Taylor Holberton | 2019-01-30 | 1 | -0/+2 |
| | |||||
* | Merge topic 'GHS_updates' | Brad King | 2019-01-18 | 1 | -0/+3 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 21ab58d3f8 GHS: Update test suite 72e0c115b7 GHS: Add Compiler ID detection 436cc5e991 GHS: try_compile() now uses GHS platform variables 4a1ec0de3d GHS: Fix toolset selection 1a66acdef2 GHS: Append ".gpj" to target name when generating build command 0c9e47d7cd GHS: Integrity Application updates 8044318431 GHS: Add support for some of the source file properties 73092b2213 GHS: Add support for object libraries ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2231 |