MacOS build take 4

This commit is contained in:
Matthew Budd 2020-06-30 21:28:18 -04:00
parent fa8b2ce810
commit 2fbf934633
2 changed files with 8 additions and 2 deletions

View File

@ -48,6 +48,8 @@ unix {
QMAKE_CXXFLAGS -= -O2
QMAKE_CXXFLAGS += -D__QT_DRIVER__ -O0 -g3 -Wall -Wno-write-strings -Wno-sign-compare -Wno-parentheses -Wno-unused-local-typedefs
QMAKE_CXXFLAGS_RELEASE -= -O2
LIBS += -lz
}
# Input

View File

@ -18,11 +18,15 @@ echo '****************************************'
brew install sdl2
brew install qt5
brew install minizip
brew install zlib
#brew install zlib # Already installed in appveyor macOS
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig:
QMAKE=`find /usr/local -name qmake`;
mkdir build;
cd build;
/usr/local/Cellar/qt/5.15.0/bin/qmake ..
$QMAKE ..
make
# Debug via ssh if necessary