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
|
|
|
|
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
|
|
|
|
2013-03-19 01:57:31 +00:00
|
|
|
QMAKE_AR = ar cq
|
|
|
|
QMAKE_RANLIB = ranlib -s
|
2013-04-22 21:22:09 +00:00
|
|
|
QMAKE_NM = nm -P
|