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