How can I configure the tasks.json file so that when I press Ctrl + Shift + B the copier will use pkg-config gtkmm-3.0 --cflags --libs
.
My file looks like this:
"version": "0.1.0",
"command": "g++ `pkg-config gtkmm-3.0 --cflags --libs`",
"isShellCommand": true,
"args": ["main.cpp"]
But it returns this message:
Failed to launch external program g++ pkg-config gtkmm-3.0 --cflags --libs
main.cpp. spawn g++ pkg-config gtkmm-3.0 --cflags --libs
ENOENT
If I put it as an argument, like this:
"version": "0.1.0",
"command": "g++",
"isShellCommand": true,
"args": ["main.cpp", "pkg-config gtkmm-3.0 --cflags --libs`"]
Returns this message:
g++: error: pkg-config gtkmm-3.0 --cflags --libs`:
File or directory not found