summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CompatibleInterface
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-01-06 17:23:58 (GMT)
committerBrad King <brad.king@kitware.com>2014-01-07 14:38:01 (GMT)
commitee21f1c60500a5e1d088bef9116712acaaa06892 (patch)
treeec5b4780a1275bfbf015cc536076b69fb64d131f /Tests/RunCMake/CompatibleInterface
parent80e9fe9cee63f2a8ade3b381e31477ab6055ef8b (diff)
downloadCMake-ee21f1c60500a5e1d088bef9116712acaaa06892.zip
CMake-ee21f1c60500a5e1d088bef9116712acaaa06892.tar.gz
CMake-ee21f1c60500a5e1d088bef9116712acaaa06892.tar.bz2
CompatibleInterface: Test debugging of not-set property.
Diffstat (limited to 'Tests/RunCMake/CompatibleInterface')
-rw-r--r--Tests/RunCMake/CompatibleInterface/DebugProperties-stderr.txt6
-rw-r--r--Tests/RunCMake/CompatibleInterface/DebugProperties.cmake3
2 files changed, 8 insertions, 1 deletions
diff --git a/Tests/RunCMake/CompatibleInterface/DebugProperties-stderr.txt b/Tests/RunCMake/CompatibleInterface/DebugProperties-stderr.txt
index e3efe28..17b8a5c 100644
--- a/Tests/RunCMake/CompatibleInterface/DebugProperties-stderr.txt
+++ b/Tests/RunCMake/CompatibleInterface/DebugProperties-stderr.txt
@@ -67,6 +67,12 @@ CMake Debug Log:
\* Target "CompatibleInterface" has property content "prop3"
+
CMake Debug Log:
+ String compatibility of property "STRING_PROP4" for target
+ "CompatibleInterface" \(result: "\(unset\)"\):
+
+ \* Target "CompatibleInterface" property not set.
++
+CMake Debug Log:
Numeric minimum compatibility of property "NUMBER_MIN_PROP1" for target
"CompatibleInterface" \(result: "50"\):
diff --git a/Tests/RunCMake/CompatibleInterface/DebugProperties.cmake b/Tests/RunCMake/CompatibleInterface/DebugProperties.cmake
index 42a3af2..0196611 100644
--- a/Tests/RunCMake/CompatibleInterface/DebugProperties.cmake
+++ b/Tests/RunCMake/CompatibleInterface/DebugProperties.cmake
@@ -22,6 +22,7 @@ set_property(TARGET iface1 APPEND PROPERTY
STRING_PROP1
STRING_PROP2
STRING_PROP3
+ STRING_PROP4 # Not set.
)
set_property(TARGET iface1 APPEND PROPERTY
COMPATIBLE_INTERFACE_NUMBER_MIN
@@ -36,7 +37,7 @@ set_property(TARGET iface1 APPEND PROPERTY
set(CMAKE_DEBUG_TARGET_PROPERTIES
BOOL_PROP1 BOOL_PROP2 BOOL_PROP3 BOOL_PROP4 BOOL_PROP5 BOOL_PROP6 BOOL_PROP7
- STRING_PROP1 STRING_PROP2 STRING_PROP3
+ STRING_PROP1 STRING_PROP2 STRING_PROP3 STRING_PROP4
NUMBER_MIN_PROP1 NUMBER_MIN_PROP2
NUMBER_MAX_PROP1 NUMBER_MAX_PROP2
)