summaryrefslogtreecommitdiff
path: root/Source/cmGlobalVisualStudio7Generator.cxx
Commit message (Collapse)AuthorAgeFilesLines
* CMake code rely on cmList class for CMake lists management (part. 1)Marc Chevrier2023-04-241-1/+2
|
* Deprecate Visual Studio 9 2008 generatorBrad King2023-02-081-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-15Kitware Robot2023-01-181-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` lintsBen Boeckel2022-11-291-7/+6
|
* clang-tidy: fix `modernize-raw-string-literal` lintsBen Boeckel2022-11-291-2/+2
|
* clang-tidy: fix `readability-braces-around-statements` lintsBen Boeckel2022-11-291-2/+4
|
* clang-tidy: fix `readability-container-size-empty` lintsBen Boeckel2022-11-291-1/+1
|
* clang-tidy: fix `performance-unnecessary-copy-initialization` lintsBen Boeckel2022-11-291-2/+2
|
* clang-tidy: fix `readability-else-after-return` lintsBen Boeckel2022-11-291-6/+12
|
* clang-tidy: fix `readability-redundant-string-cstr` lintsBen Boeckel2022-11-291-5/+5
|
* clang-tidy: fix `readability-static-accessed-through-instance` lintsBen Boeckel2022-11-291-2/+3
|
* clang-tidy: fix `modernize-use-equals-default` lintsBen Boeckel2022-11-291-3/+1
|
* ASM_MARMASM: Add support for Microsoft ARM assembler languageIlia K2022-11-091-0/+1
| | | | | | https://learn.microsoft.com/en-us/cpp/assembler/arm/arm-assembler-reference Fixes: #23999
* Deprecate Visual Studio 11 2012 generatorBrad King2022-09-271-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 generatorBrad King2022-09-261-20/+0
| | | | This generator has been deprecated since CMake 3.22. Remove it.
* cmTarget: add support for C++ module fileset typesBen Boeckel2022-06-161-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' spellingFeRD (Frank Dana)2022-06-131-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 fileSumit Bhardwaj2022-02-121-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 methodBrad King2022-02-121-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 classSumit Bhardwaj2022-01-251-1/+2
|
* cmBuildOptions: Split build arguments into separate object.Carsten Rudolph2022-01-221-1/+1
|
* VS: Add DOTNET_SDK property to generate SDK-style C# projectsSumit Bhardwaj2021-12-211-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 generatorsNAKAMURA Takumi2021-11-201-3/+10
|
* Source: Replace C headers with C++ onesRose2021-11-021-2/+1
| | | | In applicable areas only, of course.
* VS: Map /Y- flag to not use precompiled headers with VS 2008Luigi Fiorentini2021-09-221-0/+1
|
* Rename cmProp in cmValueMarc Chevrier2021-09-211-10/+10
|
* Refactor: reduce cmToCStr usageMarc Chevrier2021-08-191-4/+3
|
* Deprecate Visual Studio 10 2010 generatorBrad King2021-07-291-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_TYPESBrad King2021-06-301-8/+1
| | | | | Factor out duplicate code from the Ninja Multi-Config, Visual Studio, and Xcode generators.
* cmLocalGenerator: Factor out relative path conversion helpersBrad King2021-05-131-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 improvementsVitaly Stakhovsky2020-11-051-3/+4
|
* cmake::GetCacheDefinition: Return cmPropvvs314152020-09-281-2/+2
|
* Refactor: Use cmToCStr()Vitaly Stakhovsky2020-09-031-2/+1
|
* cmMakefile::GetDefinition: return cmPropVitaly Stakhovsky2020-09-021-2/+2
|
* Factor out generator checks for filtering out interface librariesBrad King2020-07-231-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 Stakhovsky2020-07-141-2/+1
|
* GetFeature(): return cmPropVitaly Stakhovsky2020-07-111-3/+2
|
* cmMakefile: Refactor API to better handle empty config valuesRobert Maynard2020-07-031-2/+3
|
* cmGeneratorTarget::GetProperty: return cmPropVitaly Stakhovsky2020-04-291-12/+13
|
* cmMakefile::GetProperty: return cmPropVitaly Stakhovsky2020-04-011-2/+2
|
* replace "std::string::find(x) == 0" with cmHasPrefix()Rolf Eike Beer2020-03-231-3/+3
|
* cmMakefile::AddCacheDefinition: Add overload that accepts std::string valueVitaly Stakhovsky2020-03-111-1/+1
|
* cmGeneratorExpression: remove const char* overloadsVitaly Stakhovsky2020-03-081-1/+2
|
* Source: use std::string in place of const char*Vitaly Stakhovsky2020-01-291-7/+7
|
* cmLocalGenerator: modernize memory managementMarc Chevrier2019-12-101-6/+7
|
* Revise include order using clang-format-6.0Kitware Robot2019-10-011-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 King2019-09-261-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 macroDaniel Eiband2019-09-241-4/+13
| | | | | | | | Fixes: #19730
* | cmGeneratorExpression: Add cmGeneratorExpression::Evaluate utilityDaniel Eiband2019-09-231-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 headersMarc Chevrier2019-09-201-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