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.
|
|
|
|
{
|
|
|
|
|
"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",
|
|
|
|
|
"-finput-charset=UTF-8",
|
|
|
|
|
"-fexec-charset=UTF-8",
|
|
|
|
|
"-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",
|
|
|
|
|
"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",
|
|
|
|
|
"-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"
|
|
|
|
|
}
|