forked from ic005k/Xiasl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Xiasl.pro
173 lines (149 loc) · 4.25 KB
/
Xiasl.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
#This project started in August 2020
QT += core gui
QT += network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
ICON = my.icns
RC_FILE += myapp.rc
CONFIG += c++11
macx{
LIBS+= \
libqscintilla2_qt5.15.dylib
}
win32{
LIBS += \
qscintilla2_qt5.dll
#LIBS += \
# ScintillaEdit5.dll
}
unix:!macx:{
LIBS += -L$PWD libqscintilla2_qt5.so
QMAKE_RPATHDIR=$ORIGIN
QMAKE_LFLAGS += -no-pie
QMAKE_LFLAGS += "-Wl,-rpath,\'\$$ORIGIN/lib\'"
QMAKE_LFLAGS += "-Wl,-rpath,\'\$$ORIGIN\'"
QMAKE_LFLAGS += "-Wl,-rpath,\'\$$ORIGIN/platforms\'"
}
TRANSLATIONS += en.ts\
cn.ts
mac {
# Only include / compile these files on OS X
OBJECTIVE_SOURCES += \
OSXHideTitleBar.mm
HEADERS +=\
OSXHideTitleBar.h
# Additionally include Cocoa for OS X code
LIBS += -framework Foundation -framework Cocoa
INCLUDEPATH += /System/Library/Frameworks/Foundation.framework/Versions/C/Headers
}
# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES += \
MyTabBar.cpp \
MyTabPage.cpp \
MyTabPopup.cpp \
MyTabWidget.cpp \
autoupdatedialog.cpp \
dlgdecompile.cpp \
dlgpreferences.cpp \
filesystemwatcher.cpp \
main.cpp \
mainwindow.cpp \
methods.cpp \
minidialog.cpp \
myapp.cpp \
recentfiles.cpp
HEADERS += \
MyTabBar.h \
MyTabPage.h \
MyTabPopup.h \
Qsci/qsciabstractapis.h \
Qsci/qsciapis.h \
Qsci/qscicommand.h \
Qsci/qscicommandset.h \
Qsci/qscidocument.h \
Qsci/qsciglobal.h \
Qsci/qscilexer.h \
Qsci/qscilexeravs.h \
Qsci/qscilexerbash.h \
Qsci/qscilexerbatch.h \
Qsci/qscilexercmake.h \
Qsci/qscilexercoffeescript.h \
Qsci/qscilexercpp.h \
Qsci/qscilexercsharp.h \
Qsci/qscilexercss.h \
Qsci/qscilexercustom.h \
Qsci/qscilexerd.h \
Qsci/qscilexerdiff.h \
Qsci/qscilexeredifact.h \
Qsci/qscilexerfortran.h \
Qsci/qscilexerfortran77.h \
Qsci/qscilexerhtml.h \
Qsci/qscilexeridl.h \
Qsci/qscilexerjava.h \
Qsci/qscilexerjavascript.h \
Qsci/qscilexerjson.h \
Qsci/qscilexerlua.h \
Qsci/qscilexermakefile.h \
Qsci/qscilexermarkdown.h \
Qsci/qscilexermatlab.h \
Qsci/qscilexeroctave.h \
Qsci/qscilexerpascal.h \
Qsci/qscilexerperl.h \
Qsci/qscilexerpo.h \
Qsci/qscilexerpostscript.h \
Qsci/qscilexerpov.h \
Qsci/qscilexerproperties.h \
Qsci/qscilexerpython.h \
Qsci/qscilexerruby.h \
Qsci/qscilexerspice.h \
Qsci/qscilexersql.h \
Qsci/qscilexertcl.h \
Qsci/qscilexertex.h \
Qsci/qscilexerverilog.h \
Qsci/qscilexervhdl.h \
Qsci/qscilexerxml.h \
Qsci/qscilexeryaml.h \
Qsci/qscimacro.h \
Qsci/qsciprinter.h \
Qsci/qsciscintilla.h \
Qsci/qsciscintillabase.h \
Qsci/qscistyle.h \
Qsci/qscistyledtext.h \
autoupdatedialog.h \
dlgdecompile.h \
dlgpreferences.h \
filesystemwatcher.h \
mainwindow.h \
methods.h \
minidialog.h \
myapp.h \
mytabwidget.h \
recentfiles.h
FORMS += \
autoupdatedialog.ui \
dlgdecompile.ui \
dlgpreferences.ui \
mainwindow.ui \
minidialog.ui
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
DISTFILES += \
Info.plist \
icon/4.png \
myapp.rc
RESOURCES += \
my.qrc
CONFIG(debug,debug|release) {
DESTDIR = $$absolute_path($${_PRO_FILE_PWD_}/bin/debug)
} else {
DESTDIR = $$absolute_path($${_PRO_FILE_PWD_}/bin/release)
}