Luna/tools/build-debug.sh
apio f1923ce5bd
Some checks failed
continuous-integration/drone/push Build is failing
Install headers before compilation
2023-01-06 13:35:57 +01:00

19 lines
306 B
Bash
Executable File

#!/usr/bin/env bash
set -e
source $(dirname $0)/env.sh
cd $LUNA_ROOT
tools/setup.sh
tools/full-clean.sh
tools/install-headers.sh
cmake -S . -B $BUILD_DIR -DMOON_DEBUG_SYMBOLS=ON -DLUNA_DEBUG_SYMBOLS=ON -G "$CMAKE_GEN"
cmake --build $BUILD_DIR
cmake --install $BUILD_DIR
mkbootimg luna.json Luna.iso