bf73264694
In the future CMake will introduce Lua-style long bracket syntax. Warn about unquoted arguments that in the future will be treated as opening long brackets. Teach the RunCMake.Syntax test to cover such cases and ensure that the warning appears.
36 lines
1023 B
Plaintext
36 lines
1023 B
Plaintext
CMake Warning \(dev\) at CMakeLists.txt:3 \(include\):
|
|
Syntax Warning in cmake code at
|
|
|
|
.*/Tests/RunCMake/Syntax/BracketWarn.cmake:1:16
|
|
|
|
A future version of CMake may treat unquoted argument:
|
|
|
|
\[\[
|
|
|
|
as an opening long bracket. Double-quote the argument.
|
|
This warning is for project developers. Use -Wno-dev to suppress it.
|
|
|
|
CMake Warning \(dev\) at CMakeLists.txt:3 \(include\):
|
|
Syntax Warning in cmake code at
|
|
|
|
.*/Tests/RunCMake/Syntax/BracketWarn.cmake:1:19
|
|
|
|
A future version of CMake may treat unquoted argument:
|
|
|
|
\[=\[
|
|
|
|
as an opening long bracket. Double-quote the argument.
|
|
This warning is for project developers. Use -Wno-dev to suppress it.
|
|
|
|
CMake Warning \(dev\) at CMakeLists.txt:3 \(include\):
|
|
Syntax Warning in cmake code at
|
|
|
|
.*/Tests/RunCMake/Syntax/BracketWarn.cmake:1:27
|
|
|
|
A future version of CMake may treat unquoted argument:
|
|
|
|
\[==\[x
|
|
|
|
as an opening long bracket. Double-quote the argument.
|
|
This warning is for project developers. Use -Wno-dev to suppress it.
|