Open berthin opened 9 months ago
I haven't looked at the code but it works if the command has line breaks, e.g.:
# cmake-lint: disable=C0113
add_custom_target(list_all
COMMAND "echo cmake build target"
)
Another possible issue (that I am currently facing) is that multiple disables in one file don't seem work. This is somewhat documented but still...
Hi,
The following cmake command
triggers the C0113 error as:
and I wanted to suppress that error by adding the "cmake-lint: disable" statement as
but still I get the error when I run cmake-lint. How could that be wrong?
for ref: