Skip to content

Commit

Permalink
Fix build directory vars.
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkCallow committed Apr 5, 2021
1 parent 1f02980 commit 18c0403
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ci_scripts/build_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ CMAKE_EXE=/usr/bin/cmake
# Linux

build_parent_dir=build
linux_build_base=$build_dir/linux
debug_build_dir=${build_dir_base}-debug
release_build_dir=${build_dir_base}-release
nosse_debug_build_dir=${build_dir_base}-nosse-debug
nosse_release_build_dir=${build_dir_base}-nosse-release
linux_build_base=$build_parent_dir/linux
debug_build_dir=${linux_build_base}-debug
release_build_dir=${linux_build_base}-release
nosse_debug_build_dir=${linux_build_base}-nosse-debug
nosse_release_build_dir=${linux_build_base}-nosse-release

mkdir -p $build_parent_dir

echo "Configure KTX-Software (Linux Debug)"
${CMAKE_EXE} . -G Ninja -Bbuild-linux-debug -DCMAKE_BUILD_TYPE=Debug -DKTX_FEATURE_LOADTEST_APPS=ON
${CMAKE_EXE} . -G Ninja -B$debug_build_dir -DCMAKE_BUILD_TYPE=Debug -DKTX_FEATURE_LOADTEST_APPS=ON
pushd $debug_build_dir
echo "Build KTX-Software (Linux Debug)"
${CMAKE_EXE} --build .
Expand Down

0 comments on commit 18c0403

Please sign in to comment.