Added vectorchecks disabled build

This commit is contained in:
Johannes Lenzen
2021-02-09 12:27:37 +01:00
parent 7cc8cd0bf4
commit f6d62bf1f4
8 changed files with 125 additions and 48 deletions

View File

@@ -86,4 +86,10 @@ if [ "$IWYU" == "yes" ]; then
OPTIONS="$OPTIONS -DCMAKE_EXPORT_COMPILE_COMMANDS=ON"
fi
if [ "$VECTORCHECKS" == "yes" ]; then
echo "Vectorchecks enabled.";
BUILDPATH="$BUILDPATH-vectorchecks"
OPTIONS="$OPTIONS -DSTL_VECTOR_CHECKS=ON"
fi
echo "Building to directory $BUILDPATH"