Browse Source

Added debug build script

master
Macoy Madson 2 years ago
parent
commit
ff08cc1b2e
1 changed files with 20 additions and 0 deletions
  1. +20
    -0
      BuildDependencies_Debug.sh

+ 20
- 0
BuildDependencies_Debug.sh View File

@ -0,0 +1,20 @@
#!/bin/sh
# SFML
echo "Building SFML..."
echo "WARNING: This will run git clean -f on SFML"
cd dependencies/SFML
make clean
git clean -f
cmake . -DCMAKE_BUILD_TYPE=Debug
make -j4
cd ../../
# Imgui-sfml
# I shouldn't need to do this, but I was having trouble getting IMGUI_USER_CONFIG to work
# Instead of using the define, append the file in
echo "Copying imgui-sfml config to imgui imconfig..."
cd dependencies/imgui
git checkout HEAD -- imconfig.h
cat ../imgui-sfml/imconfig-SFML.h >> imconfig.h

Loading…
Cancel
Save