Improvement suggestion:
VS Code supports adding include paths to a file c_cpp_properties.json
under [dir]/.vscode
as an "includePath"
array.
Code Runner could pick up these automatically and pass each one to gcc
and g++
as arguments to the -I
parameter.
Preferably, it would only do this for non-default paths.
Figured this wouldn't be so useful without a way to also specify libraries for the linker.
Perhaps Code Runner could save a file under ./.vscode/
like VS Code does, where a list of libraries could be set, either as an array or as direct input to gcc/g++ (as obtained from pkg-config --libs <lib>
)?
We need this feature.
We certainly do need this feature!!
Most helpful comment
We need this feature.