From 384be83c13aa1cd0dfc67f8c6ef07e66074b5713 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20H=C3=B6lscher?= Date: Wed, 20 Apr 2022 13:32:39 +0200 Subject: [PATCH] better build task for vsCode --- .vscode/tasks.json | 2 +- helper.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index e7d4f67..5d687a3 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -6,7 +6,7 @@ { "label": "build", "type": "shell", - "command": "cd build ; cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DLT_LLVM_INSTALL_DIR=$LLVM_DIR ../CacheAnalysisPass/ ; ninja", + "command": "./helper.sh all", "group": "build" }, ] diff --git a/helper.sh b/helper.sh index 3c55765..42a9c81 100755 --- a/helper.sh +++ b/helper.sh @@ -154,6 +154,7 @@ case $1 in a | all) clean config + cd build ninja echo "==== Done! ====" ;;