-
Notifications
You must be signed in to change notification settings - Fork 3
/
kscope-ng.pro
69 lines (52 loc) · 1.41 KB
/
kscope-ng.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
#-------------------------------------------------
#
# Project created by QtCreator 2018-01-09T18:48:49
#
#-------------------------------------------------
# Add INSTALLS directives for qscintilla
#system(\
# cd ./cscope && \
# ./configure && \
# make -j4 && \
# mv ./src/cscope ./cscope && \
# make distclean \
# )
include(./editor/qscintilla.pri)
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4) {
QT += widgets printsupport
CONFIG += c++11
} else {
QMAKE_CXXFLAGS += -std=c++11
CONFIG -= android_install
}
# MacOS Hack
unix:macx {
QT += macextras
}
CONFIG += x86 x86_64 qt warn_off thread exceptions
TARGET = kscope-ng
TEMPLATE = app
SOURCES += ./core/main.cpp \
./core/kscope.cpp \
./core/findreplace.cpp \
./core/cscope.cpp \
# ./view/view.cpp \
./view/findreplace2.cpp
HEADERS += ./include/kscope.h \
./include/findreplace.h \
./include/cscope.h \
# ./include/view.h \
./view/findreplace2.h
INCLUDEPATH += \
./include \
./view \
./editor/qscintilla \
./editor/include \
./editor/lexlib \
./editor/src
DEFINES += SCINTILLA_QT SCI_LEXER
FORMS += ./view/mainwindow.ui \
./view/findreplace.ui \
./view/cscope.ui
RESOURCES += ./res/resources.qrc