Setup script cleanup for Linux

This commit is contained in:
Dan Paulat 2025-05-25 19:08:40 -05:00
parent 3de270c2a1
commit 6fca723404
10 changed files with 80 additions and 20 deletions

6
tools/lib/run-cmake-configure.sh Normal file → Executable file
View file

@ -17,6 +17,12 @@ if [[ -n "${build_type}" ]]; then
-DCMAKE_CONFIGURATION_TYPES="${build_type}"
-DCMAKE_INSTALL_PREFIX="${build_dir}/${build_type}/supercell-wx"
)
else
# CMAKE_BUILD_TYPE isn't used to build, but is required by the Conan CMakeDeps generator
cmake_args+=(
-DCMAKE_BUILD_TYPE="Release"
-DCMAKE_CONFIGURATION_TYPES="Debug;Release"
)
fi
mkdir -p "${build_dir}"