cmkr icon indicating copy to clipboard operation
cmkr copied to clipboard

Suggestions for non-existent `link-flags` or `compile-flags` or `flags` target keys

Open mrexodia opened this issue 2 years ago • 0 comments

[target.test]
type = "executable"
link-flags = ["/NOENTRY"]

This will error with:

[error] Unknown key 'link-flags'
 --> C:\CodeBlocks\x64dbg_tests\cmake.toml:12
    |
 12 | link-flags = ["/NOENTRY"]
    | ~~~~~~~~~~

This should be something like: Unknown key 'link-flags' (did you mean 'link-options'?). Same for a few other keys that users might try (see title).

mrexodia avatar Jan 06 '24 19:01 mrexodia