且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在 Visual Studio 代码中使用 `pkg-config gtkmm-3.0 --cflags --libs`

更新时间:2023-02-21 09:36:18

you can try this!

"version": "0.1.0"
"command": "g++",
"isShellCommand": true,
"args": [
         "main.cpp",
         "`pkg-config", "--libs", "--cflags", "gtkmm-3.0`",
 ]

you should control how the argument is quoted.
more information: Task in Visual Studio Code