Skip to content

Commit b6de5bb

Browse files
Create tasks.json
Enables Visual Studio code integration with Waf for configure and build.
1 parent e26b40d commit b6de5bb

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

.vscode/tasks.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "Configure Waf for host OS: x86",
6+
"type": "shell",
7+
"problemMatcher": [],
8+
"command": "./waf configure -T release --prefix=out/",
9+
"windows": {
10+
"command": "./waf.bat configure -T release --prefix=out/"
11+
}
12+
},
13+
{
14+
"label": "Configure Waf for host OS: x86_64",
15+
"type": "shell",
16+
"problemMatcher": [],
17+
"command": "./waf configure -T release --64bits --prefix=out/",
18+
"windows": {
19+
"command": "./waf.bat configure -T release --64bits --prefix=out/"
20+
}
21+
},
22+
{
23+
"label": "Configure Waf for outdated Android",
24+
"type": "shell",
25+
"problemMatcher": [],
26+
"command": "./waf configure -T release --android=armeabi-v7a-hard,4.9,21",
27+
"windows": {
28+
"command": "echo \"Not supported on Windows.\""
29+
}
30+
},
31+
{
32+
"label": "Build",
33+
"type": "shell",
34+
"problemMatcher": [],
35+
"command": "./waf install",
36+
"group": {
37+
"kind": "build",
38+
"isDefault": true
39+
}
40+
}
41+
]
42+
}

0 commit comments

Comments
 (0)