| 1 |
#------------------------------------------------- |
| 2 |
# |
| 3 |
# Project created by QtCreator 2013-03-22T02:19:57 |
| 4 |
# |
| 5 |
#------------------------------------------------- |
| 6 |
|
| 7 |
QT += core gui |
| 8 |
|
| 9 |
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets |
| 10 |
|
| 11 |
TARGET = sasm |
| 12 |
TEMPLATE = app |
| 13 |
|
| 14 |
isEmpty(PREFIX) { |
| 15 |
PREFIX = /usr |
| 16 |
} |
| 17 |
|
| 18 |
BINDIR = $$PREFIX/bin |
| 19 |
DATADIR = $$PREFIX/share |
| 20 |
|
| 21 |
bsd { |
| 22 |
binfile.files += sasm |
| 23 |
binfile.files += BSD/bin/* |
| 24 |
binfile.path = $$BINDIR |
| 25 |
data.files += BSD/share/sasm/* |
| 26 |
data.path = $$DATADIR/sasm/ |
| 27 |
shortcutfiles.files += BSD/share/applications/sasm.desktop |
| 28 |
shortcutfiles.path = $$DATADIR/applications/ |
| 29 |
docfiles.files += BSD/share/doc/sasm/changelog.gz |
| 30 |
docfiles.files += BSD/share/doc/sasm/copyright |
| 31 |
docfiles.path = $$DATADIR/doc/sasm/ |
| 32 |
} else { |
| 33 |
binfile.files += sasm |
| 34 |
binfile.files += Linux/bin/* |
| 35 |
binfile.path = $$BINDIR |
| 36 |
data.files += Linux/share/sasm/* |
| 37 |
data.path = $$DATADIR/sasm/ |
| 38 |
shortcutfiles.files += Linux/share/applications/sasm.desktop |
| 39 |
shortcutfiles.path = $$DATADIR/applications/ |
| 40 |
docfiles.files += Linux/share/doc/sasm/changelog.gz |
| 41 |
docfiles.files += Linux/share/doc/sasm/copyright |
| 42 |
docfiles.path = $$DATADIR/doc/sasm/ |
| 43 |
} |
| 44 |
|
| 45 |
INSTALLS += binfile |
| 46 |
INSTALLS += data |
| 47 |
INSTALLS += shortcutfiles |
| 48 |
INSTALLS += docfiles |
| 49 |
|
| 50 |
include(singleapplication/qtsingleapplication.pri) |
| 51 |
|
| 52 |
SOURCES += main.cpp\ |
| 53 |
mainwindow.cpp \ |
| 54 |
tab.cpp \ |
| 55 |
highlighter.cpp \ |
| 56 |
codeeditor.cpp \ |
| 57 |
debugger.cpp \ |
| 58 |
finddialog.cpp \ |
| 59 |
ruqtextedit.cpp \ |
| 60 |
ruqplaintextedit.cpp \ |
| 61 |
getstartedwidget.cpp \ |
| 62 |
debugtablewidget.cpp \ |
| 63 |
watchsettingswidget.cpp \ |
| 64 |
debuganycommandwidget.cpp \ |
| 65 |
assembler.cpp \ |
| 66 |
nasm.cpp \ |
| 67 |
gas.cpp \ |
| 68 |
common.cpp \ |
| 69 |
fasm.cpp \ |
| 70 |
signallocker.cpp \ |
| 71 |
masm.cpp \ |
| 72 |
gccbasedassembler.cpp |
| 73 |
|
| 74 |
HEADERS += mainwindow.h \ |
| 75 |
tab.h \ |
| 76 |
highlighter.h \ |
| 77 |
codeeditor.h \ |
| 78 |
debugger.h \ |
| 79 |
finddialog.h \ |
| 80 |
ruqtextedit.h \ |
| 81 |
ruqplaintextedit.h \ |
| 82 |
getstartedwidget.h \ |
| 83 |
debugtablewidget.h \ |
| 84 |
watchsettingswidget.h \ |
| 85 |
debuganycommandwidget.h \ |
| 86 |
assembler.h \ |
| 87 |
nasm.h \ |
| 88 |
gas.h \ |
| 89 |
common.h \ |
| 90 |
fasm.h \ |
| 91 |
signallocker.h \ |
| 92 |
masm.h \ |
| 93 |
gccbasedassembler.h |
| 94 |
|
| 95 |
FORMS += settings.ui |
| 96 |
|
| 97 |
RESOURCES += \ |
| 98 |
Languages.qrc \ |
| 99 |
Images.qrc \ |
| 100 |
Help.qrc |
| 101 |
|
| 102 |
RC_FILE = icon.rc |
| 103 |
|
| 104 |
CODECFORTR = UTF-8 |
| 105 |
TRANSLATIONS += language_ru.ts \ |
| 106 |
language_tr.ts \ |
| 107 |
language_zh.ts \ |
| 108 |
language_de.ts \ |
| 109 |
language_it.ts \ |
| 110 |
language_pl.ts \ |
| 111 |
language_he.ts \ |
| 112 |
language_es.ts \ |
| 113 |
language_pt_PT.ts \ |
| 114 |
language_fr.ts \ |
| 115 |
language_pt_BR.ts |