summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/define_property
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Add unit tests for property redefinitionFeRD (Frank Dana)2024-01-292-0/+89
| | | | | | | | | | 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.
* define_property(): Change constraints of INITIALIZE_FROM_VARIABLEKyle Edwards2022-03-2311-23/+23
| | | | | | | Remove the requirement that the variable name have a prefix while keeping the suffix requirement. Require that the property name contains an underscore. Update docs and tests accordingly. Fixes: #23340
* define_property(): Add INITIALIZE_FROM_VARIABLE argumentKyle Edwards2022-01-2019-0/+93
| | | | Fixes: #20698
* define_property(): Make BRIEF_DOCS and FULL_DOCS optionalKyle Edwards2022-01-183-0/+32
Issue: #20698