79 lines
2.1 KiB
JSON
79 lines
2.1 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": false
|
|
},
|
|
"problemMatcher": "$gcc"
|
|
},
|
|
{
|
|
"type": "cppbuild",
|
|
"label": "C/C++: cl.exe build active file",
|
|
"command": "cl.exe",
|
|
"args": [
|
|
"/Zi",
|
|
"/EHsc",
|
|
"/nologo",
|
|
"/Fe${fileDirname}\\${fileBasenameNoExtension}.exe",
|
|
"${file}"
|
|
],
|
|
"options": {
|
|
"cwd": "${fileDirname}"
|
|
},
|
|
"problemMatcher": [
|
|
"$msCompile"
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"detail": "Task generated by Debugger."
|
|
}
|
|
]
|
|
} |