forked from nillerusr/source-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request nillerusr#170 from halotroop2288/patch-1
Create tasks.json
- Loading branch information
Showing
1 changed file
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "Configure Waf for Debug 32-bit", | ||
"type": "shell", | ||
"command": "./waf configure -T debug --prefix=build/out/", | ||
"problemMatcher": [], | ||
"windows": { | ||
"command": "./waf.bat configure -T debug --prefix=build/out/" | ||
}, | ||
"osx": { | ||
"command": "python3 waf configure -T debug --prefix=build/out/" | ||
} | ||
}, | ||
{ | ||
"label": "Configure Waf for Debug 64-bit", | ||
"type": "shell", | ||
"command": "./waf configure -T debug --64bits --prefix=build/out/", | ||
"problemMatcher": [], | ||
"windows": { | ||
"command": "./waf.bat configure -T debug --64bits --prefix=build/out/" | ||
}, | ||
"osx": { | ||
"command": "python3 waf configure -T debug --64bits --prefix=build/out/" | ||
} | ||
}, | ||
{ | ||
"label": "Configure Waf for Debug on Android (NDK r10e)", | ||
"type": "shell", | ||
"command": "./waf configure -T debug --android=armeabi-v7a-hard,4.9,21", | ||
"problemMatcher": [], | ||
"windows": { | ||
"command": "./waf.bat configure -T debug --android=armeabi-v7a-hard,4.9,21" | ||
}, | ||
"osx": { | ||
"command": "python3 waf configure -T debug --android=armeabi-v7a-hard,4.9,21" | ||
} | ||
}, | ||
{ | ||
"label": "Build", | ||
"type": "shell", | ||
"command": "./waf install", | ||
"problemMatcher": { | ||
"base": "$gcc", | ||
"fileLocation": ["relative", "${workspaceFolder}/build"] | ||
}, | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
}, | ||
"windows": { | ||
"command": "./waf.bat install", | ||
"problemMatcher": { | ||
"base": "$msCompile", | ||
"fileLocation": ["relative", "${workspaceFolder}/build"] | ||
} | ||
}, | ||
"osx": { | ||
"command": "python3 waf install" | ||
} | ||
} | ||
] | ||
} |