[nostalgia] Remove need for run-make and "current" symlinks
This commit is contained in:
@ -6,10 +6,7 @@ BUILD_TYPE=$2
|
||||
project=$(pwd)/
|
||||
buildTool=""
|
||||
|
||||
if [[ $TARGET == windows ]]; then
|
||||
toolchain="-DCMAKE_TOOLCHAIN_FILE=cmake/modules/Mingw.cmake"
|
||||
buildTool="-GNinja"
|
||||
elif [[ $TARGET == gba ]]; then
|
||||
if [[ $TARGET == gba ]]; then
|
||||
toolchain="-DCMAKE_TOOLCHAIN_FILE=cmake/modules/GBA.cmake"
|
||||
nostalgiaBuildType="-DNOSTALGIA_BUILD_TYPE=GBA"
|
||||
oxUseStdLib="-DOX_USE_STDLIB=OFF"
|
||||
@ -53,7 +50,6 @@ popd
|
||||
|
||||
rm -f build/current dist/current
|
||||
mkdir -p dist
|
||||
ln -s ${TARGET}-${BUILD_TYPE} build/current
|
||||
echo ${TARGET}-${BUILD_TYPE} > .current_build
|
||||
rm -f compile_commands.json
|
||||
ln -s build/current/compile_commands.json
|
||||
ln -s ${TARGET}-${BUILD_TYPE} dist/current
|
||||
ln -s build/${TARGET}-${BUILD_TYPE}/compile_commands.json
|
||||
|
Reference in New Issue
Block a user