Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cmSystemTools: Fix 'ErrorOccurred' spelling | FeRD (Frank Dana) | 2022-06-13 | 1 | -1/+1 |
| | | | | | | | | Rename the booleans 's_ErrorOccured' and 's_FatalErrorOccured' to 's_ErrorOccurred' and 's_FatalErrorOccurred', respectively. Rename the getters and setters to 'Get[Fatal]ErrorOccurred' and 'Set[Fatal]ErrorOccurred', and fix all uses across the codebase. | ||||
* | Dependency providers: Add find_package and FetchContent support | Craig Scott | 2022-05-25 | 1 | -0/+9 |
| | | | Fixes: #22619 | ||||
* | define_property(): Add INITIALIZE_FROM_VARIABLE argument | Kyle Edwards | 2022-01-20 | 1 | -2/+4 |
| | | | | Fixes: #20698 | ||||
* | cmMessenger: Adopt backtrace printing functions | Brad King | 2021-12-08 | 1 | -10/+10 |
| | | | | | | Move backtrace printing functions from `cmListFileBacktrace` over to `cmMessenger`, their primary caller. Thread `cmMessenger` instances through APIs needed to update other call sites. | ||||
* | Source: Fix clang -Wimplicit-fallthrough warnings | Sean McBride | 2021-09-28 | 1 | -1/+1 |
| | |||||
* | Rename cmProp in cmValue | Marc Chevrier | 2021-09-21 | 1 | -18/+18 |
| | |||||
* | Merge topic 'enh-AddCacheEntry-accepts-new-types' | Marc Chevrier | 2021-09-10 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | f84193292c Use new AddCacheEntry signatures 3c2e58eeb8 AddCacheEntry accept cmProp or std::string Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6495 | ||||
| * | AddCacheEntry accept cmProp or std::string | Marc Chevrier | 2021-09-10 | 1 | -1/+1 |
| | | |||||
* | | Refactor: Convert parallel string/backtrace vectors to BT vectors | Kyle Edwards | 2021-09-03 | 1 | -5/+0 |
|/ | |||||
* | Enhancement: SetProperty accept cmProp or std::string | Marc Chevrier | 2021-08-25 | 1 | -0/+4 |
| | | | | | Methods SetProperty of classes cmPropertyMap, cmStateDirectory and cmMakefile accept now cmProp or std::string as argument. | ||||
* | cmProp: refactoring: transform alias in class | Marc Chevrier | 2021-08-08 | 1 | -9/+9 |
| | | | | | | To handle safely the values used by CMake variables and properties, introduce the class cmProp as a replacement from the simple pointer to std::string instance. | ||||
* | cmake: Model normal and try-compile project kinds explicitly | Brad King | 2021-07-12 | 1 | -13/+10 |
| | | | | | Construct with the project kind instead of mutating state after construction. | ||||
* | cmState: Construct with mode | Brad King | 2021-07-12 | 1 | -8/+4 |
| | |||||
* | Merge topic 'fix-flow-control-override' | Brad King | 2021-06-17 | 1 | -1/+8 |
|\ | | | | | | | | | | | | | c017098d4d CMake: Allow override of unexpected non-flow-control commands Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6232 | ||||
| * | CMake: Allow override of unexpected non-flow-control commands | Kyle Edwards | 2021-06-16 | 1 | -1/+8 |
| | | | | | | | | Fixes: #22310 | ||||
* | | cmState: Record imported target names in each directory | Brad King | 2021-06-10 | 1 | -0/+1 |
|/ | | | | | Model the change after commit 089868a244 (cmState: Record buildsystem target names in each directory, 2016-09-16, v3.7.0-rc1~79^2~3). | ||||
* | clang-tidy: fix `readability-use-anyofallof` warnings | Ben Boeckel | 2021-01-27 | 1 | -6/+3 |
| | |||||
* | clang-tidy: fix `readability-qualified-auto` warnings | Ben Boeckel | 2021-01-27 | 1 | -1/+1 |
| | |||||
* | Code style: add missed explicit 'this->' | Oleksandr Koval | 2021-01-05 | 1 | -1/+1 |
| | | | | | CMake uses explicit 'this->' style. Using custom clang-tidy check we can detect and fix places where 'this->' was missed. | ||||
* | Merge topic 'cmake-presets-path-arg' | Craig Scott | 2020-10-27 | 1 | -0/+5 |
|\ | | | | | | | | | | | | | 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/+5 |
| | | | | | | | | | | | | | | | | 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 | -3/+28 |
|/ | |||||
* | cmake_language: Add signature to DEFER calls to later times | Brad King | 2020-09-29 | 1 | -0/+15 |
| | | | | Fixes: #19575 | ||||
* | cmMakefile::GetDefinition: return cmProp | Vitaly Stakhovsky | 2020-09-02 | 1 | -2/+3 |
| | |||||
* | cmIsOn: add overload accepting const std::string* | Vitaly Stakhovsky | 2020-07-14 | 1 | -2/+1 |
| | |||||
* | Single location for cmProp typedef | Vitaly Stakhovsky | 2020-06-01 | 1 | -2/+0 |
| | |||||
* | cmPropertyDefinitionMap: simplify and shorten | Tushar Maheshwari | 2020-05-15 | 1 | -23/+7 |
| | |||||
* | cmState::GetInitializedCacheValue: return cmProp | Vitaly Stakhovsky | 2020-04-30 | 1 | -2/+1 |
| | | | | cmProp alias is used; no actual change in type | ||||
* | cmCacheManager: Cleanup CacheIterator interface | Tushar Maheshwari | 2020-04-18 | 1 | -32/+11 |
| | | | | | | - Expose required functionality from CacheEntry. - Modify usage in cmState member functions. - Remove cmState access to CacheEntry members. | ||||
* | cmTarget::GetProperty: return cmProp | Vitaly Stakhovsky | 2020-03-30 | 1 | -0/+2 |
| | |||||
* | Merge topic 'cmprop-getglobalprop' | Brad King | 2020-03-27 | 1 | -13/+31 |
|\ | | | | | | | | | | | | | 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 | -13/+31 |
| | | |||||
* | | cmState::GetCacheEntryProperty: return cmProp | Vitaly Stakhovsky | 2020-03-25 | 1 | -4/+3 |
| | | |||||
* | | Merge topic 'cmprop-state' | Brad King | 2020-03-25 | 1 | -12/+26 |
|\ \ | |/ |/| | | | | | | | | | ef408dd232 cmState::GetTargetTypeName: return type is *cmProp Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4505 | ||||
| * | cmState::GetTargetTypeName: return type is *cmProp | Vitaly Stakhovsky | 2020-03-19 | 1 | -12/+26 |
| | | |||||
* | | cmCacheManager::GetProperty: return cmProp | Vitaly Stakhovsky | 2020-03-19 | 1 | -1/+2 |
|/ | |||||
* | cmState::GetCacheEntryValue: return cmProp | Vitaly Stakhovsky | 2020-03-17 | 1 | -6/+5 |
| | |||||
* | Merge topic 'prop_t' | Brad King | 2020-03-17 | 1 | -1/+2 |
|\ | | | | | | | | | | | | | 60f57d0dcc cmPropertyMap: Introduce cmProp as return type for GetProperty() functions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4471 | ||||
| * | cmPropertyMap: Introduce cmProp as return type for GetProperty() functions | Vitaly Stakhovsky | 2020-03-13 | 1 | -1/+2 |
| | | | | | | | | | | | | | | Currently properties are usually stored internally as `std::string`. However, family of GetProperty() functions return them as `const char *` using `c_str()`. The proposed `cmProp`, typedef'ed as `const std::string *` will expose properties more naturally. | ||||
* | | 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/+10 |
| | | | | | | 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 | -2/+2 |
| | |||||
* | cmCacheManager: more members use std::string | Vitaly Stakhovsky | 2020-01-06 | 1 | -16/+10 |
| | |||||
* | cmState: more members will use std::string | Vitaly Stakhovsky | 2020-01-02 | 1 | -17/+18 |
| | |||||
* | Ninja: Add multi-config variant | Kyle Edwards | 2019-12-13 | 1 | -0/+10 |
| | | | | Co-Authored-by: vector-of-bool <vectorofbool@gmail.com> | ||||
* | CUDA: Add cuda meta-features (e.g. ``cuda_std_11``) support | Robert Maynard | 2019-12-10 | 1 | -0/+3 |
| | |||||
* | Revise include order using clang-format-6.0 | Kitware Robot | 2019-10-01 | 1 | -1/+2 |
| | | | | | Run the `clang-format.bash` script to update our C and C++ code to a new include order `.clang-format`. Use `clang-format` version 6.0. | ||||
* | cmState: Avoid lowering command name twice | Daniel Eiband | 2019-09-21 | 1 | -1/+1 |
| | | | | | The given command given to GetCommand is already lower case so we can use GetCommandByExactName directly. | ||||
* | cmstd: Modernize CMake system headers | Marc Chevrier | 2019-09-20 | 1 | -1/+1 |
| | | | | | | | | | | | | | | Provide a standardized way to handle the C++ "standard" headers customized to be used with current CMake C++ standard constraints. Offer under directory `cm` headers which can be used as direct replacements of the standard ones. For example: #include <cm/string_view> can be used safely for CMake development in place of the `<string_view>` standard header. Fixes: #19491 | ||||
* | clang-tidy: modernize-deprecated-headers | Regina Pfeifer | 2019-09-16 | 1 | -3/+3 |
| |