-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtasks.json
72 lines (72 loc) · 2.37 KB
/
tasks.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "make",
"type": "shell",
"command": "scons -j16 platform=windows target=debug",
"group": { // use_llvm=yes
"kind": "build",
"isDefault": true
},
"problemMatcher": "$gcc",
"presentation": {
"echo": true,
"reveal": "always",
"focus": true,
"panel": "shared",
"showReuseMessage": false,
"clear": true
}
},
{
"label": "build release",
"type": "shell",
"command": "scons -j16 tools=yes platform=windows target=release_debug",
"problemMatcher": "$gcc"
},
{
"label": "clean release",
"type": "shell",
"command": "scons -j16 tools=yes platform=windows target=release_debug --clean",
"problemMatcher": "$gcc"
},
{
"label": "build clean",
"type": "shell",
"command": "scons -j16 platform=windows target=debug --clean",
"presentation": {
"echo": true,
"reveal": "always",
"focus": true,
"panel": "shared",
"showReuseMessage": false,
"clear": true
}
},
{
"label": "build",
"dependsOn": [
// this is used when we work on something which imports scenes, or materials - keeps project state clean
// todo: add support to handle removal of .import files inside directories too
//"reimport", // then force reimport by deleting project folder
"make", // execute build
],
"presentation": {
"echo": true,
"reveal": "always",
"focus": true,
"panel": "shared",
"showReuseMessage": false,
"clear": true
}
},
{
"label": "clear project import cache",
"type": "shell",
"command": "rm -rf /home/gordon/Projects/CorpSquad/CorpSquad.ModelTest/.import/",
},
]
}