Skip to content
Snippets Groups Projects
Commit 18d89c3e authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

build script: added command to remove old build directories

parent 37b54df6
No related branches found
No related tags found
1 merge request!103CI: optimized tags for build jobs
...@@ -205,6 +205,10 @@ else ...@@ -205,6 +205,10 @@ else
check_file="Makefile" check_file="Makefile"
fi fi
# remove old build directories that were used before the unified top-level "builddir"
# (TODO: this code be removed later)
rm -rf ./Release ./Debug ./RelWithDebInfo ./Testing ./Build
BUILD_DIR="builddir/$BUILD" BUILD_DIR="builddir/$BUILD"
cmake_command=( cmake_command=(
${CMAKE} -B "$BUILD_DIR" -S "$ROOT_DIR" -G "$generator" ${CMAKE} -B "$BUILD_DIR" -S "$ROOT_DIR" -G "$generator"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment