summaryrefslogtreecommitdiff
path: root/mkspecs/common/mac.conf
blob: 341c74657a416de65c6af39a8c33b40bfa2bc9db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#
# qmake configuration for common Mac OS (OSX and iOS)
#

!load(device_config): error(Could not successfully load device configuration)

QMAKE_PLATFORM         += mac

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      =

QMAKE_LIBS_DYNLOAD      =
QMAKE_LIBS_OPENGL       = -framework OpenGL -framework AGL
QMAKE_LIBS_THREAD       =

QMAKE_AR                = ar cq
QMAKE_RANLIB            = ranlib -s
QMAKE_NM                = nm -P

include(unix.conf)