Skip to content

Commit

Permalink
chore: update ostk-build to default to debug mode build (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
apaletta3 authored Apr 10, 2024
1 parent eb7fdd8 commit ff27bf2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/development/helpers/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ mkdir -p "${build_directory}"

pushd "${build_directory}" > /dev/null

if [[ ! -z $1 ]] && [[ $1 == "--debug" ]]; then
if [[ ! -z $1 ]] && [[ $1 == "--release" ]]; then

cmake -DCMAKE_BUILD_TYPE=Debug ..
cmake -DCMAKE_BUILD_TYPE=Release ..

else

cmake ..
cmake -DCMAKE_BUILD_TYPE=Debug ..

fi

Expand Down

0 comments on commit ff27bf2

Please sign in to comment.