Default to ninja

This commit is contained in:
apio 2022-11-23 19:01:28 +01:00
parent 7230eceb4d
commit 88681bdc74

View File

@ -7,13 +7,13 @@ export PATH=$LUNA_ROOT/toolchain/x86-64-luna/bin:$LUNA_ROOT/toolchain/dist:$PATH
export ARCH=${ARCH:-x86_64}
if [ "$USE_NINJA" = "1" ]
if [ "$USE_MAKE" = "1" ]
then
export BUILD=ninja
export CMAKE_GEN=Ninja
else
export BUILD=make
export CMAKE_GEN="Unix Makefiles"
else
export BUILD=ninja
export CMAKE_GEN="Ninja"
fi
export BUILD_DIR=$LUNA_ROOT/build/$BUILD-$ARCH