Files
CMake/Tests/RunCMake/Syntax/CMP0053-Dollar-OLD-stderr.txt
T
Ben Boeckel 82a4822610 CMP0053: document that $ is a valid literal variable character
This was overlooked in the initial implementation of CMP0053. However,
an additional policy to reject it again is not worth it. Instead, add
tests and document the behavior.

Fixes: #17883
2018-10-15 13:59:39 -04:00

25 lines
806 B
Plaintext

^CMake Deprecation Warning at CMP0053-Dollar-OLD.cmake:1 \(cmake_policy\):
The OLD behavior for policy CMP0053 will be removed from a future version
of CMake.
The cmake-policies\(7\) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
Call Stack \(most recent call first\):
CMakeLists.txt:3 \(include\)
+
-->value<--
CMake Error at CMP0053-Dollar-OLD.cmake:6 \(message\):
Syntax error in cmake code at
.*CMP0053-Dollar-OLD.cmake:6
when parsing string
-->\${\$}<--
syntax error, unexpected \$, expecting } \(7\)
Call Stack \(most recent call first\):
CMakeLists.txt:3 \(include\)$