summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/TargetProperties/Deprecation.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/TargetProperties/Deprecation.cmake')
-rw-r--r--Tests/RunCMake/TargetProperties/Deprecation.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/TargetProperties/Deprecation.cmake b/Tests/RunCMake/TargetProperties/Deprecation.cmake
new file mode 100644
index 0000000..9361273
--- /dev/null
+++ b/Tests/RunCMake/TargetProperties/Deprecation.cmake
@@ -0,0 +1,5 @@
+add_library(testLibDeprecation STATIC empty.cpp)
+set_property(TARGET testLibDeprecation PROPERTY DEPRECATION "Deprecated version. Please use latest version")
+
+add_executable(testExe1 empty.cpp)
+target_link_libraries(testExe1 testLibDeprecation)