summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0022/CMP0022-WARN-empty-old-stderr.txt
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-09-12 15:12:42 (GMT)
committerBrad King <brad.king@kitware.com>2013-11-02 16:48:40 (GMT)
commitc0f4a6107412dc7bdbd810b86407016af723cb79 (patch)
tree95e66622e9104f8b085d2e1119a17cecc4f16b74 /Tests/RunCMake/CMP0022/CMP0022-WARN-empty-old-stderr.txt
parent4b0cfa7004c1a2f5069affa4e673a24d9cf6a075 (diff)
downloadCMake-c0f4a6107412dc7bdbd810b86407016af723cb79.zip
CMake-c0f4a6107412dc7bdbd810b86407016af723cb79.tar.gz
CMake-c0f4a6107412dc7bdbd810b86407016af723cb79.tar.bz2
CMP0022: Add unit test for null pointer check and message.
Diffstat (limited to 'Tests/RunCMake/CMP0022/CMP0022-WARN-empty-old-stderr.txt')
-rw-r--r--Tests/RunCMake/CMP0022/CMP0022-WARN-empty-old-stderr.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0022/CMP0022-WARN-empty-old-stderr.txt b/Tests/RunCMake/CMP0022/CMP0022-WARN-empty-old-stderr.txt
new file mode 100644
index 0000000..6d519f0
--- /dev/null
+++ b/Tests/RunCMake/CMP0022/CMP0022-WARN-empty-old-stderr.txt
@@ -0,0 +1,17 @@
+CMake Warning \(dev\) in CMakeLists.txt:
+ Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
+ interface. Run "cmake --help-policy CMP0022" for policy details. Use the
+ cmake_policy command to set the policy and suppress this warning.
+
+ Target "bar" has a INTERFACE_LINK_LIBRARIES property which differs from its
+ LINK_INTERFACE_LIBRARIES properties.
+
+ INTERFACE_LINK_LIBRARIES:
+
+ foo
+
+ LINK_INTERFACE_LIBRARIES:
+
+ \(empty\)
+
+This warning is for project developers. Use -Wno-dev to suppress it.