mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-01 05:46:06 -04:00
successful Mac build on OSX 10.10
This commit is contained in:
@ -7,6 +7,10 @@ TARGET = fractorium
|
||||
|
||||
include(../defaults.pri)
|
||||
|
||||
# TODO: Figure out how to build the app bundle correctly.
|
||||
# This will build a binary instead of an app bundle.
|
||||
macx:CONFIG -= app_bundle
|
||||
|
||||
PRJ_DIR = $$SRC_DIR/Fractorium
|
||||
|
||||
target.path = $$BIN_INSTALL_DIR
|
||||
@ -16,8 +20,7 @@ assets.path = $$SHARE_INSTALL_DIR
|
||||
assets.files = $$ASSETS_DIR/flam3-palettes.xml $$ASSETS_DIR/dark.qss
|
||||
INSTALLS += assets
|
||||
|
||||
# FIXME: move to Data and install to $$SHARE_INSTALL_DIR ?
|
||||
macx:ICON = ../../package/osx/Fractorium.icns
|
||||
macx:ICON = $$ASSETS_DIR/Fractorium.icns
|
||||
|
||||
LIBS += -L$$absolute_path($$DESTDIR) -lEmber
|
||||
LIBS += -L$$absolute_path($$DESTDIR) -lEmberCL
|
||||
|
@ -1,7 +1,7 @@
|
||||
VERSION = 0.9.9.2
|
||||
|
||||
# When this file is included:
|
||||
# - $$PWD is ./Builds/QtCreator/
|
||||
# - $$(PWD) is ./Builds/QtCreator/
|
||||
# - $(PWD) is the project folder, e.g. ./Builds/QtCreator/Ember/
|
||||
|
||||
LIB_INSTALL_DIR = /usr/lib
|
||||
@ -29,11 +29,12 @@ macx {
|
||||
LIBS += -L/usr/local/lib
|
||||
|
||||
INCLUDEPATH += /usr/local/include
|
||||
INCLUDEPATH += $(PWD)/../Deps
|
||||
INCLUDEPATH += $$(PWD)/../../../Deps
|
||||
|
||||
QMAKE_MAC_SDK = macosx10.9
|
||||
QMAKE_MAC_SDK = macosx10.11
|
||||
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.9
|
||||
|
||||
|
||||
QMAKE_CXXFLAGS += -mmacosx-version-min=10.9 -arch x86_64
|
||||
QMAKE_CXXFLAGS += -stdlib=libc++
|
||||
} else {
|
||||
CONFIG += precompile_header
|
||||
|
Reference in New Issue
Block a user