From b6de5bb71206cd2e6c64a87f7fc8c1f44200560c Mon Sep 17 00:00:00 2001 From: Caroline Joy Bell Date: Mon, 9 Jan 2023 08:57:09 -0800 Subject: [PATCH] Create tasks.json Enables Visual Studio code integration with Waf for configure and build. --- .vscode/tasks.json | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .vscode/tasks.json diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000000..5fa3b6e39e --- /dev/null +++ b/.vscode/tasks.json @@ -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 + } + } + ] +}