better build task for vsCode

This commit is contained in:
Nils Hölscher 2022-04-20 13:32:39 +02:00
parent 2a7d13c296
commit 384be83c13
2 changed files with 2 additions and 1 deletions

2
.vscode/tasks.json vendored
View File

@ -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"
},
]

View File

@ -154,6 +154,7 @@ case $1 in
a | all)
clean
config
cd build
ninja
echo "==== Done! ===="
;;