AJIOB
5de7a09e77
Tests/RunCMake: Match dots more precisely, part 3
2025-10-20 14:45:24 -04:00
AJIOB
62b112ee25
Tests/RunCMake: Match CMakeLists.txt file name more precisely
2025-10-16 17:42:12 +03:00
Brad King
e6aa7742b0
VS: Generate .slnx files for VS 2026
...
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
2025-09-18 12:00:01 -04:00
Brad King
95c2034b32
Tests/RunCMake: Factor out sln-format check scripts
2025-09-18 12:00:00 -04:00
Brad King
e180663555
Tests/RunCMake: Move VS Solution cases from VS10Project to VSSolution
2025-09-16 09:40:58 -04:00
Brad King
94ff184a63
Add deprecation warnings for policies CMP0143 and below
...
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.
2025-07-02 09:38:53 -04:00
Brad King
f4aa34daa7
Tests/RunCMake: Update cmake_minimum_required versions to 3.10
...
For policy-specific tests, use the version before the policy was
introduced. Otherwise, use 3.10 where possible.
2024-10-03 11:52:22 -04:00
Brad King
03c31b0395
Drop Visual Studio 9 2008 generator
...
This generator has been deprecated since CMake 3.27. Remove it.
2024-05-08 10:37:34 -04:00
Brad King
1edf138506
Tests/RunCMake: Update cmake_minimum_required versions
...
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`.
2023-02-11 06:24:22 -05:00
Juan Ramos
d3acd22380
USE_FOLDERS: Treat as on by default
...
Add a policy to treat the `USE_FOLDERS` global property as ON by default
if it is not set.
Fixes : #21695
2022-11-08 09:32:18 -05:00
Brad King
9b99b4bfc8
Tests/RunCMake: Update cmake_minimum_required versions
...
Use 3.3 or 2.8.12 where possible.
2020-06-18 09:52:05 -04:00
Brad King
5cf9c3d0cc
VS: Add SolutionGuid to generated .sln files
...
Visual Studio 2017 Update 3 adds a SolutionGuid to its `.sln` files.
Fixes : #17041
2017-07-11 10:41:28 -04:00
Brad King
c94f1bcf92
Drop Visual Studio 7 .NET 2003 generator
...
This generator has been deprecated since CMake 3.6. Remove it.
2017-04-19 15:28:05 -04:00
Michael Stürmer
9e3164dfa2
VS: Add option to place PACKAGE target in solution default build
...
Add a `CMAKE_VS_INCLUDE_PACKAGE_TO_DEFAULT_BUILD` variable to control
this behavior.
2016-11-29 08:46:27 -05:00
Taylor Braun-Jones
f069be0548
VS: Fix default target support for targets nested inside a folder
...
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.
2016-03-23 13:22:15 -04:00
Taylor Braun-Jones
c05ea48545
VS: Improve unit test macros
...
Change `getFirstProject` macro to more flexible version
`getProjectNames`
2016-03-22 12:41:30 -04:00
Davy Durham
78ec046130
VS: Add option to choose the .sln startup project ( #15578 )
...
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 >
2016-03-22 07:57:00 -04:00
Brad King
5c1f4da83d
Tests: Rename RunCMake.{SolutionGlobalSections => VSSolution}
...
The test will be suitable for covering other `.sln` content too.
2016-03-18 13:20:42 -04:00