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