summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/project_injected
Commit message (Collapse)AuthorAgeFilesLines
* Clarify advice given by compatibility deprecation message for CMake < 3.10Brad King2024-11-141-2/+3
| | | | | | | | | Since commit 84db8506ff (Deprecate compatibility with CMake versions older than 3.10, 2024-10-03, v3.31.0-rc1~23^2) the `cmake_minimum_required` and `cmake_policy` commands warn if the project does not enable policies as of 3.10 or higher. Clarify the advice given in the warning message about how to update the version specification, particularly without actually requiring a newer minimum version of CMake.
* Deprecate compatibility with CMake versions older than 3.10Brad King2024-10-031-1/+1
| | | | | | | | Issue a deprecation warning on calls to `cmake_minimum_required` or `cmake_policy` that set policies based on versions older than 3.10. Note that the effective policy version includes `...<max>` treatment. Update the check from commit 3a4791548d (Deprecate compatibility with CMake versions older than 3.5, 2023-02-09, v3.27.0-rc1~508^2).
* Deprecate compatibility with CMake versions older than 3.5Brad King2023-02-111-3/+10
| | | | | | | | Issue a deprecation warning on calls to `cmake_minimum_required` or `cmake_policy` that set policies based on versions older than 3.5. Note that the effective policy version includes `...<max>` treatment. Update the check from commit 5845c218d7 (Deprecate compatibility with CMake versions older than 2.8.12, 2020-06-12, v3.19.0-rc1~629^2).
* project: Warn at top-level if `cmake_minimum_required` wasn't calledfriendlyanon2022-11-111-0/+1
| | | | | | | The top-level project() call will now issue an AUTHOR_WARNING if it wasn't called after cmake_minimum_required(). Fixes: #24071
* cmMakefile: Enforce explicit use of project() commandBartosz Kosiorek2019-05-061-0/+12
| | | | Fixes: 17714
* project: Do not issue CMP0048 warnings on injected callBrad King2018-07-241-12/+0
| | | | Fixes: #18202
* Tests: Add case showing CMP0048 warning on injected project commandBrad King2018-07-244-0/+27
Issue: #18202