a414a4c83d
Parsing generator expressions statically is impossible since whether an argument is interpreted as a generator expression or not depends on the function itself. Hence, the parsing for it is removed.
67 lines
1.5 KiB
Plaintext
67 lines
1.5 KiB
Plaintext
======
|
|
OpenCV
|
|
======
|
|
|
|
if(dep MATCHES "^\\$<LINK_ONLY:([^>]+)>$")
|
|
set(dep "${CMAKE_MATCH_1}")
|
|
endif()
|
|
if(dep MATCHES "^\\$<")
|
|
message(WARNING "Unexpected CMake generator expression: ${dep}")
|
|
endif()
|
|
|
|
---
|
|
|
|
(source_file
|
|
(if_condition
|
|
(if_command
|
|
(if)
|
|
(argument_list
|
|
(argument
|
|
(unquoted_argument))
|
|
(argument
|
|
(unquoted_argument))
|
|
(argument
|
|
(quoted_argument
|
|
(quoted_element
|
|
(escape_sequence))))))
|
|
(body
|
|
(normal_command
|
|
(identifier)
|
|
(argument_list
|
|
(argument
|
|
(unquoted_argument))
|
|
(argument
|
|
(quoted_argument
|
|
(quoted_element
|
|
(variable_ref
|
|
(normal_var
|
|
(variable)))))))))
|
|
(endif_command
|
|
(endif)))
|
|
(if_condition
|
|
(if_command
|
|
(if)
|
|
(argument_list
|
|
(argument
|
|
(unquoted_argument))
|
|
(argument
|
|
(unquoted_argument))
|
|
(argument
|
|
(quoted_argument
|
|
(quoted_element
|
|
(escape_sequence))))))
|
|
(body
|
|
(normal_command
|
|
(identifier)
|
|
(argument_list
|
|
(argument
|
|
(unquoted_argument))
|
|
(argument
|
|
(quoted_argument
|
|
(quoted_element
|
|
(variable_ref
|
|
(normal_var
|
|
(variable)))))))))
|
|
(endif_command
|
|
(endif))))
|