summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMakeDependentOption
Commit message (Collapse)AuthorAgeFilesLines
* Add deprecation warnings for policies CMP0128 and belowBrad King2024-02-061-0/+9
| | | | | | | The OLD behaviors of all policies are deprecated, but only by documentation. Add an explicit deprecation diagnostic for policies introduced in CMake 3.22 and below to encourage projects to port away from setting policies to OLD.
* CMakeDependentOption: allow in depends the use of .Vicente Adolfo Bolea Sanchez2022-09-213-0/+6
|
* CMakeDependentOption: Introduce policy CMP0127 for full Condition SyntaxDaniel Schürmann2021-09-1012-1/+51
| | | | Fixes: #22303
* CMakeDependentOption: Revert "Allow parentheses in the depends string"Brad King2021-07-204-8/+6
| | | | | | | | Revert commit 0665d9092e (CMakeDependentOption: Allow parentheses in the depends string, 2021-06-13, v3.21.0-rc1~32^2). It broke existing use cases with parentheses in regular expressions. Also add a test for this. Fixes: #22447
* CMakeDependentOption: Allow parentheses in the depends stringDaniel Schürmann2021-06-143-0/+11
`if()` takes the condition as a list of arguments. Parentheses need to be separated as well. Fixes: #22303