CMake/Tests/RunCMake/define_property
FeRD (Frank Dana) 7aacae4e0e Tests: Add unit tests for property redefinition
From reading `Source/cmDefinePropertyCommand.cxx` and
`Source/cmPropertyDefinition.cxx`, attempts to use `define_property()`
to redefine an existing property will be silently ignored.
Once a property is defined, it cannot be redefined.

Add some unit tests to confirm this behavior of `define_property()`
remains as expected based on the current implementation.
2024-01-29 05:23:37 -05:00
..
define_property-INITIALIZE_FROM_VARIABLE-subdirectory
CMakeLists.txt
define_property-INITIALIZE_FROM_VARIABLE-invalid_1-result.txt
define_property-INITIALIZE_FROM_VARIABLE-invalid_1-stderr.txt
define_property-INITIALIZE_FROM_VARIABLE-invalid_1.cmake
define_property-INITIALIZE_FROM_VARIABLE-invalid_2-result.txt
define_property-INITIALIZE_FROM_VARIABLE-invalid_2-stderr.txt
define_property-INITIALIZE_FROM_VARIABLE-invalid_2.cmake
define_property-INITIALIZE_FROM_VARIABLE-no_underscore-result.txt
define_property-INITIALIZE_FROM_VARIABLE-no_underscore-stderr.txt
define_property-INITIALIZE_FROM_VARIABLE-no_underscore.cmake
define_property-INITIALIZE_FROM_VARIABLE-non_target-result.txt
define_property-INITIALIZE_FROM_VARIABLE-non_target-stderr.txt
define_property-INITIALIZE_FROM_VARIABLE-non_target.cmake
define_property-INITIALIZE_FROM_VARIABLE-wrong_suffix-result.txt
define_property-INITIALIZE_FROM_VARIABLE-wrong_suffix-stderr.txt
define_property-INITIALIZE_FROM_VARIABLE-wrong_suffix.cmake
define_property-INITIALIZE_FROM_VARIABLE.cmake
define_property-redefine.cmake
define_property.cmake
main.c
RunCMakeTest.cmake