Chris@172
|
1
|
Chris@613
|
2 CONFIG += release
|
Chris@215
|
3
|
Chris@172
|
4 TEMPLATE = app
|
Chris@211
|
5 TARGET = EasyMercurial
|
Chris@211
|
6
|
Chris@664
|
7 QT += widgets
|
Chris@646
|
8
|
Chris@615
|
9 macx-llvm {
|
Chris@615
|
10 CONFIG += x86_64
|
Chris@615
|
11 QMAKE_CFLAGS += -mmacosx-version-min=10.6
|
Chris@615
|
12 QMAKE_CXXFLAGS += -mmacosx-version-min=10.6
|
Chris@615
|
13 }
|
Chris@315
|
14
|
Chris@172
|
15 unix {
|
Chris@172
|
16 DESTDIR = .
|
Chris@172
|
17 }
|
Chris@172
|
18
|
Chris@172
|
19 TRANSLATIONS = easyhg_en.ts
|
Chris@172
|
20
|
Chris@172
|
21 OBJECTS_DIR = o
|
Chris@172
|
22 MOC_DIR = o
|
Chris@172
|
23
|
Chris@370
|
24 HEADERS = \
|
Chris@370
|
25 src/mainwindow.h \
|
Chris@370
|
26 src/hgtabwidget.h \
|
Chris@370
|
27 src/common.h \
|
Chris@370
|
28 src/grapher.h \
|
Chris@370
|
29 src/hgrunner.h \
|
Chris@370
|
30 src/changeset.h \
|
Chris@370
|
31 src/changesetitem.h \
|
Chris@370
|
32 src/changesetdetailitem.h \
|
Chris@370
|
33 src/logparser.h \
|
Chris@370
|
34 src/panner.h \
|
Chris@370
|
35 src/panned.h \
|
Chris@370
|
36 src/connectionitem.h \
|
Chris@370
|
37 src/textabbrev.h \
|
Chris@370
|
38 src/colourset.h \
|
Chris@370
|
39 src/debug.h \
|
Chris@370
|
40 src/recentfiles.h \
|
Chris@370
|
41 src/startupdialog.h \
|
Chris@370
|
42 src/repositorydialog.h \
|
Chris@370
|
43 src/multichoicedialog.h \
|
Chris@370
|
44 src/selectablelabel.h \
|
Chris@370
|
45 src/filestates.h \
|
Chris@370
|
46 src/filestatuswidget.h \
|
Chris@370
|
47 src/confirmcommentdialog.h \
|
Chris@370
|
48 src/hgaction.h \
|
Chris@370
|
49 src/historywidget.h \
|
Chris@370
|
50 src/changesetscene.h \
|
Chris@397
|
51 src/changesetview.h \
|
Chris@370
|
52 src/incomingdialog.h \
|
Chris@370
|
53 src/uncommitteditem.h \
|
Chris@370
|
54 src/settingsdialog.h \
|
Chris@370
|
55 src/clickablelabel.h \
|
Chris@370
|
56 src/workstatuswidget.h \
|
Chris@370
|
57 src/moreinformationdialog.h \
|
Chris@414
|
58 src/annotatedialog.h \
|
Chris@491
|
59 src/hgignoredialog.h \
|
Chris@523
|
60 src/versiontester.h \
|
Chris@538
|
61 src/squeezedlabel.h \
|
Chris@554
|
62 src/fswatcher.h \
|
Chris@554
|
63 src/findwidget.h
|
Chris@370
|
64 SOURCES = \
|
Chris@370
|
65 src/main.cpp \
|
Chris@370
|
66 src/mainwindow.cpp \
|
Chris@370
|
67 src/hgtabwidget.cpp \
|
Chris@370
|
68 src/hgrunner.cpp \
|
Chris@370
|
69 src/grapher.cpp \
|
Chris@370
|
70 src/common.cpp \
|
Chris@370
|
71 src/changeset.cpp \
|
Chris@370
|
72 src/changesetdetailitem.cpp \
|
Chris@370
|
73 src/changesetitem.cpp \
|
Chris@370
|
74 src/logparser.cpp \
|
Chris@370
|
75 src/panner.cpp \
|
Chris@370
|
76 src/panned.cpp \
|
Chris@370
|
77 src/connectionitem.cpp \
|
Chris@370
|
78 src/textabbrev.cpp \
|
Chris@370
|
79 src/colourset.cpp \
|
Chris@370
|
80 src/debug.cpp \
|
Chris@370
|
81 src/recentfiles.cpp \
|
Chris@370
|
82 src/startupdialog.cpp \
|
Chris@370
|
83 src/repositorydialog.cpp \
|
Chris@370
|
84 src/multichoicedialog.cpp \
|
Chris@370
|
85 src/selectablelabel.cpp \
|
Chris@370
|
86 src/filestates.cpp \
|
Chris@370
|
87 src/filestatuswidget.cpp \
|
Chris@370
|
88 src/confirmcommentdialog.cpp \
|
Chris@370
|
89 src/historywidget.cpp \
|
Chris@370
|
90 src/changesetscene.cpp \
|
Chris@397
|
91 src/changesetview.cpp \
|
Chris@370
|
92 src/incomingdialog.cpp \
|
Chris@370
|
93 src/uncommitteditem.cpp \
|
Chris@370
|
94 src/settingsdialog.cpp \
|
Chris@370
|
95 src/workstatuswidget.cpp \
|
Chris@370
|
96 src/moreinformationdialog.cpp \
|
Chris@414
|
97 src/annotatedialog.cpp \
|
Chris@491
|
98 src/hgignoredialog.cpp \
|
Chris@523
|
99 src/versiontester.cpp \
|
Chris@538
|
100 src/squeezedlabel.cpp \
|
Chris@554
|
101 src/fswatcher.cpp \
|
Chris@554
|
102 src/findwidget.cpp
|
Chris@172
|
103
|
Chris@615
|
104
|
Chris@172
|
105 macx-* {
|
Chris@615
|
106 OBJECTIVE_SOURCES += src/common_osx.mm
|
Chris@585
|
107 LIBS += -framework CoreServices -framework Foundation
|
Chris@529
|
108 ICON = easyhg-icon.icns
|
Chris@172
|
109 }
|
Chris@172
|
110
|
Chris@172
|
111 linux* {
|
Chris@172
|
112 LIBS += -lutil
|
Chris@601
|
113 binaries.path = /usr/local/bin
|
Chris@601
|
114 binaries.files = EasyMercurial easyhg-extdiff.sh easyhg-merge.sh
|
Chris@601
|
115 scripts.path = /usr/local/bin
|
Chris@601
|
116 scripts.files = easyhg-extdiff.sh easyhg-merge.sh
|
Chris@601
|
117 desktop.path = /usr/local/share/applications
|
Chris@601
|
118 desktop.files = deploy/linux/EasyMercurial.desktop
|
Chris@601
|
119 icon128.path = /usr/local/share/icons/hicolor/128x128/apps
|
Chris@601
|
120 icon128.files = images/icon/128/easyhg-icon.png
|
Chris@601
|
121 icon64.path = /usr/local/share/icons/hicolor/64x64/apps
|
Chris@601
|
122 icon64.files = images/icon/64/easyhg-icon.png
|
Chris@601
|
123 icon48.path = /usr/local/share/icons/hicolor/48x48/apps
|
Chris@601
|
124 icon48.files = images/icon/48/easyhg-icon.png
|
Chris@601
|
125 icon32.path = /usr/local/share/icons/hicolor/32x32/apps
|
Chris@601
|
126 icon32.files = images/icon/32/easyhg-icon.png
|
Chris@601
|
127 icon24.path = /usr/local/share/icons/hicolor/24x24/apps
|
Chris@601
|
128 icon24.files = images/icon/24/easyhg-icon.png
|
Chris@601
|
129 iconsc.path = /usr/local/share/icons/hicolor/scalable/apps
|
Chris@601
|
130 iconsc.files = images/icon/scalable/easyhg-icon.svg
|
Chris@601
|
131 INSTALLS += binaries desktop icon128 icon64 icon48 icon32 icon24 iconsc
|
Chris@172
|
132 }
|
Chris@172
|
133
|
Chris@172
|
134 win* {
|
sam@623
|
135 LIBS += -lSecur32 -lAdvapi32
|
Chris@172
|
136 }
|
Chris@172
|
137
|
Chris@172
|
138 RESOURCES = easyhg.qrc
|
Chris@197
|
139 win32 {
|
Chris@197
|
140 RC_FILE = easyhg.rc
|
Chris@197
|
141 }
|
Chris@172
|
142
|
Chris@172
|
143 QT += network
|