summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0049/CMP0049-WARN-stderr.txt
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-02-11 16:41:24 (GMT)
committerBrad King <brad.king@kitware.com>2014-02-12 16:17:38 (GMT)
commitc248a437c47b4419fd955d4b1f406f7c8b9dcd74 (patch)
tree37a953da5b8130fdde1e36e9c731930c161fd896 /Tests/RunCMake/CMP0049/CMP0049-WARN-stderr.txt
parent418a155be7e44117297c072b6aa0f21f4407c052 (diff)
downloadCMake-c248a437c47b4419fd955d4b1f406f7c8b9dcd74.zip
CMake-c248a437c47b4419fd955d4b1f406f7c8b9dcd74.tar.gz
CMake-c248a437c47b4419fd955d4b1f406f7c8b9dcd74.tar.bz2
Add policy CMP0049 to avoid variable expansion in source lists
Diffstat (limited to 'Tests/RunCMake/CMP0049/CMP0049-WARN-stderr.txt')
-rw-r--r--Tests/RunCMake/CMP0049/CMP0049-WARN-stderr.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0049/CMP0049-WARN-stderr.txt b/Tests/RunCMake/CMP0049/CMP0049-WARN-stderr.txt
new file mode 100644
index 0000000..0cf5ce3
--- /dev/null
+++ b/Tests/RunCMake/CMP0049/CMP0049-WARN-stderr.txt
@@ -0,0 +1,11 @@
+CMake Warning \(dev\) at CMP0049-WARN.cmake:3 \(add_library\):
+ Policy CMP0049 is not set: Do not expand variables in target source
+ entries. Run "cmake --help-policy CMP0049" for policy details. Use the
+ cmake_policy command to set the policy and suppress this warning.
+
+ Legacy variable expansion in source file "\${tgt_srcs}" expanded to
+ "empty.cpp" in target "tgt". This behavior will be removed in a future
+ version of CMake.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.