IPBS_Station/SDK/Depend/CSerialPort/examples/CommNoGui/.vscode/tasks.json

86 lines
3.0 KiB
JSON
Raw Normal View History

2024-08-13 17:07:34 +08:00
{
"version": "2.0.0",
"tasks": [{
"type": "shell",
"label": "winMinGWBuild",
"command": "g++",
"args": [
"-g",
"${workspaceFolder}/CSerialPortDemoNoGui.cpp",
"${workspaceFolder}/../../src/SerialPortInfo.cpp",
"${workspaceFolder}/../../src/SerialPortInfoBase.cpp",
"${workspaceFolder}/../../src/SerialPortInfoWinBase.cpp",
"${workspaceFolder}/../../src/SerialPort.cpp",
"${workspaceFolder}/../../src/SerialPortBase.cpp",
"${workspaceFolder}/../../src/SerialPortWinBase.cpp",
"-lpthread",
"-lsetupapi",
"-I",
"${workspaceFolder}/../../src",
"-o",
"${fileDirname}/${fileBasenameNoExtension}"
],
"options": {
"cwd": "D:\\mingw64\\bin"
},
"problemMatcher": [
"$gcc"
],
"group": "build"
},
{
"type": "shell",
"label": "linuxG++Build",
"command": "g++",
"args": [
"-g",
"${workspaceFolder}/CSerialPortDemoNoGui.cpp",
"${workspaceFolder}/../../src/SerialPortInfo.cpp",
"${workspaceFolder}/../../src/SerialPortInfoBase.cpp",
"${workspaceFolder}/../../src/SerialPortInfoUnixBase.cpp",
"${workspaceFolder}/../../src/SerialPort.cpp",
"${workspaceFolder}/../../src/SerialPortBase.cpp",
"${workspaceFolder}/../../src/SerialPortUnixBase.cpp",
"-lpthread",
"-I",
"${workspaceFolder}/../../src",
"-o",
"${fileDirname}/${fileBasenameNoExtension}"
],
"options": {
"cwd": "/usr/bin"
},
"problemMatcher": [
"$gcc"
],
"group": "build"
},
{
"type": "shell",
"label": "osxG++Build",
"command": "/usr/bin/g++",
"args": [
"-g",
"${workspaceFolder}/CSerialPortDemoNoGui.cpp",
"${workspaceFolder}/../../src/SerialPortInfo.cpp",
"${workspaceFolder}/../../src/SerialPortInfoBase.cpp",
"${workspaceFolder}/../../src/SerialPortInfoUnixBase.cpp",
"${workspaceFolder}/../../src/SerialPort.cpp",
"${workspaceFolder}/../../src/SerialPortBase.cpp",
"${workspaceFolder}/../../src/SerialPortUnixBase.cpp",
"-lpthread",
"-I",
"${workspaceFolder}/../../src",
"-o",
"${fileDirname}/${fileBasenameNoExtension}"
],
"options": {
"cwd": "/usr/bin"
},
"problemMatcher": [
"$gcc"
],
"group": "build"
}
]
}