2024-08-14 17:09:43 -07:00
|
|
|
{
|
|
|
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
|
|
|
// for the documentation about the tasks.json format
|
|
|
|
|
"version": "2.0.0",
|
|
|
|
|
"tasks": [
|
|
|
|
|
{
|
|
|
|
|
"label": "build debug",
|
|
|
|
|
"type": "process",
|
|
|
|
|
"command": "make",
|
|
|
|
|
"windows": {
|
|
|
|
|
"command": "mingw32-make.exe",
|
|
|
|
|
},
|
2024-12-30 17:39:45 -08:00
|
|
|
"osx": {
|
|
|
|
|
"args": [
|
|
|
|
|
"config=debug_arm64"
|
|
|
|
|
],
|
|
|
|
|
},
|
2024-08-14 17:09:43 -07:00
|
|
|
"group": {
|
|
|
|
|
"kind": "build",
|
|
|
|
|
"isDefault": true
|
|
|
|
|
},
|
|
|
|
|
"problemMatcher": [
|
|
|
|
|
"$gcc"
|
|
|
|
|
],
|
|
|
|
|
"dependsOn":["UpdateMake"]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "build release",
|
|
|
|
|
"type": "process",
|
|
|
|
|
"command": "make",
|
|
|
|
|
"windows": {
|
|
|
|
|
"command": "mingw32-make.exe",
|
|
|
|
|
"args": [
|
|
|
|
|
"config=release_x64"
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
"linux": {
|
|
|
|
|
"args": [
|
|
|
|
|
"config=release_x64"
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
"osx": {
|
|
|
|
|
"args": [
|
2024-11-20 19:54:11 -05:00
|
|
|
"config=release_arm64"
|
2024-09-20 16:02:27 -07:00
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
"group": "build",
|
|
|
|
|
"problemMatcher": [
|
|
|
|
|
"$gcc"
|
|
|
|
|
],
|
|
|
|
|
"dependsOn":["UpdateMake"]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "Clean",
|
|
|
|
|
"type": "process",
|
|
|
|
|
"command": "make",
|
|
|
|
|
"windows": {
|
|
|
|
|
"command": "mingw32-make.exe",
|
|
|
|
|
"args": [
|
|
|
|
|
"clean"
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
"linux": {
|
|
|
|
|
"args": [
|
|
|
|
|
"clean"
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
"osx": {
|
|
|
|
|
"args": [
|
|
|
|
|
"clean"
|
2024-08-14 17:09:43 -07:00
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
"group": "build",
|
|
|
|
|
"problemMatcher": [
|
|
|
|
|
"$gcc"
|
|
|
|
|
],
|
|
|
|
|
"dependsOn":["UpdateMake"]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "UpdateMake",
|
|
|
|
|
"type": "process",
|
2024-08-14 18:01:58 -07:00
|
|
|
"command": "./premake5",
|
|
|
|
|
"options": {
|
|
|
|
|
"cwd": "${workspaceFolder}/build/"
|
|
|
|
|
},
|
2024-08-14 17:09:43 -07:00
|
|
|
"args": [
|
2025-07-14 11:14:09 -07:00
|
|
|
"gmake"
|
2024-08-14 17:09:43 -07:00
|
|
|
],
|
|
|
|
|
"windows": {
|
2024-08-14 18:01:58 -07:00
|
|
|
"command": "./premake5.exe"
|
2024-08-14 17:09:43 -07:00
|
|
|
},
|
|
|
|
|
"linux": {
|
2024-08-14 18:01:58 -07:00
|
|
|
"command": "./premake5"
|
2024-08-14 17:09:43 -07:00
|
|
|
},
|
|
|
|
|
"osx": {
|
2024-09-02 09:33:35 -07:00
|
|
|
"command": "premake5.osx"
|
2024-08-14 17:09:43 -07:00
|
|
|
},
|
2025-12-03 05:16:23 +00:00
|
|
|
"group": "build",
|
|
|
|
|
"dependsOn": ["Generate compile_commands.json"]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "Generate compile_commands.json",
|
|
|
|
|
"type": "process",
|
|
|
|
|
"command": "./premake5",
|
|
|
|
|
"options": {
|
|
|
|
|
"cwd": "${workspaceFolder}/build/"
|
|
|
|
|
},
|
|
|
|
|
"args": [
|
|
|
|
|
"ecc"
|
|
|
|
|
],
|
|
|
|
|
"windows": {
|
|
|
|
|
"command": "./premake5.exe"
|
|
|
|
|
},
|
|
|
|
|
"linux": {
|
|
|
|
|
"command": "./premake5"
|
|
|
|
|
},
|
|
|
|
|
"osx": {
|
|
|
|
|
"command": "premake5.osx"
|
|
|
|
|
},
|
|
|
|
|
"group": "build",
|
|
|
|
|
"problemMatcher": []
|
2024-08-14 17:09:43 -07:00
|
|
|
}
|
|
|
|
|
]
|
2025-01-16 18:28:43 +00:00
|
|
|
}
|