2013-03-02 14:46:37 +00:00
|
|
|
#
|
2013-07-09 14:07:07 +00:00
|
|
|
# qmake configuration common to OS X and iOS
|
2013-03-02 14:46:37 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
!load(device_config): error(Could not successfully load device configuration)
|
|
|
|
|
2013-07-09 14:09:38 +00:00
|
|
|
QMAKE_PLATFORM += mac darwin
|
2013-03-02 14:46:37 +00:00
|
|
|
|
2016-02-15 21:30:40 +00:00
|
|
|
MAKEFILE_GENERATOR = UNIX
|
2016-06-23 11:23:57 +00:00
|
|
|
CONFIG += app_bundle incremental global_init_link_order lib_version_first sdk
|
2016-02-15 21:30:40 +00:00
|
|
|
QMAKE_INCREMENTAL_STYLE = sublib
|
|
|
|
|
2015-09-29 10:39:08 +00:00
|
|
|
include(unix.conf)
|
|
|
|
|
2013-03-02 14:46:37 +00:00
|
|
|
QMAKE_RESOURCE = /Developer/Tools/Rez
|
|
|
|
QMAKE_EXTENSION_SHLIB = dylib
|
|
|
|
QMAKE_LIBDIR =
|
|
|
|
|
|
|
|
# sdk.prf will prefix the proper SDK sysroot
|
2013-03-19 01:57:31 +00:00
|
|
|
QMAKE_INCDIR_OPENGL = \
|
2013-03-02 14:46:37 +00:00
|
|
|
/System/Library/Frameworks/OpenGL.framework/Headers \
|
|
|
|
/System/Library/Frameworks/AGL.framework/Headers/
|
|
|
|
|
|
|
|
QMAKE_FIX_RPATH = install_name_tool -id
|
|
|
|
|
2014-08-07 11:03:00 +00:00
|
|
|
QMAKE_LFLAGS_RPATH = -Wl,-rpath,
|
2014-05-06 18:27:06 +00:00
|
|
|
QMAKE_LFLAGS_GCSECTIONS = -Wl,-dead_strip
|
2013-03-02 14:46:37 +00:00
|
|
|
|
2015-09-29 18:06:05 +00:00
|
|
|
QMAKE_LFLAGS_REL_RPATH =
|
|
|
|
QMAKE_REL_RPATH_BASE = @loader_path
|
|
|
|
|
2013-03-19 01:57:31 +00:00
|
|
|
QMAKE_LIBS_DYNLOAD =
|
|
|
|
QMAKE_LIBS_OPENGL = -framework OpenGL -framework AGL
|
|
|
|
QMAKE_LIBS_THREAD =
|
2013-03-02 14:46:37 +00:00
|
|
|
|
2018-05-17 10:58:53 +00:00
|
|
|
QMAKE_INCDIR_WAYLAND =
|
|
|
|
QMAKE_LIBS_WAYLAND_CLIENT = -lwayland-client
|
|
|
|
QMAKE_LIBS_WAYLAND_SERVER = -lwayland-server
|
|
|
|
QMAKE_LIBDIR_WAYLAND =
|
|
|
|
QMAKE_DEFINES_WAYLAND =
|
|
|
|
QMAKE_WAYLAND_SCANNER = wayland-scanner
|
|
|
|
|
2016-05-04 09:08:44 +00:00
|
|
|
QMAKE_ACTOOL = actool
|
|
|
|
|
2016-04-07 03:37:44 +00:00
|
|
|
QMAKE_DSYMUTIL = dsymutil
|
2018-06-14 12:54:37 +00:00
|
|
|
QMAKE_STRIP = $${CROSS_COMPILE}strip
|
2016-06-23 23:16:06 +00:00
|
|
|
QMAKE_STRIPFLAGS_LIB += -S -x
|
2016-04-07 03:37:44 +00:00
|
|
|
|
2018-06-14 12:54:37 +00:00
|
|
|
QMAKE_AR = $${CROSS_COMPILE}ar cq
|
|
|
|
QMAKE_RANLIB = $${CROSS_COMPILE}ranlib -s
|
|
|
|
QMAKE_NM = $${CROSS_COMPILE}nm -P
|