diff options
author | Brad King <brad.king@kitware.com> | 2017-10-31 12:19:21 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-10-31 12:19:27 (GMT) |
commit | 6341596e2996a86d58deeb3469c8a82c21c84b8f (patch) | |
tree | 93657887d12184858efc6f3e7d7743c8489e119e /Tests/RunCMake/CMP0037/WARN-cond-package_source-stderr.txt | |
parent | 8c6fa52515a0d3ad9190f6f6cb9e00ce564a7012 (diff) | |
parent | ae5f40696ef6efc62b663457b72184f682a23fe2 (diff) | |
download | CMake-6341596e2996a86d58deeb3469c8a82c21c84b8f.zip CMake-6341596e2996a86d58deeb3469c8a82c21c84b8f.tar.gz CMake-6341596e2996a86d58deeb3469c8a82c21c84b8f.tar.bz2 |
Merge topic 'cmp0037-conditional-targets'
ae5f4069 CMP0037: Allow test and package targets when features are not enabled
409527a0 CMP0037: De-duplicate check and message generation
a2611d81 Tests: Add RunCMake.CMP0037 case for WARN on reserved targets
103501c4 Tests: Do not enable languages in all cases of RunCMake.CMP0037
2d0b3e6e cmGlobalGenerator: Refactor test and package target conditions
Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !1417
Diffstat (limited to 'Tests/RunCMake/CMP0037/WARN-cond-package_source-stderr.txt')
-rw-r--r-- | Tests/RunCMake/CMP0037/WARN-cond-package_source-stderr.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0037/WARN-cond-package_source-stderr.txt b/Tests/RunCMake/CMP0037/WARN-cond-package_source-stderr.txt new file mode 100644 index 0000000..ae72909 --- /dev/null +++ b/Tests/RunCMake/CMP0037/WARN-cond-package_source-stderr.txt @@ -0,0 +1,11 @@ +^CMake Warning \(dev\) at WARN-cond-package_source.cmake:5 \(add_custom_target\): + Policy CMP0037 is not set: Target names should not be reserved and should + match a validity pattern. Run "cmake --help-policy CMP0037" for policy + details. Use the cmake_policy command to set the policy and suppress this + warning. + + The target name "package_source" is reserved when CPack source packaging is + enabled. It may result in undefined behavior. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) +This warning is for project developers. Use -Wno-dev to suppress it.$ |