summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio7Generator.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Drop Visual Studio 12 2013 generatorBrad King2024-08-281-20/+0
| | | | This generator has been deprecated since CMake 3.28. Remove it.
* Drop Visual Studio 9 2008 generatorBrad King2024-05-081-20/+0
| | | | This generator has been deprecated since CMake 3.27. Remove it.
* cmGlobalVisualStudioGenerator: Use member 'Version' more directlyBrad King2024-05-081-2/+1
|
* Source: Use cmValue::IsOn and IsOffVitaly Stakhovsky2024-03-171-1/+1
| | | | Speed up a bit by calling members directly.
* VS: Fix Intel plugin version detection fallbackBrad King2023-11-221-2/+2
| | | | Do not read a value that was not parsed.
* cxxmodules: rework control logic for scanning regular C++ sourcesBen Boeckel2023-10-021-8/+0
| | | | | | | | | | | Now that scanning support is no longer experimental, the logic for whether or not to scan C++ 20 sources is now important because all projects are now exposted to the logic. Make the scanning rules explicit in the documentation and rework the queries to localize all of the associated logic. A policy to handle the ultimate fallback logic will be implemented in a following commit.
* Merge topic 'modules-better-messages'Brad King2023-08-251-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | 571b5e1f2c cxxmodules: improve error messages for C++ module setup 8b4d32c18b cmStandardLevelResolver: add query for the effective standard level 17ddc4ac76 cmStandardLevelResolver: compare with static string literals 6f1dae2b01 cmStandardLevelResolver: use `cmStrCat` where possible 0d45d40e13 cmStandardLevelResolver: use character literals where possible Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8755
| * cxxmodules: improve error messages for C++ module setupBen Boeckel2023-08-231-2/+2
| | | | | | | | | | | | | | Make it clear that: - the quoted string is a target name; and - C++ sources that export modules is the important detail.
* | strings: use character literals where possibleBen Boeckel2023-07-281-4/+4
| |
* | cmStrCat: use in Windows-specific sourcesBen Boeckel2023-07-281-12/+11
| |
* | strings: compare to static `string_view` instances in Windows-only codeBen Boeckel2023-07-271-13/+14
| |
* | Deprecate Visual Studio 12 2013 generatorBrad King2023-06-261-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 11 2012 generatorBrad King2023-06-131-20/+0
|/ | | | This generator has been deprecated since CMake 3.25. Remove it.
* codespell: Fix typosBrad King2023-05-221-1/+1
|
* 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-191-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
|