mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 14:16:50 +00:00
b6de5bb712
Enables Visual Studio code integration with Waf for configure and build.
43 lines
1.3 KiB
JSON
43 lines
1.3 KiB
JSON
{
|
|
"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
|
|
}
|
|
}
|
|
]
|
|
}
|