Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | CMake code rely on cmList class for CMake lists management (part. 1) | Marc Chevrier | 2023-04-24 | 1 | -1/+2 |
| | |||||
* | Deprecate Visual Studio 9 2008 generator | Brad King | 2023-02-08 | 1 | -0/+20 |
| | | | | | Update documentation to mark the generator deprecated. Add a warning at the end of generation plus an option to turn off the warning. | ||||
* | Revise C++ coding style using clang-format-15 | Kitware Robot | 2023-01-18 | 1 | -3/+3 |
| | | | | | | | | | | | | | | Run the `clang-format.bash` script to update all our C and C++ code to a new style defined by `.clang-format`. Use `clang-format` version 15. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit. Fixes: #24315 | ||||
* | clang-tidy: fix `readability-use-anyofallof` lints | Ben Boeckel | 2022-11-29 | 1 | -7/+6 |
| | |||||
* | clang-tidy: fix `modernize-raw-string-literal` lints | Ben Boeckel | 2022-11-29 | 1 | -2/+2 |
| | |||||
* | clang-tidy: fix `readability-braces-around-statements` lints | Ben Boeckel | 2022-11-29 | 1 | -2/+4 |
| | |||||
* | clang-tidy: fix `readability-container-size-empty` lints | Ben Boeckel | 2022-11-29 | 1 | -1/+1 |
| | |||||
* | clang-tidy: fix `performance-unnecessary-copy-initialization` lints | Ben Boeckel | 2022-11-29 | 1 | -2/+2 |
| | |||||
* | clang-tidy: fix `readability-else-after-return` lints | Ben Boeckel | 2022-11-29 | 1 | -6/+12 |
| | |||||
* | clang-tidy: fix `readability-redundant-string-cstr` lints | Ben Boeckel | 2022-11-29 | 1 | -5/+5 |
| | |||||
* | clang-tidy: fix `readability-static-accessed-through-instance` lints | Ben Boeckel | 2022-11-29 | 1 | -2/+3 |
| | |||||
* | clang-tidy: fix `modernize-use-equals-default` lints | Ben Boeckel | 2022-11-29 | 1 | -3/+1 |
| | |||||
* | ASM_MARMASM: Add support for Microsoft ARM assembler language | Ilia K | 2022-11-09 | 1 | -0/+1 |
| | | | | | | https://learn.microsoft.com/en-us/cpp/assembler/arm/arm-assembler-reference Fixes: #23999 | ||||
* | Deprecate Visual Studio 11 2012 generator | Brad King | 2022-09-27 | 1 | -0/+20 |
| | | | | | Update documentation to mark the generator deprecated. Add a warning at the end of generation plus an option to turn off the warning. | ||||
* | Drop Visual Studio 10 2010 generator | Brad King | 2022-09-26 | 1 | -20/+0 |
| | | | | This generator has been deprecated since CMake 3.22. Remove it. | ||||
* | cmTarget: add support for C++ module fileset types | Ben Boeckel | 2022-06-16 | 1 | -0/+15 |
| | | | | | | | | | | | | | | | C++ modules have two variants which are of importance to CMake: - `CXX_MODULES`: interface modules (those using `export module M;`, `export module M:part;`, or `module M:internal_part;`) - `CXX_MODULE_HEADER_UNITS`: importable header units Creating C++ modules or partitions are *not* supported in any other source listing. This is because the source files must be installed (so their scope matters), but not part of usage requirements (what it means for a module source to be injected into a consumer is not clear at this moment). Due to the way `FILE_SET` works with scopes, they are a perfect fit as long as `INTERFACE` is not allowed (which it is not). | ||||
* | 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. | ||||
* | VS: Introduce IsInSolution to check whether a target is in sln file | Sumit Bhardwaj | 2022-02-12 | 1 | -2/+2 |
| | | | | | | | | | | | Previously, different versions of VS Generators checked whether a target was in .sln file or not by checking whether the target was to be written to build system or not. As we move `ZERO_CHECK.vcxproj` to `.proj`, we want to exclude those files from being written to `.sln` files too. This commit introduces `IsInSolution()` at `cmGlobalVisualStudioGenerator` level which can be customized at specific versioned Generator when needed. | ||||
* | cmGlobalVisualStudio7Generator: Drop unused method | Brad King | 2022-02-12 | 1 | -16/+0 |
| | | | | | | Since commit f47b4f68a9 (Drop Visual Studio 7 generator for VS .NET 2002, 2016-03-10, v3.6.0-rc1~268^2), the `WriteTargetDepends` method has not been used. | ||||
* | Make cmGlobalVisualStudioGenerator::VSVersion enum class | Sumit Bhardwaj | 2022-01-25 | 1 | -1/+2 |
| | |||||
* | cmBuildOptions: Split build arguments into separate object. | Carsten Rudolph | 2022-01-22 | 1 | -1/+1 |
| | |||||
* | VS: Add DOTNET_SDK property to generate SDK-style C# projects | Sumit Bhardwaj | 2021-12-21 | 1 | -1/+9 |
| | | | | | | | | Changes in cmVisualStudio10TargetGenerator::Generate to write .Net SDK-style project for VS generators VS 19 and above. Also adds documentation and tests. Issue: #20227 | ||||
* | Source: Fix possible IWYU warnings in Windows generators | NAKAMURA Takumi | 2021-11-20 | 1 | -3/+10 |
| | |||||
* | Source: Replace C headers with C++ ones | Rose | 2021-11-02 | 1 | -2/+1 |
| | | | | In applicable areas only, of course. | ||||
* | VS: Map /Y- flag to not use precompiled headers with VS 2008 | Luigi Fiorentini | 2021-09-22 | 1 | -0/+1 |
| | |||||
* | Rename cmProp in cmValue | Marc Chevrier | 2021-09-21 | 1 | -10/+10 |
| | |||||
* | Refactor: reduce cmToCStr usage | Marc Chevrier | 2021-08-19 | 1 | -4/+3 |
| | |||||
* | Deprecate Visual Studio 10 2010 generator | Brad King | 2021-07-29 | 1 | -0/+19 |
| | | | | | Update documentation to mark the generator deprecated. Add a warning at the end of generation plus an option to turn off the warning. | ||||
* | cmMakefile: Add helper to initialize CMAKE_CONFIGURATION_TYPES | Brad King | 2021-06-30 | 1 | -8/+1 |
| | | | | | Factor out duplicate code from the Ninja Multi-Config, Visual Studio, and Xcode generators. | ||||
* | cmLocalGenerator: Factor out relative path conversion helpers | Brad King | 2021-05-13 | 1 | -2/+1 |
| | | | | | | Most calls to `MaybeConvertToRelativePath` use one of our common work directories (e.g. top of the build tree) as the local path. Add helpers for each of the common cases to simplify and clarify call sites. | ||||
* | Reduce the scope of temporary cmProp variables and other improvements | Vitaly Stakhovsky | 2020-11-05 | 1 | -3/+4 |
| | |||||
* | cmake::GetCacheDefinition: Return cmProp | vvs31415 | 2020-09-28 | 1 | -2/+2 |
| | |||||
* | Refactor: Use cmToCStr() | Vitaly Stakhovsky | 2020-09-03 | 1 | -2/+1 |
| | |||||
* | cmMakefile::GetDefinition: return cmProp | Vitaly Stakhovsky | 2020-09-02 | 1 | -2/+2 |
| | |||||
* | Factor out generator checks for filtering out interface libraries | Brad King | 2020-07-23 | 1 | -3/+3 |
| | | | | | | Add a `cmGeneratorTarget::IsInBuildSystem` helper method to tell generators whether a target should participate in the generated build system. | ||||
* | cmIsOn: add overload accepting const std::string* | Vitaly Stakhovsky | 2020-07-14 | 1 | -2/+1 |
| | |||||
* | GetFeature(): return cmProp | Vitaly Stakhovsky | 2020-07-11 | 1 | -3/+2 |
| | |||||
* | cmMakefile: Refactor API to better handle empty config values | Robert Maynard | 2020-07-03 | 1 | -2/+3 |
| | |||||
* | cmGeneratorTarget::GetProperty: return cmProp | Vitaly Stakhovsky | 2020-04-29 | 1 | -12/+13 |
| | |||||
* | cmMakefile::GetProperty: return cmProp | Vitaly Stakhovsky | 2020-04-01 | 1 | -2/+2 |
| | |||||
* | replace "std::string::find(x) == 0" with cmHasPrefix() | Rolf Eike Beer | 2020-03-23 | 1 | -3/+3 |
| | |||||
* | cmMakefile::AddCacheDefinition: Add overload that accepts std::string value | Vitaly Stakhovsky | 2020-03-11 | 1 | -1/+1 |
| | |||||
* | cmGeneratorExpression: remove const char* overloads | Vitaly Stakhovsky | 2020-03-08 | 1 | -1/+2 |
| | |||||
* | Source: use std::string in place of const char* | Vitaly Stakhovsky | 2020-01-29 | 1 | -7/+7 |
| | |||||
* | cmLocalGenerator: modernize memory management | Marc Chevrier | 2019-12-10 | 1 | -6/+7 |
| | |||||
* | Revise include order using clang-format-6.0 | Kitware Robot | 2019-10-01 | 1 | -7/+10 |
| | | | | | 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. | ||||
* | Merge topic 'fix-vsmacro-access-violation' | Brad King | 2019-09-26 | 1 | -4/+13 |
|\ | | | | | | | | | | | | | 7847fef510 VS: Fix access violation when calling Visual Studio macro Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3853 | ||||
| * | VS: Fix access violation when calling Visual Studio macro | Daniel Eiband | 2019-09-24 | 1 | -4/+13 |
| | | | | | | | | Fixes: #19730 | ||||
* | | cmGeneratorExpression: Add cmGeneratorExpression::Evaluate utility | Daniel Eiband | 2019-09-23 | 1 | -4/+2 |
|/ | | | | | | | cmGeneratorExpression::Evaluate is a shortcut when only the evaluated string is needed or an instance of cmCompiledGeneratorExpression cannot be cached. Fixes: #19686 | ||||
* | cmstd: Modernize CMake system headers | Marc Chevrier | 2019-09-20 | 1 | -1/+2 |
| | | | | | | | | | | | | | | 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 |