Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | clang-tidy: modernize-use-auto | Regina Pfeifer | 2019-09-10 | 1 | -6/+4 |
| | | | | | | Set the MinTypeNameLength option to an impossibly high value in order to limit the diagnostics to iterators. Leave new expressions and cast expressions for later. | ||||
* | clang-tidy: modernize-return-braced-init-list | Regina Pfeifer | 2019-09-06 | 1 | -9/+9 |
| | |||||
* | cmCommand refactor: remove unused AddDisallowedCommand overload | Gabor Bencze | 2019-08-26 | 1 | -11/+0 |
| | |||||
* | Merge topic 'free-disallowed' | Brad King | 2019-08-21 | 1 | -6/+42 |
|\ | | | | | | | | | | | | | | | c55fb044a9 cmBuildNameCommand: Implement as free function 86bf1eef75 cmState: Support free function disallowed commands Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3688 | ||||
| * | cmBuildNameCommand: Implement as free function | Regina Pfeifer | 2019-08-16 | 1 | -0/+1 |
| | | |||||
| * | cmState: Support free function disallowed commands | Regina Pfeifer | 2019-08-13 | 1 | -6/+41 |
| | | |||||
* | | Source sweep: Use cmIsOn instead of cmSystemTools::IsOn | Sebastian Holtermann | 2019-08-17 | 1 | -1/+1 |
|/ | | | | | | | | | This replaces invocations of - `cmSystemTools::IsInternallyOn` with `cmIsInternallyOn` - `cmSystemTools::IsNOTFOUND` with `cmIsNOTFOUND` - `cmSystemTools::IsOn` with `cmIsOn` - `cmSystemTools::IsOff` with `cmIsOff` | ||||
* | cmStringAlgorithms: Move string functions to the new cmStringAlgorithms.h | Sebastian Holtermann | 2019-07-29 | 1 | -1/+1 |
| | | | | | This adds the `cmStringAlgorithms.h` header and moves all string functions from `cmAlgorithms.h` to `cmStringAlgorithms.h`. | ||||
* | cmDefinitions: Remove const char* based Set method | Sebastian Holtermann | 2019-07-24 | 1 | -2/+2 |
| | | | | | | | - Removes `cmDefinitions::Set` method overload that takes a `const char*` value argument. - Updates calls to `cmDefinitions::Set` to use the `cm::string_view` based version instead. | ||||
* | cmState: Support BuiltinCommands as free functions | Regina Pfeifer | 2019-07-22 | 1 | -0/+17 |
| | |||||
* | cmState: Add scripted commands by value | Regina Pfeifer | 2019-07-21 | 1 | -3/+2 |
| | |||||
* | cmUnexpectedCommand: Replace with lambda expression | Regina Pfeifer | 2019-07-21 | 1 | -5/+21 |
| | |||||
* | cmState: Hold commands by value | Regina Pfeifer | 2019-07-21 | 1 | -26/+10 |
| |