49 lines
1.3 KiB
JSON
49 lines
1.3 KiB
JSON
{
|
|
"tasks": [
|
|
{
|
|
"type": "cppbuild",
|
|
"label": "C/C++: gcc build MAC",
|
|
"command": "/usr/bin/gcc",
|
|
"args": [
|
|
"-fdiagnostics-color=always",
|
|
"-g",
|
|
"-I${fileDirname}",
|
|
"${workspaceFolder}/*.c",
|
|
"${workspaceFolder}/ats0002/*.c",
|
|
"-o",
|
|
"${fileDirname}/${fileBasenameNoExtension}"
|
|
],
|
|
"options": {
|
|
"cwd": "${fileDirname}"
|
|
},
|
|
"problemMatcher": [
|
|
"$gcc"
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "C/C++: gcc build WIN",
|
|
"type": "shell",
|
|
"command": "x86_64-w64-mingw32-gcc",
|
|
"args": [
|
|
"-g",
|
|
"-Wall",
|
|
"-o",
|
|
"${workspaceFolder}/heat_exchander_airflow_pressure_drop.exe",
|
|
"${workspaceFolder}/*.c",
|
|
"${workspaceFolder}/ats0002/*.c"
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": [
|
|
"$gcc"
|
|
]
|
|
}
|
|
],
|
|
"version": "2.0.0"
|
|
} |