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
Brad King
4368a524c6
cmCMakePathCommand: Enforce non-empty string arguments via binding type
2022-07-28 08:25:00 -04:00
Brad King
8a18e82e95
cmCMakePathCommand: Report keyword errors via argument parser results
2022-07-22 10:32:25 -04:00
Brad King
1b095729da
Tests: Add RunCMake.cmake_path cases for BASE_DIRECTORY missing value
2022-07-20 16:03:12 -04:00
Marc Chevrier
76cea3dfe2
cmake_path: rename 'GET ... RELATIVE_PATH' to 'GET ... RELATIVE_PART'
...
For consistency, subcommand 'HAS_RELATIVE_PATH' is also renamed
to 'HAS_RELATIVE_PART'.
Fixes : #21385
2021-01-28 11:06:31 +11:00
Marc Chevrier
76f0bcdfb6
cmake_path: various updates
...
To follow discussions in #21385 and !5682 :
* Fix bug in cmCMakePath::IsSuffix() method
* cmake_path(HASH) always normalized paths (NORMALIZE option removed)
2021-01-13 15:27:49 +01:00
Marc Chevrier
ed21ad181e
cmake_path: various enhancements to subcommands/keywords
...
This change address partly the remarks done in issue #21385
2020-11-11 23:43:51 +01:00
Marc Chevrier
eb583b0a66
cmake_path command: path management
...
Fixes : #19568 , #20922
2020-09-06 10:52:25 +02:00