b3d8f5dab7
Otherwise the comma is treated as plain text by ParseContent. $<STREQUAL:,> should be valid and true. $<STREQUAL:,something> should be valid and false. $<STREQUAL:,,> should be non-valid as it is 3 parameters. $<STREQUAL:something,,> should be non-valid as it is 3 parameters. Additionally, this allows reporting the correct error for other expressions. For example $<TARGET_PROPERTY:,> should be invalid because it has an empty target and empty property. It shouldn't attempt to read the property ',' on the 'implicit this' target.
53 lines
1.4 KiB
Plaintext
53 lines
1.4 KiB
Plaintext
CMake Error at BadNOT.cmake:1 \(add_custom_target\):
|
|
Error evaluating generator expression:
|
|
|
|
\$<NOT>
|
|
|
|
\$<NOT> expression requires exactly one parameter.
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists.txt:3 \(include\)
|
|
+CMake Error at BadNOT.cmake:1 \(add_custom_target\):
|
|
Error evaluating generator expression:
|
|
|
|
\$<NOT:>
|
|
|
|
\$<NOT> parameter must resolve to exactly one '0' or '1' value.
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists.txt:3 \(include\)
|
|
+
|
|
CMake Error at BadNOT.cmake:1 \(add_custom_target\):
|
|
Error evaluating generator expression:
|
|
|
|
\$<NOT:,>
|
|
|
|
\$<NOT> expression requires exactly one parameter.
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists.txt:3 \(include\)
|
|
+
|
|
CMake Error at BadNOT.cmake:1 \(add_custom_target\):
|
|
Error evaluating generator expression:
|
|
|
|
\$<NOT:0,1>
|
|
|
|
\$<NOT> expression requires exactly one parameter.
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists.txt:3 \(include\)
|
|
+
|
|
CMake Error at BadNOT.cmake:1 \(add_custom_target\):
|
|
Error evaluating generator expression:
|
|
|
|
\$<NOT:01>
|
|
|
|
\$<NOT> parameter must resolve to exactly one '0' or '1' value.
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists.txt:3 \(include\)
|
|
+
|
|
CMake Error at BadNOT.cmake:1 \(add_custom_target\):
|
|
Error evaluating generator expression:
|
|
|
|
\$<NOT:nothing>
|
|
|
|
\$<NOT> parameter must resolve to exactly one '0' or '1' value.
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists.txt:3 \(include\)$
|