60 lines
1.5 KiB
JSON
60 lines
1.5 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "FluidSim: configure desktop",
|
|
"type": "process",
|
|
"command": "cmake",
|
|
"args": [
|
|
"--preset",
|
|
"linux"
|
|
],
|
|
"windows": {
|
|
"command": "cmake",
|
|
"args": [
|
|
"--preset",
|
|
"windows"
|
|
]
|
|
},
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "FluidSim: build desktop",
|
|
"type": "process",
|
|
"command": "cmake",
|
|
"args": [
|
|
"--build",
|
|
"--preset",
|
|
"linux",
|
|
"--target",
|
|
"fluidsim_desktop"
|
|
],
|
|
"windows": {
|
|
"command": "cmake",
|
|
"args": [
|
|
"--build",
|
|
"--preset",
|
|
"windows",
|
|
"--target",
|
|
"fluidsim_desktop"
|
|
]
|
|
},
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"dependsOn": "FluidSim: configure desktop",
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": [
|
|
"$gcc",
|
|
"$msCompile"
|
|
]
|
|
}
|
|
]
|
|
}
|