Chris@172
|
1
|
Chris@517
|
2 CONFIG += debug
|
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@370
|
30 HEADERS = \
|
Chris@370
|
31 src/mainwindow.h \
|
Chris@370
|
32 src/hgtabwidget.h \
|
Chris@370
|
33 src/common.h \
|
Chris@370
|
34 src/grapher.h \
|
Chris@370
|
35 src/hgrunner.h \
|
Chris@370
|
36 src/changeset.h \
|
Chris@370
|
37 src/changesetitem.h \
|
Chris@370
|
38 src/changesetdetailitem.h \
|
Chris@370
|
39 src/logparser.h \
|
Chris@370
|
40 src/panner.h \
|
Chris@370
|
41 src/panned.h \
|
Chris@370
|
42 src/connectionitem.h \
|
Chris@370
|
43 src/textabbrev.h \
|
Chris@370
|
44 src/colourset.h \
|
Chris@370
|
45 src/debug.h \
|
Chris@370
|
46 src/recentfiles.h \
|
Chris@370
|
47 src/startupdialog.h \
|
Chris@370
|
48 src/repositorydialog.h \
|
Chris@370
|
49 src/multichoicedialog.h \
|
Chris@370
|
50 src/selectablelabel.h \
|
Chris@370
|
51 src/filestates.h \
|
Chris@370
|
52 src/filestatuswidget.h \
|
Chris@370
|
53 src/confirmcommentdialog.h \
|
Chris@370
|
54 src/hgaction.h \
|
Chris@370
|
55 src/historywidget.h \
|
Chris@370
|
56 src/changesetscene.h \
|
Chris@397
|
57 src/changesetview.h \
|
Chris@370
|
58 src/incomingdialog.h \
|
Chris@370
|
59 src/uncommitteditem.h \
|
Chris@370
|
60 src/settingsdialog.h \
|
Chris@370
|
61 src/clickablelabel.h \
|
Chris@370
|
62 src/workstatuswidget.h \
|
Chris@370
|
63 src/moreinformationdialog.h \
|
Chris@414
|
64 src/annotatedialog.h \
|
Chris@491
|
65 src/hgignoredialog.h \
|
Chris@523
|
66 src/versiontester.h \
|
Chris@538
|
67 src/squeezedlabel.h \
|
Chris@538
|
68 src/fswatcher.h
|
Chris@370
|
69 SOURCES = \
|
Chris@370
|
70 src/main.cpp \
|
Chris@370
|
71 src/mainwindow.cpp \
|
Chris@370
|
72 src/hgtabwidget.cpp \
|
Chris@370
|
73 src/hgrunner.cpp \
|
Chris@370
|
74 src/grapher.cpp \
|
Chris@370
|
75 src/common.cpp \
|
Chris@370
|
76 src/changeset.cpp \
|
Chris@370
|
77 src/changesetdetailitem.cpp \
|
Chris@370
|
78 src/changesetitem.cpp \
|
Chris@370
|
79 src/logparser.cpp \
|
Chris@370
|
80 src/panner.cpp \
|
Chris@370
|
81 src/panned.cpp \
|
Chris@370
|
82 src/connectionitem.cpp \
|
Chris@370
|
83 src/textabbrev.cpp \
|
Chris@370
|
84 src/colourset.cpp \
|
Chris@370
|
85 src/debug.cpp \
|
Chris@370
|
86 src/recentfiles.cpp \
|
Chris@370
|
87 src/startupdialog.cpp \
|
Chris@370
|
88 src/repositorydialog.cpp \
|
Chris@370
|
89 src/multichoicedialog.cpp \
|
Chris@370
|
90 src/selectablelabel.cpp \
|
Chris@370
|
91 src/filestates.cpp \
|
Chris@370
|
92 src/filestatuswidget.cpp \
|
Chris@370
|
93 src/confirmcommentdialog.cpp \
|
Chris@370
|
94 src/historywidget.cpp \
|
Chris@370
|
95 src/changesetscene.cpp \
|
Chris@397
|
96 src/changesetview.cpp \
|
Chris@370
|
97 src/incomingdialog.cpp \
|
Chris@370
|
98 src/uncommitteditem.cpp \
|
Chris@370
|
99 src/settingsdialog.cpp \
|
Chris@370
|
100 src/workstatuswidget.cpp \
|
Chris@370
|
101 src/moreinformationdialog.cpp \
|
Chris@414
|
102 src/annotatedialog.cpp \
|
Chris@491
|
103 src/hgignoredialog.cpp \
|
Chris@523
|
104 src/versiontester.cpp \
|
Chris@538
|
105 src/squeezedlabel.cpp \
|
Chris@538
|
106 src/fswatcher.cpp
|
Chris@172
|
107
|
Chris@172
|
108 macx-* {
|
Chris@370
|
109 SOURCES += src/common_osx.mm
|
Chris@172
|
110 LIBS += -framework Foundation
|
Chris@529
|
111 ICON = easyhg-icon.icns
|
Chris@172
|
112 }
|
Chris@172
|
113
|
Chris@172
|
114 linux* {
|
Chris@172
|
115 LIBS += -lutil
|
Chris@172
|
116 }
|
Chris@172
|
117
|
Chris@172
|
118 win* {
|
Chris@172
|
119 LIBS += -lSecur32
|
Chris@172
|
120 }
|
Chris@172
|
121
|
Chris@172
|
122 RESOURCES = easyhg.qrc
|
Chris@197
|
123 win32 {
|
Chris@197
|
124 RC_FILE = easyhg.rc
|
Chris@197
|
125 }
|
Chris@172
|
126
|
Chris@172
|
127 QT += network
|