ab599a3931
This makes the -separate-debug-info configure optional functional, which generates dSYM debug info bundles for Qt libraries on Apple platforms. Task-number: QTBUG-37952 Done-with: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Change-Id: Ia247674740bf450130a15db926df07fa9007e2ca Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
38 lines
955 B
Plaintext
38 lines
955 B
Plaintext
#
|
|
# qmake configuration common to OS X and iOS
|
|
#
|
|
|
|
!load(device_config): error(Could not successfully load device configuration)
|
|
|
|
QMAKE_PLATFORM += mac darwin
|
|
|
|
include(unix.conf)
|
|
|
|
QMAKE_RESOURCE = /Developer/Tools/Rez
|
|
QMAKE_EXTENSION_SHLIB = dylib
|
|
QMAKE_LIBDIR =
|
|
|
|
# sdk.prf will prefix the proper SDK sysroot
|
|
QMAKE_INCDIR_OPENGL = \
|
|
/System/Library/Frameworks/OpenGL.framework/Headers \
|
|
/System/Library/Frameworks/AGL.framework/Headers/
|
|
|
|
QMAKE_FIX_RPATH = install_name_tool -id
|
|
|
|
QMAKE_LFLAGS_RPATH = -Wl,-rpath,
|
|
QMAKE_LFLAGS_GCSECTIONS = -Wl,-dead_strip
|
|
|
|
QMAKE_LFLAGS_REL_RPATH =
|
|
QMAKE_REL_RPATH_BASE = @loader_path
|
|
|
|
QMAKE_LIBS_DYNLOAD =
|
|
QMAKE_LIBS_OPENGL = -framework OpenGL -framework AGL
|
|
QMAKE_LIBS_THREAD =
|
|
|
|
QMAKE_DSYMUTIL = dsymutil
|
|
QMAKE_STRIP = strip
|
|
|
|
QMAKE_AR = ar cq
|
|
QMAKE_RANLIB = ranlib -s
|
|
QMAKE_NM = nm -P
|