message(FATAL_ERROR [[
This is the first line in a bracket argument with bracket length 1.
No \-escape sequences or ${variable} references are evaluated.
This is always one argument even though it contains a ; character.
It does end in a closing bracket of length 1.
]])
message(FATAL_ERROR [=[
This is the first line in a bracket argument with bracket length 1.
No \-escape sequences or ${variable} references are evaluated.
This is always one argument even though it contains a ; character.
The text does not end on a closing bracket of length 0 like ]].
It does end in a closing bracket of length 1.
]=])
message(FATAL_ERROR [=123[
This is the first line in a bracket argument with bracket length 1.
No \-escape sequences or ${variable} references are evaluated.
This is always one argument even though it contains a ; character.
The text does not end on a closing bracket of length 0 like ]].
It does end in a closing bracket of length 1.
]=123])
[[ # this will make a cmake-error but defines a bracket-arguemnt
cmake_minimum_required(VERSION 4.0 FATAL_ERROR) # Should be string-colored
]]
target_link_libraries(t lib)
target_link_libraries(t lib)
cmake_minimum_required(VERSION 4.0 FATAL_ERROR)
message("First Argument\n" "Second Argument")