You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
1006 B
26 lines
1006 B
3 years ago
|
MAKEFILE_GENERATOR = UNIX
|
||
|
CONFIG += app_bundle incremental lib_version_first absolute_library_soname
|
||
|
QMAKE_INCREMENTAL_STYLE = sublib
|
||
|
include(../common/macx.conf)
|
||
|
include(../common/gcc-base-mac.conf)
|
||
|
include(../common/clang.conf)
|
||
|
include(../common/clang-mac.conf)
|
||
|
QMAKE_MAC_SDK_PATH=$${MAC_SDK_PATH}
|
||
|
QMAKE_XCODE_VERSION = $${XCODE_VERSION}
|
||
|
QMAKE_XCODE_DEVELOPER_PATH=/Developer
|
||
|
QMAKE_MAC_SDK=macosx
|
||
|
QMAKE_MAC_SDK.macosx.Path = $${MAC_SDK_PATH}
|
||
|
QMAKE_MAC_SDK.macosx.platform_name = macosx
|
||
|
QMAKE_MAC_SDK.macosx.SDKVersion = $${MAC_SDK_VERSION}
|
||
|
QMAKE_MAC_SDK.macosx.PlatformPath = /phony
|
||
|
QMAKE_APPLE_DEVICE_ARCHS=x86_64
|
||
|
!host_build: QMAKE_CFLAGS += -target $${MAC_TARGET}
|
||
|
!host_build: QMAKE_OBJECTIVE_CFLAGS += $$QMAKE_CFLAGS
|
||
|
!host_build: QMAKE_CXXFLAGS += $$QMAKE_CFLAGS
|
||
|
!host_build: QMAKE_LFLAGS += -target $${MAC_TARGET}
|
||
|
QMAKE_AR = $${CROSS_COMPILE}ar cq
|
||
|
QMAKE_RANLIB=$${CROSS_COMPILE}ranlib
|
||
|
QMAKE_LIBTOOL=$${CROSS_COMPILE}libtool
|
||
|
QMAKE_INSTALL_NAME_TOOL=$${CROSS_COMPILE}install_name_tool
|
||
|
load(qt_config)
|