-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.52..v0.2.53 changeset VagrantBuild.sh
Garret Voltz edited this page Feb 12, 2020
·
1 revision
diff --git a/VagrantBuild.sh b/VagrantBuild.sh
index a5b07b9..b69c47d 100755
--- a/VagrantBuild.sh
+++ b/VagrantBuild.sh
@@ -34,14 +34,20 @@ if [ -f missing ]; then
rm -f missing
fi
-# Taking out ui-tests until we get Tomcat8 etc installed
-aclocal && autoconf && autoheader && automake --add-missing --copy && ./configure $SILENT_CONFIGURE --with-rnd --with-services --with-uitests
+aclocal && autoconf && autoheader && automake --add-missing --copy && ./configure $SILENT_CONFIGURE --with-rnd --with-josm --with-services --with-uitests
if [ ! -f LocalConfig.pri ] && ! grep --quiet QMAKE_CXX LocalConfig.pri; then
echo 'Customizing LocalConfig.pri...'
cp LocalConfig.pri.orig LocalConfig.pri
sed -i s/"QMAKE_CXX=g++"/"#QMAKE_CXX=g++"/g LocalConfig.pri
sed -i s/"#QMAKE_CXX=ccache g++"/"QMAKE_CXX=ccache g++"/g LocalConfig.pri
+ if [ "$BUILD_DEBUG" == "yes" ]; then
+ echo 'Building in DEBUG mode...'
+ sed -i s/"CONFIG += release"/"#CONFIG += release"/ LocalConfig.pri
+ sed -i s/"CONFIG -= debug"/"#CONFIG -= debug"/ LocalConfig.pri
+ sed -i s/"#CONFIG += debug"/"CONFIG += debug"/ LocalConfig.pri
+ sed -i s/"#CONFIG -= release"/"CONFIG -= release"/ LocalConfig.pri
+ fi
fi
echo "Building Hoot..."