You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>)?
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
andg++
as arguments to the-I
parameter.Preferably, it would only do this for non-default paths.
The text was updated successfully, but these errors were encountered: