-
Notifications
You must be signed in to change notification settings - Fork 502
Description
Brief Issue Summary
Some flags like --no-warn-unused-cli
are hardcoded.
Occasionally it could be useful to be able to see what CLI arguments are unused by looking at the Output view. Because this flag is currently hardcoded, this is not possible.
Here:
vscode-cmake-tools/src/drivers/driver.ts
Line 620 in 6adc289
const common_flags = ['--no-warn-unused-cli'].concat(extra_args, this.config.configureArgs); |
Expected:
Don't hardcode certain flags that cannot be overridden even with configuration options.
Apparent Behavior:
It is not possible in anyway to run cmake from VSCode without certain flags, like --no-warn-unused-cli
CMake Tools Log
Not relevant
Developer Tools Log
Not relevant
Platform and Versions
- Operating System: Ubuntu 18.04
- CMake Version: 3.16.4
- VSCode Version: 1.42.1
- CMake Tools Extension Version: 1.3.0
- Compiler/Toolchain: Any
Other Notes/Information
I noticed that -j 4
was also appended to make
when building (I am not sure if this is hardcoded or if it was autodetected). In this case, this is ok: make
says -j
can be supplied multiple times, and only the last one will take effect, allowing the user to override any hardcoded/auto-detected values in the extension config (note: the fact that buildToolArgs
is (correctly) appended last is what also makes it possible).
Metadata
Metadata
Assignees
Labels
Type
Projects
Status