aboutsummaryrefslogtreecommitdiffstats
path: root/SQLiteStudio3/sqlitestudiocli/sqlitestudiocli.pro
blob: 9e402d5cc59c3ece5ad6f05cb3fdd3b40a5c0649 (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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
#-------------------------------------------------
#
# Project created by QtCreator 2013-02-28T23:21:43
#
#-------------------------------------------------

QT       += core
QT       -= gui

include($$PWD/../dirs.pri)

OBJECTS_DIR = $$OBJECTS_DIR/sqlitestudiocli
MOC_DIR = $$MOC_DIR/sqlitestudiocli
UI_DIR = $$UI_DIR/sqlitestudiocli

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_de.ts \
		translations/sqlitestudiocli_it.ts \
		translations/sqlitestudiocli_zh_CN.ts \
		translations/sqlitestudiocli_sk.ts \
		translations/sqlitestudiocli_ru.ts \
		translations/sqlitestudiocli_pt_BR.ts \
		translations/sqlitestudiocli_fr.ts \
		translations/sqlitestudiocli_es.ts \
		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 -lcurses
}

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