summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Min-Conflict-stderr.txt
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-12-26 23:29:52 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-01-04 10:28:57 (GMT)
commit79db8ef78d567e518295abc0ffff3140103203b3 (patch)
treebd2d88d22871cca720e65e1b7a83cc0d696064c5 /Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Min-Conflict-stderr.txt
parent43340a9c96212559e83d347b9e3ecebf98ed8aac (diff)
downloadCMake-79db8ef78d567e518295abc0ffff3140103203b3.zip
CMake-79db8ef78d567e518295abc0ffff3140103203b3.tar.gz
CMake-79db8ef78d567e518295abc0ffff3140103203b3.tar.bz2
cmTarget: Fix the property compatibility error message
Don't refer to 'both', but a 'mixture'. List all compatible interface property types possible. Add another test for a mixture of three compatibilities.
Diffstat (limited to 'Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Min-Conflict-stderr.txt')
-rw-r--r--Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Min-Conflict-stderr.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Min-Conflict-stderr.txt b/Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Min-Conflict-stderr.txt
new file mode 100644
index 0000000..2cfbae4
--- /dev/null
+++ b/Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Min-Conflict-stderr.txt
@@ -0,0 +1,7 @@
+CMake Error in CMakeLists.txt:
+ Property "OTHER" appears in both the COMPATIBLE_INTERFACE_BOOL,
+ COMPATIBLE_INTERFACE_NUMBER_MIN and the COMPATIBLE_INTERFACE_STRING
+ property in the dependencies of target "user". This is not allowed. A
+ property may only require compatibility in a boolean interpretation, a
+ numeric minimum, a numeric maximum or a string interpretation, but not a
+ mixture.