Default to ninja
This commit is contained in:
parent
7230eceb4d
commit
88681bdc74
@ -7,13 +7,13 @@ export PATH=$LUNA_ROOT/toolchain/x86-64-luna/bin:$LUNA_ROOT/toolchain/dist:$PATH
|
|||||||
|
|
||||||
export ARCH=${ARCH:-x86_64}
|
export ARCH=${ARCH:-x86_64}
|
||||||
|
|
||||||
if [ "$USE_NINJA" = "1" ]
|
if [ "$USE_MAKE" = "1" ]
|
||||||
then
|
then
|
||||||
export BUILD=ninja
|
|
||||||
export CMAKE_GEN=Ninja
|
|
||||||
else
|
|
||||||
export BUILD=make
|
export BUILD=make
|
||||||
export CMAKE_GEN="Unix Makefiles"
|
export CMAKE_GEN="Unix Makefiles"
|
||||||
|
else
|
||||||
|
export BUILD=ninja
|
||||||
|
export CMAKE_GEN="Ninja"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export BUILD_DIR=$LUNA_ROOT/build/$BUILD-$ARCH
|
export BUILD_DIR=$LUNA_ROOT/build/$BUILD-$ARCH
|
Loading…
Reference in New Issue
Block a user