comparison easyhg.pro @ 335:aa852b477e4d

More OS/X deployment: Try to set shared library dependencies separately for each source arch
author Chris Cannam
date Wed, 02 Mar 2011 15:58:34 +0000
parents 2b2f0ba33262
children 4229b6a8e9c6
comparison
equal deleted inserted replaced
320:67feb05754ee 335:aa852b477e4d
2 CONFIG += release 2 CONFIG += release
3 3
4 TEMPLATE = app 4 TEMPLATE = app
5 TARGET = EasyMercurial 5 TARGET = EasyMercurial
6 6
7 # We use the 10.4 SDK and Carbon for all 32-bit OS/X,
8 # and 10.6 with Cocoa for all 64-bit
7 macx-g++40 { 9 macx-g++40 {
8 # Note, to use the 10.4 SDK on 10.6+ you need qmake -spec macx-g++40 10 # Note, to use the 10.4 SDK on 10.6+ you need qmake -spec macx-g++40
9 QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.4u.sdk 11 QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.4u.sdk
10 QMAKE_CFLAGS += -mmacosx-version-min=10.4 12 QMAKE_CFLAGS += -mmacosx-version-min=10.4
11 QMAKE_CXXFLAGS += -mmacosx-version-min=10.4 13 QMAKE_CXXFLAGS += -mmacosx-version-min=10.4
12 QMAKE_LFLAGS_RELEASE += -bind_at_load
13 CONFIG += x86 ppc 14 CONFIG += x86 ppc
14 } 15 }
15 macx-g++ { 16 macx-g++ {
16 QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.6.sdk 17 QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.6.sdk
17 CONFIG += x86 x86_64 18 CONFIG += x86_64
18 } 19 }
19 20
20 unix { 21 unix {
21 DESTDIR = . 22 DESTDIR = .
22 } 23 }