mirror of
https://github.com/reactos/CMake.git
synced 2025-03-05 10:27:06 +00:00

Teach add_custom_target to check the policy too. Extend the policy to disallow reserved target names that we use for builtin targets like "all". Extend the RunCMake.CMP0037 test to cover these cases.
5 lines
108 B
CMake
5 lines
108 B
CMake
|
|
add_library("lib:colon" empty.cpp)
|
|
add_executable("exe:colon" empty.cpp)
|
|
add_custom_target("custom:colon")
|