diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-03-18 15:15:15 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-04-02 21:12:56 (GMT) |
commit | 5702e10677e72a75370e8c1bbe6f10fa5ad675a9 (patch) | |
tree | 0820653eda131344091b81e756120cf881ccf047 /Tests/RunCMake/CMP0051/CMP0051-WARN-stderr.txt | |
parent | 857d30b52ef2fb011bad16249d34972fadae9b70 (diff) | |
download | CMake-5702e10677e72a75370e8c1bbe6f10fa5ad675a9.zip CMake-5702e10677e72a75370e8c1bbe6f10fa5ad675a9.tar.gz CMake-5702e10677e72a75370e8c1bbe6f10fa5ad675a9.tar.bz2 |
cmTarget: Include TARGET_OBJECTS genex in target SOURCES property.
Add policy CMP0051 to control this behavior.
Diffstat (limited to 'Tests/RunCMake/CMP0051/CMP0051-WARN-stderr.txt')
-rw-r--r-- | Tests/RunCMake/CMP0051/CMP0051-WARN-stderr.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0051/CMP0051-WARN-stderr.txt b/Tests/RunCMake/CMP0051/CMP0051-WARN-stderr.txt new file mode 100644 index 0000000..f1b0357 --- /dev/null +++ b/Tests/RunCMake/CMP0051/CMP0051-WARN-stderr.txt @@ -0,0 +1,15 @@ +CMake Warning \(dev\) at CMP0051-WARN.cmake:6 \(get_target_property\): + Policy CMP0051 is not set: List TARGET_OBJECTS in SOURCES target property. + Run "cmake --help-policy CMP0051" for policy details. Use the cmake_policy + command to set the policy and suppress this warning. + + Target "empty" contains \$<TARGET_OBJECTS> generator expression in its + sources list. This content was not previously part of the SOURCES property + when that property was read at configure time. Code reading that property + needs to be adapted to ignore the generator expression using the + string\(GENEX_STRIP\) command. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) +This warning is for project developers. Use -Wno-dev to suppress it. + +Sources: "empty.cpp"$ |