summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/VSSolution
Commit message (Collapse)AuthorAgeFilesLines
* VS: Add SLNX project typesBrad King2025-11-1817-43/+43
| | | | | | | | Extend commit e6aa7742b0 (VS: Generate .slnx files for VS 2026, 2025-09-17, v4.2.0-rc1~151^2) to add the `Type=` attribute on SLNX `<Project>` elements. Fixes: #27392
* VS: Add SLNX default startup projectBrad King2025-11-1417-18/+18
| | | | | | | | | At the time of commit e6aa7742b0 (VS: Generate .slnx files for VS 2026, 2025-09-17, v4.2.0-rc1~151^2), the VS 18 Insiders edition did not offer support for specifying a default startup project in `.slnx` files. This has since been added, so use it. Fixes: #27387
* Tests/RunCMake: Match dots more precisely, part 3AJIOB2025-10-201-2/+2
|
* Tests/RunCMake: Match CMakeLists.txt file name more preciselyAJIOB2025-10-161-1/+1
|
* VS: Generate .slnx files for VS 2026Brad King2025-09-1835-18/+479
| | | | | | | | Since the `Visual Studio 18 2026` generator is new, we can switch to the `.slnx` file format without changing behavior for users of VS 2022 and older. Fixes: #25887
* Tests/RunCMake: Factor out sln-format check scriptsBrad King2025-09-1834-510/+522
|
* Tests/RunCMake: Move VS Solution cases from VS10Project to VSSolutionBrad King2025-09-1612-0/+435
|
* Add deprecation warnings for policies CMP0143 and belowBrad King2025-07-021-0/+8
| | | | | | | The OLD behaviors of all policies are deprecated, but only by documentation. Add an explicit deprecation diagnostic for policies introduced in CMake 3.26 and below to encourage projects to port away from setting policies to OLD.
* Tests/RunCMake: Update cmake_minimum_required versions to 3.10Brad King2024-10-031-1/+1
| | | | | For policy-specific tests, use the version before the policy was introduced. Otherwise, use 3.10 where possible.
* Drop Visual Studio 9 2008 generatorBrad King2024-05-081-6/+4
| | | | This generator has been deprecated since CMake 3.27. Remove it.
* Tests/RunCMake: Update cmake_minimum_required versionsBrad King2023-02-111-1/+1
| | | | | | | | For policy-specific tests, use the version before the policy was introduced. Otherwise, use 3.5 where possible. Also, remove `cmake_minimum_required()` and `project()` calls from individual cases where they are handled by `CMakeLists.txt`.
* USE_FOLDERS: Treat as on by defaultJuan Ramos2022-11-087-0/+24
| | | | | | | Add a policy to treat the `USE_FOLDERS` global property as ON by default if it is not set. Fixes: #21695
* Tests/RunCMake: Update cmake_minimum_required versionsBrad King2020-06-181-1/+1
| | | | Use 3.3 or 2.8.12 where possible.
* VS: Add SolutionGuid to generated .sln filesBrad King2017-07-1111-7/+18
| | | | | | Visual Studio 2017 Update 3 adds a SolutionGuid to its `.sln` files. Fixes: #17041
* Drop Visual Studio 7 .NET 2003 generatorBrad King2017-04-191-1/+1
| | | | This generator has been deprecated since CMake 3.6. Remove it.
* VS: Add option to place `PACKAGE` target in solution default buildMichael Stürmer2016-11-293-0/+32
| | | | | Add a `CMAKE_VS_INCLUDE_PACKAGE_TO_DEFAULT_BUILD` variable to control this behavior.
* VS: Fix default target support for targets nested inside a folderTaylor Braun-Jones2016-03-233-0/+16
| | | | | It's not actually the first target in a `.sln` file that is treated as the default startup project, but rather the first fully defined target.
* VS: Improve unit test macrosTaylor Braun-Jones2016-03-223-9/+12
| | | | | Change `getFirstProject` macro to more flexible version `getProjectNames`
* VS: Add option to choose the `.sln` startup project (#15578)Davy Durham2016-03-227-0/+31
| | | | | | | | Add a `VS_STARTUP_PROJECT` directory property to specify the project that should be placed first in the `.sln` file so that it will be selected as the default startup project. Co-Author: Taylor Braun-Jones <taylor.braunjones@avigilon.com>
* Tests: Rename RunCMake.{SolutionGlobalSections => VSSolution}Brad King2016-03-1817-0/+119
The test will be suitable for covering other `.sln` content too.