diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2021-02-16 15:29:37 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2021-02-18 13:30:55 (GMT) |
commit | 79eaa908dc2ad339d5f92b10a30c4244975ab21a (patch) | |
tree | 822684b66b9a891c3c9e92ff1fdd8838fd28b45f /Tests/RunCMake/CMP0121/CMP0121-INSERT-WARN-stderr.txt | |
parent | 1f1fdff7fa9f51ccdc91232606a6ade20e02d83f (diff) | |
download | CMake-79eaa908dc2ad339d5f92b10a30c4244975ab21a.zip CMake-79eaa908dc2ad339d5f92b10a30c4244975ab21a.tar.gz CMake-79eaa908dc2ad339d5f92b10a30c4244975ab21a.tar.bz2 |
cmListCommand: add a policy for failing on invalid indicies
Diffstat (limited to 'Tests/RunCMake/CMP0121/CMP0121-INSERT-WARN-stderr.txt')
-rw-r--r-- | Tests/RunCMake/CMP0121/CMP0121-INSERT-WARN-stderr.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0121/CMP0121-INSERT-WARN-stderr.txt b/Tests/RunCMake/CMP0121/CMP0121-INSERT-WARN-stderr.txt new file mode 100644 index 0000000..5fa7d17 --- /dev/null +++ b/Tests/RunCMake/CMP0121/CMP0121-INSERT-WARN-stderr.txt @@ -0,0 +1,11 @@ +CMake Warning \(dev\) at CMP0121-INSERT-Common.cmake:3 \(list\): + Policy CMP0121 is not set: The list\(\) command now validates parsing of + index arguments. Run "cmake --help-policy CMP0121" for policy details. + Use the cmake_policy command to set the policy and suppress this warning. + Invalid list index "junk2". +Call Stack \(most recent call first\): + CMP0121-INSERT-WARN.cmake:2 \(include\) + CMakeLists.txt:3 \(include\) +This warning is for project developers. Use -Wno-dev to suppress it. + +INSERT: -->new;a;b;c;d;e<-- |