diff options
author | Joseph Snyder <joe.snyder@kitware.com> | 2019-11-19 14:04:40 -0500 |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2020-01-02 17:11:31 -0500 |
commit | c621839bd9e17974c476e7332fc267ccaa351a8e (patch) | |
tree | b043f29e1cfc20e44ddd6f0cc0328c09f30bd961 /Source/cmTargetPropertyComputer.cxx | |
parent | 10fea25139cc302ef0f0a41aa68b44cda72a4fd2 (diff) | |
download | cmake-c621839bd9e17974c476e7332fc267ccaa351a8e.tar.gz |
Add set_property option: DEPRECATION
Add a new property flag for a target which contains a message regarding
deprecation status.
Add a warning at "Generate" time if a linked target is marked as
deprecated.
Expand ExportImport test to ensure that new property is being set and
passed correctly. Ensure that the message is shown during the
"Generate" step run of the ExportImport test.
Diffstat (limited to 'Source/cmTargetPropertyComputer.cxx')
-rw-r--r-- | Source/cmTargetPropertyComputer.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmTargetPropertyComputer.cxx b/Source/cmTargetPropertyComputer.cxx index baab8da0ad..f37995c23d 100644 --- a/Source/cmTargetPropertyComputer.cxx +++ b/Source/cmTargetPropertyComputer.cxx @@ -62,6 +62,7 @@ bool cmTargetPropertyComputer::WhiteListedInterfaceProperty( "COMPATIBLE_INTERFACE_NUMBER_MAX", "COMPATIBLE_INTERFACE_NUMBER_MIN", "COMPATIBLE_INTERFACE_STRING", + "DEPRECATION", "EXPORT_NAME", "EXPORT_PROPERTIES", "IMPORTED", |