set_property: Undocumented support for APPEND after values
conan
is a C++ package manager that produces CMake
configurations.
meson
is an alternative mixed language build system that can read CMake
configurations.
Currently conan
produces CMake
files that contain statements of this form:
set_property(TARGET hello::hello PROPERTY INTERFACE_LINK_LIBRARIES "hello::say" APPEND)
This statement has an APPEND
effect when used in CMake
- but does not match the grammar as defined here https://cmake.org/cmake/help/latest/command/set_property.html
The grammar specifies that the APPEND
keyword must come before the PROPERTY
keyword.
When encountering this dependency, meson
which contains an alternative parser, considers APPEND
to be an additional value.
Can someone clarify if this form is an edge case in your parser that happens to work, or otherwise, to correct the grammar for this statement?