Chris@172: Chris@613: CONFIG += release Chris@215: Chris@172: TEMPLATE = app Chris@211: TARGET = EasyMercurial Chris@211: Chris@664: QT += widgets Chris@646: Chris@615: macx-llvm { Chris@615: CONFIG += x86_64 Chris@615: QMAKE_CFLAGS += -mmacosx-version-min=10.6 Chris@615: QMAKE_CXXFLAGS += -mmacosx-version-min=10.6 Chris@615: } Chris@315: Chris@172: unix { Chris@172: DESTDIR = . Chris@172: } Chris@172: Chris@172: TRANSLATIONS = easyhg_en.ts Chris@172: Chris@172: OBJECTS_DIR = o Chris@172: MOC_DIR = o Chris@172: Chris@370: HEADERS = \ Chris@370: src/mainwindow.h \ Chris@370: src/hgtabwidget.h \ Chris@370: src/common.h \ Chris@370: src/grapher.h \ Chris@370: src/hgrunner.h \ Chris@370: src/changeset.h \ Chris@370: src/changesetitem.h \ Chris@370: src/changesetdetailitem.h \ Chris@370: src/logparser.h \ Chris@370: src/panner.h \ Chris@370: src/panned.h \ Chris@370: src/connectionitem.h \ Chris@370: src/textabbrev.h \ Chris@370: src/colourset.h \ Chris@370: src/debug.h \ Chris@370: src/recentfiles.h \ Chris@370: src/startupdialog.h \ Chris@370: src/repositorydialog.h \ Chris@370: src/multichoicedialog.h \ Chris@370: src/selectablelabel.h \ Chris@370: src/filestates.h \ Chris@370: src/filestatuswidget.h \ Chris@370: src/confirmcommentdialog.h \ Chris@370: src/hgaction.h \ Chris@370: src/historywidget.h \ Chris@370: src/changesetscene.h \ Chris@397: src/changesetview.h \ Chris@370: src/incomingdialog.h \ Chris@370: src/uncommitteditem.h \ Chris@370: src/settingsdialog.h \ Chris@370: src/clickablelabel.h \ Chris@370: src/workstatuswidget.h \ Chris@370: src/moreinformationdialog.h \ Chris@414: src/annotatedialog.h \ Chris@491: src/hgignoredialog.h \ Chris@523: src/versiontester.h \ Chris@538: src/squeezedlabel.h \ Chris@554: src/fswatcher.h \ Chris@554: src/findwidget.h Chris@370: SOURCES = \ Chris@370: src/main.cpp \ Chris@370: src/mainwindow.cpp \ Chris@370: src/hgtabwidget.cpp \ Chris@370: src/hgrunner.cpp \ Chris@370: src/grapher.cpp \ Chris@370: src/common.cpp \ Chris@370: src/changeset.cpp \ Chris@370: src/changesetdetailitem.cpp \ Chris@370: src/changesetitem.cpp \ Chris@370: src/logparser.cpp \ Chris@370: src/panner.cpp \ Chris@370: src/panned.cpp \ Chris@370: src/connectionitem.cpp \ Chris@370: src/textabbrev.cpp \ Chris@370: src/colourset.cpp \ Chris@370: src/debug.cpp \ Chris@370: src/recentfiles.cpp \ Chris@370: src/startupdialog.cpp \ Chris@370: src/repositorydialog.cpp \ Chris@370: src/multichoicedialog.cpp \ Chris@370: src/selectablelabel.cpp \ Chris@370: src/filestates.cpp \ Chris@370: src/filestatuswidget.cpp \ Chris@370: src/confirmcommentdialog.cpp \ Chris@370: src/historywidget.cpp \ Chris@370: src/changesetscene.cpp \ Chris@397: src/changesetview.cpp \ Chris@370: src/incomingdialog.cpp \ Chris@370: src/uncommitteditem.cpp \ Chris@370: src/settingsdialog.cpp \ Chris@370: src/workstatuswidget.cpp \ Chris@370: src/moreinformationdialog.cpp \ Chris@414: src/annotatedialog.cpp \ Chris@491: src/hgignoredialog.cpp \ Chris@523: src/versiontester.cpp \ Chris@538: src/squeezedlabel.cpp \ Chris@554: src/fswatcher.cpp \ Chris@554: src/findwidget.cpp Chris@172: Chris@615: Chris@172: macx-* { Chris@615: OBJECTIVE_SOURCES += src/common_osx.mm Chris@585: LIBS += -framework CoreServices -framework Foundation Chris@529: ICON = easyhg-icon.icns Chris@172: } Chris@172: Chris@172: linux* { Chris@172: LIBS += -lutil Chris@601: binaries.path = /usr/local/bin Chris@601: binaries.files = EasyMercurial easyhg-extdiff.sh easyhg-merge.sh Chris@601: scripts.path = /usr/local/bin Chris@601: scripts.files = easyhg-extdiff.sh easyhg-merge.sh Chris@601: desktop.path = /usr/local/share/applications Chris@601: desktop.files = deploy/linux/EasyMercurial.desktop Chris@601: icon128.path = /usr/local/share/icons/hicolor/128x128/apps Chris@601: icon128.files = images/icon/128/easyhg-icon.png Chris@601: icon64.path = /usr/local/share/icons/hicolor/64x64/apps Chris@601: icon64.files = images/icon/64/easyhg-icon.png Chris@601: icon48.path = /usr/local/share/icons/hicolor/48x48/apps Chris@601: icon48.files = images/icon/48/easyhg-icon.png Chris@601: icon32.path = /usr/local/share/icons/hicolor/32x32/apps Chris@601: icon32.files = images/icon/32/easyhg-icon.png Chris@601: icon24.path = /usr/local/share/icons/hicolor/24x24/apps Chris@601: icon24.files = images/icon/24/easyhg-icon.png Chris@601: iconsc.path = /usr/local/share/icons/hicolor/scalable/apps Chris@601: iconsc.files = images/icon/scalable/easyhg-icon.svg Chris@601: INSTALLS += binaries desktop icon128 icon64 icon48 icon32 icon24 iconsc Chris@172: } Chris@172: Chris@172: win* { sam@623: LIBS += -lSecur32 -lAdvapi32 Chris@172: } Chris@172: Chris@172: RESOURCES = easyhg.qrc Chris@197: win32 { Chris@197: RC_FILE = easyhg.rc Chris@197: } Chris@172: Chris@172: QT += network