annotate easyhg.pro @ 590:8bcf7ce9b1d2 easyhg_v1.2_win32_2

Installer fixes: Install to main EasyHg dir not versioned subdir; install icon
author Chris Cannam <chris.cannam@eecs.qmul.ac.uk>
date Thu, 15 Mar 2012 15:23:34 +0000
parents 4ed384ea7f39
children 2985c2a90146
rev   line source
Chris@172 1
Chris@547 2 CONFIG += release
Chris@215 3
Chris@172 4 TEMPLATE = app
Chris@211 5 TARGET = EasyMercurial
Chris@211 6
Chris@584 7 # We use the 10.5 SDK and Carbon for all 32-bit OS/X,
Chris@587 8 # and 10.6 with Cocoa for all 64-bit. (Since EasyHg 1.2,
Chris@587 9 # we can sadly no longer build for 10.4 because we need
Chris@587 10 # the FSEvents API)
Chris@315 11 macx-g++40 {
Chris@315 12 # Note, to use the 10.4 SDK on 10.6+ you need qmake -spec macx-g++40
Chris@584 13 QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.5.sdk
Chris@584 14 QMAKE_CFLAGS += -mmacosx-version-min=10.5
Chris@584 15 QMAKE_CXXFLAGS += -mmacosx-version-min=10.5
Chris@315 16 CONFIG += x86 ppc
Chris@315 17 }
Chris@315 18 macx-g++ {
Chris@315 19 QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.6.sdk
Chris@335 20 CONFIG += x86_64
Chris@315 21 }
Chris@315 22
Chris@172 23 unix {
Chris@172 24 DESTDIR = .
Chris@172 25 }
Chris@172 26
Chris@172 27 TRANSLATIONS = easyhg_en.ts
Chris@172 28
Chris@172 29 OBJECTS_DIR = o
Chris@172 30 MOC_DIR = o
Chris@172 31
Chris@370 32 HEADERS = \
Chris@370 33 src/mainwindow.h \
Chris@370 34 src/hgtabwidget.h \
Chris@370 35 src/common.h \
Chris@370 36 src/grapher.h \
Chris@370 37 src/hgrunner.h \
Chris@370 38 src/changeset.h \
Chris@370 39 src/changesetitem.h \
Chris@370 40 src/changesetdetailitem.h \
Chris@370 41 src/logparser.h \
Chris@370 42 src/panner.h \
Chris@370 43 src/panned.h \
Chris@370 44 src/connectionitem.h \
Chris@370 45 src/textabbrev.h \
Chris@370 46 src/colourset.h \
Chris@370 47 src/debug.h \
Chris@370 48 src/recentfiles.h \
Chris@370 49 src/startupdialog.h \
Chris@370 50 src/repositorydialog.h \
Chris@370 51 src/multichoicedialog.h \
Chris@370 52 src/selectablelabel.h \
Chris@370 53 src/filestates.h \
Chris@370 54 src/filestatuswidget.h \
Chris@370 55 src/confirmcommentdialog.h \
Chris@370 56 src/hgaction.h \
Chris@370 57 src/historywidget.h \
Chris@370 58 src/changesetscene.h \
Chris@397 59 src/changesetview.h \
Chris@370 60 src/incomingdialog.h \
Chris@370 61 src/uncommitteditem.h \
Chris@370 62 src/settingsdialog.h \
Chris@370 63 src/clickablelabel.h \
Chris@370 64 src/workstatuswidget.h \
Chris@370 65 src/moreinformationdialog.h \
Chris@414 66 src/annotatedialog.h \
Chris@491 67 src/hgignoredialog.h \
Chris@523 68 src/versiontester.h \
Chris@538 69 src/squeezedlabel.h \
Chris@554 70 src/fswatcher.h \
Chris@554 71 src/findwidget.h
Chris@370 72 SOURCES = \
Chris@370 73 src/main.cpp \
Chris@370 74 src/mainwindow.cpp \
Chris@370 75 src/hgtabwidget.cpp \
Chris@370 76 src/hgrunner.cpp \
Chris@370 77 src/grapher.cpp \
Chris@370 78 src/common.cpp \
Chris@370 79 src/changeset.cpp \
Chris@370 80 src/changesetdetailitem.cpp \
Chris@370 81 src/changesetitem.cpp \
Chris@370 82 src/logparser.cpp \
Chris@370 83 src/panner.cpp \
Chris@370 84 src/panned.cpp \
Chris@370 85 src/connectionitem.cpp \
Chris@370 86 src/textabbrev.cpp \
Chris@370 87 src/colourset.cpp \
Chris@370 88 src/debug.cpp \
Chris@370 89 src/recentfiles.cpp \
Chris@370 90 src/startupdialog.cpp \
Chris@370 91 src/repositorydialog.cpp \
Chris@370 92 src/multichoicedialog.cpp \
Chris@370 93 src/selectablelabel.cpp \
Chris@370 94 src/filestates.cpp \
Chris@370 95 src/filestatuswidget.cpp \
Chris@370 96 src/confirmcommentdialog.cpp \
Chris@370 97 src/historywidget.cpp \
Chris@370 98 src/changesetscene.cpp \
Chris@397 99 src/changesetview.cpp \
Chris@370 100 src/incomingdialog.cpp \
Chris@370 101 src/uncommitteditem.cpp \
Chris@370 102 src/settingsdialog.cpp \
Chris@370 103 src/workstatuswidget.cpp \
Chris@370 104 src/moreinformationdialog.cpp \
Chris@414 105 src/annotatedialog.cpp \
Chris@491 106 src/hgignoredialog.cpp \
Chris@523 107 src/versiontester.cpp \
Chris@538 108 src/squeezedlabel.cpp \
Chris@554 109 src/fswatcher.cpp \
Chris@554 110 src/findwidget.cpp
Chris@172 111
Chris@172 112 macx-* {
Chris@370 113 SOURCES += src/common_osx.mm
Chris@585 114 LIBS += -framework CoreServices -framework Foundation
Chris@529 115 ICON = easyhg-icon.icns
Chris@172 116 }
Chris@172 117
Chris@172 118 linux* {
Chris@172 119 LIBS += -lutil
Chris@172 120 }
Chris@172 121
Chris@172 122 win* {
Chris@172 123 LIBS += -lSecur32
Chris@172 124 }
Chris@172 125
Chris@172 126 RESOURCES = easyhg.qrc
Chris@197 127 win32 {
Chris@197 128 RC_FILE = easyhg.rc
Chris@197 129 }
Chris@172 130
Chris@172 131 QT += network