tasks.json
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "build",
"type": "shell",
"command": "g++",
"args": [
"-g",
"${file}",
"-L",
"/usr/local/lib/lib*",
"-std=c++11",
"-lpthread", // 多线程
"-lGL", // opengl
"-lglut", // opengl
"-o",
"${fileBasenameNoExtension}",
]
// "args": ["-g", "${file}"]
// g++ first.cpp -o first `pkg-config --libs --cflags opencv` -ldl
// "args": ["-g", "${file}", "-std=c++11", "-o", "${fileBasenameNoExtension}.out"]
}
]
}
launch.json
因篇幅问题不能全部显示,请点此查看更多更全内容
Copyright © 2019- ryyc.cn 版权所有 湘ICP备2023022495号-3
违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务