Make sure to clean CMake cache when rebuilding
This commit is contained in:
parent
5d9c50eb12
commit
a0c4bbe6f3
@ -7,8 +7,7 @@ cd $LUNA_ROOT
|
|||||||
|
|
||||||
tools/setup.sh
|
tools/setup.sh
|
||||||
|
|
||||||
rm -rf $BUILD_DIR
|
tools/full-clean.sh
|
||||||
mkdir $BUILD_DIR
|
|
||||||
|
|
||||||
cmake -S . -B $BUILD_DIR -DMOON_DEBUG_SYMBOLS=ON -G "$CMAKE_GEN"
|
cmake -S . -B $BUILD_DIR -DMOON_DEBUG_SYMBOLS=ON -G "$CMAKE_GEN"
|
||||||
cmake --build $BUILD_DIR
|
cmake --build $BUILD_DIR
|
||||||
|
7
tools/full-clean.sh
Executable file
7
tools/full-clean.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
source $(dirname $0)/env.sh
|
||||||
|
|
||||||
|
rm -rf $BUILD_DIR
|
||||||
|
mkdir -p $BUILD_DIR
|
@ -7,9 +7,7 @@ cd $LUNA_ROOT
|
|||||||
|
|
||||||
tools/setup.sh
|
tools/setup.sh
|
||||||
|
|
||||||
cd $BUILD_DIR
|
tools/full-clean.sh
|
||||||
$BUILD clean
|
|
||||||
cd -
|
|
||||||
|
|
||||||
cmake -S . -B $BUILD_DIR -G "$CMAKE_GEN"
|
cmake -S . -B $BUILD_DIR -G "$CMAKE_GEN"
|
||||||
cmake --build $BUILD_DIR
|
cmake --build $BUILD_DIR
|
||||||
|
@ -7,9 +7,7 @@ cd $LUNA_ROOT
|
|||||||
|
|
||||||
tools/setup.sh
|
tools/setup.sh
|
||||||
|
|
||||||
cd $BUILD_DIR
|
tools/full-clean.sh
|
||||||
$BUILD clean
|
|
||||||
cd -
|
|
||||||
|
|
||||||
cmake -S . -B $BUILD_DIR -G "$CMAKE_GEN"
|
cmake -S . -B $BUILD_DIR -G "$CMAKE_GEN"
|
||||||
cmake --build $BUILD_DIR
|
cmake --build $BUILD_DIR
|
Loading…
Reference in New Issue
Block a user