Mercurial > hg > easyhg
annotate easyhg.pro @ 356:368b96a87c43 feature_102
Add warning message when pushing with uncommitted changes. Fixes #102
author | Chris Cannam |
---|---|
date | Thu, 17 Mar 2011 13:44:44 +0000 |
parents | 4229b6a8e9c6 |
children | b9c153e00e84 |
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@331 | 62 moreinformationdialog.h \ |
Chris@331 | 63 annotatedialog.h |
Chris@172 | 64 SOURCES = main.cpp \ |
Chris@172 | 65 mainwindow.cpp \ |
Chris@172 | 66 hgtabwidget.cpp \ |
Chris@172 | 67 hgrunner.cpp \ |
Chris@172 | 68 grapher.cpp \ |
Chris@172 | 69 common.cpp \ |
Chris@172 | 70 changeset.cpp \ |
Chris@172 | 71 changesetdetailitem.cpp \ |
Chris@172 | 72 changesetitem.cpp \ |
Chris@172 | 73 logparser.cpp \ |
Chris@172 | 74 panner.cpp \ |
Chris@172 | 75 panned.cpp \ |
Chris@172 | 76 connectionitem.cpp \ |
Chris@172 | 77 textabbrev.cpp \ |
Chris@172 | 78 dateitem.cpp \ |
Chris@172 | 79 colourset.cpp \ |
Chris@172 | 80 debug.cpp \ |
Chris@172 | 81 recentfiles.cpp \ |
Chris@172 | 82 startupdialog.cpp \ |
Chris@172 | 83 repositorydialog.cpp \ |
Chris@172 | 84 multichoicedialog.cpp \ |
Chris@172 | 85 selectablelabel.cpp \ |
Chris@172 | 86 filestates.cpp \ |
Chris@172 | 87 filestatuswidget.cpp \ |
Chris@172 | 88 confirmcommentdialog.cpp \ |
Chris@172 | 89 historywidget.cpp \ |
Chris@172 | 90 changesetscene.cpp \ |
Chris@172 | 91 incomingdialog.cpp \ |
Chris@175 | 92 uncommitteditem.cpp \ |
Chris@275 | 93 settingsdialog.cpp \ |
Chris@296 | 94 workstatuswidget.cpp \ |
Chris@331 | 95 moreinformationdialog.cpp \ |
Chris@331 | 96 annotatedialog.cpp |
Chris@172 | 97 |
Chris@172 | 98 macx-* { |
Chris@172 | 99 SOURCES += common_osx.mm |
Chris@172 | 100 LIBS += -framework Foundation |
Chris@215 | 101 ICON = easyhg.icns |
Chris@172 | 102 } |
Chris@172 | 103 |
Chris@172 | 104 linux* { |
Chris@172 | 105 LIBS += -lutil |
Chris@172 | 106 } |
Chris@172 | 107 |
Chris@172 | 108 win* { |
Chris@172 | 109 LIBS += -lSecur32 |
Chris@172 | 110 } |
Chris@172 | 111 |
Chris@172 | 112 RESOURCES = easyhg.qrc |
Chris@197 | 113 win32 { |
Chris@197 | 114 RC_FILE = easyhg.rc |
Chris@197 | 115 } |
Chris@172 | 116 |
Chris@172 | 117 QT += network |