From f1923ce5bda0a551bfeecf315a64b57e185a04ef Mon Sep 17 00:00:00 2001 From: apio Date: Fri, 6 Jan 2023 13:35:57 +0100 Subject: [PATCH] Install headers before compilation --- tools/build-debug.sh | 4 +++- tools/build-iso.sh | 4 ++-- tools/build.sh | 4 ++-- tools/rebuild-iso.sh | 4 +++- tools/rebuild.sh | 4 +++- 5 files changed, 13 insertions(+), 7 deletions(-) diff --git a/tools/build-debug.sh b/tools/build-debug.sh index 0fcb695e..e571ff01 100755 --- a/tools/build-debug.sh +++ b/tools/build-debug.sh @@ -9,8 +9,10 @@ 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 \ No newline at end of file +mkbootimg luna.json Luna.iso diff --git a/tools/build-iso.sh b/tools/build-iso.sh index 168b75ac..ee0177dc 100755 --- a/tools/build-iso.sh +++ b/tools/build-iso.sh @@ -7,11 +7,11 @@ cd $LUNA_ROOT tools/setup.sh -#tools/install-headers.sh +tools/install-headers.sh mkdir -p $BUILD_DIR cmake -S . -B $BUILD_DIR -G "$CMAKE_GEN" cmake --build $BUILD_DIR cmake --install $BUILD_DIR -mkbootimg luna.json Luna.iso \ No newline at end of file +mkbootimg luna.json Luna.iso diff --git a/tools/build.sh b/tools/build.sh index ee07e209..f854d8e5 100755 --- a/tools/build.sh +++ b/tools/build.sh @@ -7,8 +7,8 @@ cd $LUNA_ROOT tools/setup.sh -#tools/install-headers.sh +tools/install-headers.sh mkdir -p $BUILD_DIR cmake -S . -B $BUILD_DIR -G "$CMAKE_GEN" -cmake --build $BUILD_DIR \ No newline at end of file +cmake --build $BUILD_DIR diff --git a/tools/rebuild-iso.sh b/tools/rebuild-iso.sh index a10085cb..012df09c 100755 --- a/tools/rebuild-iso.sh +++ b/tools/rebuild-iso.sh @@ -9,8 +9,10 @@ tools/setup.sh tools/full-clean.sh +tools/install-headers.sh + cmake -S . -B $BUILD_DIR -G "$CMAKE_GEN" cmake --build $BUILD_DIR cmake --install $BUILD_DIR -mkbootimg luna.json Luna.iso \ No newline at end of file +mkbootimg luna.json Luna.iso diff --git a/tools/rebuild.sh b/tools/rebuild.sh index 1c3e0316..524b7ba1 100755 --- a/tools/rebuild.sh +++ b/tools/rebuild.sh @@ -9,5 +9,7 @@ tools/setup.sh tools/full-clean.sh +tools/install-headers.sh + cmake -S . -B $BUILD_DIR -G "$CMAKE_GEN" -cmake --build $BUILD_DIR \ No newline at end of file +cmake --build $BUILD_DIR