Mercurial > hg > easyhg
annotate 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 |
rev | line source |
---|---|
Chris@172 | 1 |
Chris@245 | 2 CONFIG += release |
Chris@215 | 3 |
Chris@172 | 4 TEMPLATE = app |
Chris@211 | 5 TARGET = EasyMercurial |
Chris@211 | 6 |
Chris@335 | 7 # We use the 10.4 SDK and Carbon for all 32-bit OS/X, |
Chris@335 | 8 # and 10.6 with Cocoa for all 64-bit |
Chris@315 | 9 macx-g++40 { |
Chris@315 | 10 # Note, to use the 10.4 SDK on 10.6+ you need qmake -spec macx-g++40 |
Chris@315 | 11 QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.4u.sdk |
Chris@315 | 12 QMAKE_CFLAGS += -mmacosx-version-min=10.4 |
Chris@315 | 13 QMAKE_CXXFLAGS += -mmacosx-version-min=10.4 |
Chris@315 | 14 CONFIG += x86 ppc |
Chris@315 | 15 } |
Chris@315 | 16 macx-g++ { |
Chris@315 | 17 QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.6.sdk |
Chris@335 | 18 CONFIG += x86_64 |
Chris@315 | 19 } |
Chris@315 | 20 |
Chris@172 | 21 unix { |
Chris@172 | 22 DESTDIR = . |
Chris@172 | 23 } |
Chris@172 | 24 |
Chris@172 | 25 TRANSLATIONS = easyhg_en.ts |
Chris@172 | 26 |
Chris@172 | 27 OBJECTS_DIR = o |
Chris@172 | 28 MOC_DIR = o |
Chris@172 | 29 |
Chris@172 | 30 HEADERS = mainwindow.h \ |
Chris@172 | 31 hgtabwidget.h \ |
Chris@172 | 32 common.h \ |
Chris@172 | 33 grapher.h \ |
Chris@172 | 34 hgrunner.h \ |
Chris@172 | 35 changeset.h \ |
Chris@172 | 36 changesetitem.h \ |
Chris@172 | 37 changesetdetailitem.h \ |
Chris@172 | 38 logparser.h \ |
Chris@172 | 39 panner.h \ |
Chris@172 | 40 panned.h \ |
Chris@172 | 41 connectionitem.h \ |
Chris@172 | 42 textabbrev.h \ |
Chris@172 | 43 dateitem.h \ |
Chris@172 | 44 colourset.h \ |
Chris@172 | 45 debug.h \ |
Chris@172 | 46 recentfiles.h \ |
Chris@172 | 47 startupdialog.h \ |
Chris@172 | 48 repositorydialog.h \ |
Chris@172 | 49 multichoicedialog.h \ |
Chris@172 | 50 selectablelabel.h \ |
Chris@172 | 51 filestates.h \ |
Chris@172 | 52 filestatuswidget.h \ |
Chris@172 | 53 confirmcommentdialog.h \ |
Chris@172 | 54 hgaction.h \ |
Chris@172 | 55 historywidget.h \ |
Chris@172 | 56 changesetscene.h \ |
Chris@172 | 57 incomingdialog.h \ |
Chris@175 | 58 uncommitteditem.h \ |
Chris@186 | 59 settingsdialog.h \ |
Chris@275 | 60 clickablelabel.h \ |
Chris@296 | 61 workstatuswidget.h \ |
Chris@275 | 62 moreinformationdialog.h |
Chris@172 | 63 SOURCES = main.cpp \ |
Chris@172 | 64 mainwindow.cpp \ |
Chris@172 | 65 hgtabwidget.cpp \ |
Chris@172 | 66 hgrunner.cpp \ |
Chris@172 | 67 grapher.cpp \ |
Chris@172 | 68 common.cpp \ |
Chris@172 | 69 changeset.cpp \ |
Chris@172 | 70 changesetdetailitem.cpp \ |
Chris@172 | 71 changesetitem.cpp \ |
Chris@172 | 72 logparser.cpp \ |
Chris@172 | 73 panner.cpp \ |
Chris@172 | 74 panned.cpp \ |
Chris@172 | 75 connectionitem.cpp \ |
Chris@172 | 76 textabbrev.cpp \ |
Chris@172 | 77 dateitem.cpp \ |
Chris@172 | 78 colourset.cpp \ |
Chris@172 | 79 debug.cpp \ |
Chris@172 | 80 recentfiles.cpp \ |
Chris@172 | 81 startupdialog.cpp \ |
Chris@172 | 82 repositorydialog.cpp \ |
Chris@172 | 83 multichoicedialog.cpp \ |
Chris@172 | 84 selectablelabel.cpp \ |
Chris@172 | 85 filestates.cpp \ |
Chris@172 | 86 filestatuswidget.cpp \ |
Chris@172 | 87 confirmcommentdialog.cpp \ |
Chris@172 | 88 historywidget.cpp \ |
Chris@172 | 89 changesetscene.cpp \ |
Chris@172 | 90 incomingdialog.cpp \ |
Chris@175 | 91 uncommitteditem.cpp \ |
Chris@275 | 92 settingsdialog.cpp \ |
Chris@296 | 93 workstatuswidget.cpp \ |
Chris@275 | 94 moreinformationdialog.cpp |
Chris@172 | 95 |
Chris@172 | 96 macx-* { |
Chris@172 | 97 SOURCES += common_osx.mm |
Chris@172 | 98 LIBS += -framework Foundation |
Chris@215 | 99 ICON = easyhg.icns |
Chris@172 | 100 } |
Chris@172 | 101 |
Chris@172 | 102 linux* { |
Chris@172 | 103 LIBS += -lutil |
Chris@172 | 104 } |
Chris@172 | 105 |
Chris@172 | 106 win* { |
Chris@172 | 107 LIBS += -lSecur32 |
Chris@172 | 108 } |
Chris@172 | 109 |
Chris@172 | 110 RESOURCES = easyhg.qrc |
Chris@197 | 111 win32 { |
Chris@197 | 112 RC_FILE = easyhg.rc |
Chris@197 | 113 } |
Chris@172 | 114 |
Chris@172 | 115 QT += network |