You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.8 KiB
JSON

2 months ago
{
"tasks": [
{
"type": "cppbuild",
"label": "MinGW g++: 编译 Pavo2 项目",
"command": "D:\\Program Files\\mingw64\\bin\\g++.exe",
"args": [
"-std=c++11",
// 注意: 原来是 -g, 物理内存不足时 as.exe 会因调试信息过大而
// "Internal error (Segmentation fault)". 降到最小调试信息可稳定通过。
"-g1",
"-fno-var-tracking",
"-fno-var-tracking-assignments",
2 months ago
"-finput-charset=UTF-8",
"-fexec-charset=UTF-8",
2 months ago
"-I", "PAVO2_SDK\\include",
"main.cpp",
"config.cpp",
"json_utils.cpp",
"filter.cpp",
"io_utils.cpp",
"lidar_utils.cpp",
"detect.cpp",
"count.cpp",
"tcp_server.cpp",
"crash_handler.cpp",
2 months ago
"PAVO2_SDK\\src\\pavo2_driver.cpp",
"PAVO2_SDK\\src\\pavo2_net.cpp",
"PAVO2_SDK\\src\\pavo2_parser.cpp",
"PAVO2_SDK\\src\\pavo2_filter.cpp",
"PAVO2_SDK\\src\\LdrAlgorithm.cpp",
"-o", "main.exe",
"-lws2_32",
"-luser32",
2 months ago
"-lpthread",
"-static-libgcc",
"-static-libstdc++"
],
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": true
},
"detail": "用 MinGW-w64 GCC 16.1.0 编译 Pavo2 SDK 项目"
}
],
"version": "2.0.0"
}