Luna/tools/build.sh
apio a6974b605e
All checks were successful
continuous-integration/drone/push Build is passing
tools+CMake: Prefix all environment variables with LUNA_
2023-01-21 22:44:16 +01:00

15 lines
231 B
Bash
Executable File

#!/usr/bin/env bash
set -e
source $(dirname $0)/env.sh
cd $LUNA_ROOT
tools/setup.sh
tools/install-headers.sh
mkdir -p $LUNA_BUILD_DIR
cmake -S . -B $LUNA_BUILD_DIR -G "$LUNA_CMAKE_GENERATOR_NAME"
cmake --build $LUNA_BUILD_DIR