MacOS build take 4
This commit is contained in:
parent
fa8b2ce810
commit
2fbf934633
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue