Browse Source
Enables Visual Studio code integration with Waf for configure and build.pull/170/head
Caroline Joy Bell
2 years ago
committed by
GitHub
1 changed files with 42 additions and 0 deletions
@ -0,0 +1,42 @@ |
|||||||
|
{ |
||||||
|
"version": "2.0.0", |
||||||
|
"tasks": [ |
||||||
|
{ |
||||||
|
"label": "Configure Waf for host OS: x86", |
||||||
|
"type": "shell", |
||||||
|
"problemMatcher": [], |
||||||
|
"command": "./waf configure -T release --prefix=out/", |
||||||
|
"windows": { |
||||||
|
"command": "./waf.bat configure -T release --prefix=out/" |
||||||
|
} |
||||||
|
}, |
||||||
|
{ |
||||||
|
"label": "Configure Waf for host OS: x86_64", |
||||||
|
"type": "shell", |
||||||
|
"problemMatcher": [], |
||||||
|
"command": "./waf configure -T release --64bits --prefix=out/", |
||||||
|
"windows": { |
||||||
|
"command": "./waf.bat configure -T release --64bits --prefix=out/" |
||||||
|
} |
||||||
|
}, |
||||||
|
{ |
||||||
|
"label": "Configure Waf for outdated Android", |
||||||
|
"type": "shell", |
||||||
|
"problemMatcher": [], |
||||||
|
"command": "./waf configure -T release --android=armeabi-v7a-hard,4.9,21", |
||||||
|
"windows": { |
||||||
|
"command": "echo \"Not supported on Windows.\"" |
||||||
|
} |
||||||
|
}, |
||||||
|
{ |
||||||
|
"label": "Build", |
||||||
|
"type": "shell", |
||||||
|
"problemMatcher": [], |
||||||
|
"command": "./waf install", |
||||||
|
"group": { |
||||||
|
"kind": "build", |
||||||
|
"isDefault": true |
||||||
|
} |
||||||
|
} |
||||||
|
] |
||||||
|
} |
Loading…
Reference in new issue