Luna/tools/build-debug.sh

19 lines
306 B
Bash
Raw Normal View History

2022-12-04 09:27:25 +00:00
#!/usr/bin/env bash
set -e
source $(dirname $0)/env.sh
cd $LUNA_ROOT
tools/setup.sh
tools/full-clean.sh
2022-12-04 09:27:25 +00:00
2023-01-06 12:35:57 +00:00
tools/install-headers.sh
cmake -S . -B $BUILD_DIR -DMOON_DEBUG_SYMBOLS=ON -DLUNA_DEBUG_SYMBOLS=ON -G "$CMAKE_GEN"
2022-12-04 09:27:25 +00:00
cmake --build $BUILD_DIR
cmake --install $BUILD_DIR
2023-01-06 12:35:57 +00:00
mkbootimg luna.json Luna.iso