blob: 09cb2b906b68ad95c86d83761b379a4bbba3479f (
plain) (
blame)
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
|
#-------------------------------------------------
#
# Project created by QtCreator 2013-02-28T23:21:43
#
#-------------------------------------------------
include($$PWD/../dirs.pri)
OBJECTS_DIR = $$OBJECTS_DIR/sqlitestudiocli
MOC_DIR = $$MOC_DIR/sqlitestudiocli
UI_DIR = $$UI_DIR/sqlitestudiocli
QT += core
QT -= gui
TARGET = sqlitestudiocli
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
CONFIG += c++11
QMAKE_CXXFLAGS += -pedantic
linux|portable {
QMAKE_LFLAGS += -Wl,-rpath,./lib
}
TRANSLATIONS += translations/sqlitestudiocli_pl.ts
SOURCES += main.cpp \
cli.cpp \
commands/clicommand.cpp \
commands/clicommandfactory.cpp \
commands/clicommandadd.cpp \
commands/clicommandremove.cpp \
commands/clicommandexit.cpp \
commands/clicommanddblist.cpp \
commands/clicommanduse.cpp \
commands/clicommandopen.cpp \
commands/clicommandclose.cpp \
commands/clicommandsql.cpp \
clicommandexecutor.cpp \
cli_config.cpp \
commands/clicommandhelp.cpp \
cliutils.cpp \
commands/clicommandtables.cpp \
climsghandler.cpp \
commands/clicommandmode.cpp \
commands/clicommandnullvalue.cpp \
commands/clicommandhistory.cpp \
commands/clicommanddir.cpp \
commands/clicommandpwd.cpp \
commands/clicommandcd.cpp \
clicommandsyntax.cpp \
commands/clicommandtree.cpp \
clicompleter.cpp \
commands/clicommanddesc.cpp
LIBS += -lcoreSQLiteStudio
win32: {
INCLUDEPATH += $$PWD/../../../include
LIBS += -L$$PWD/../../../lib -ledit_static
}
unix: {
LIBS += -lreadline -ltermcap
}
HEADERS += \
cli.h \
commands/clicommand.h \
commands/clicommandfactory.h \
commands/clicommandadd.h \
commands/clicommandremove.h \
commands/clicommandexit.h \
commands/clicommanddblist.h \
commands/clicommanduse.h \
commands/clicommandopen.h \
commands/clicommandclose.h \
commands/clicommandsql.h \
cli_config.h \
clicommandexecutor.h \
commands/clicommandhelp.h \
cliutils.h \
commands/clicommandtables.h \
climsghandler.h \
commands/clicommandmode.h \
commands/clicommandnullvalue.h \
commands/clicommandhistory.h \
commands/clicommanddir.h \
commands/clicommandpwd.h \
commands/clicommandcd.h \
clicommandsyntax.h \
commands/clicommandtree.h \
clicompleter.h \
commands/clicommanddesc.h
unix: {
target.path = $$BINDIR
INSTALLS += target
}
RESOURCES += \
sqlitestudiocli.qrc
|