-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathConcise.pro
69 lines (49 loc) · 1.55 KB
/
Concise.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
QT += core network sql
QT -= gui
DEFINES *= QT_USE_QSTRINGBUILDER
INCLUDEPATH += $$_PRO_FILE_PWD_
include(../QtWebApp/httpserver/httpserver.pri)
include(../QtWebApp/templateengine/templateengine.pri)
include(templates/preprocess.pri)
QMAKE_CXXFLAGS += -lsodium
QMAKE_LFLAGS += -lsodium
TARGET = Concise
CONFIG += console
CONFIG -= app_bundle
CONFIG(release, debug|release) {
#release build
DEFINES += QT_NO_DEBUG_OUTPUT
} else {
#debug build
}
TEMPLATE = app
SOURCES += src/main.cpp \
src/concisedb.cpp \
src/requestmapper.cpp \
src/logincontroller.cpp \
src/studenttemplates.cpp \
src/stafftemplates.cpp
OTHER_FILES += etc/Concise.ini \
etc/init.sql \
docroot/files/css/splash.css \
docroot/files/css/stylesheet.css \
docroot/files/index.html \
HEADERS += \
src/qstdout.h \
src/concisedb.h \
src/logincontroller.h \
src/studenttemplates.h \
src/stafftemplates.h \
src/requestmapper.h
#copydata.commands += $(MKDIR) $$top_builddir/docroot/staff && $(MKDIR) $$top_builddir/docroot/student
copydata.commands += $(COPY_DIR) $$top_srcdir/docroot $$top_builddir
#copydata.commands += && $(COPY_DIR) $$top_srcdir/docroot/staff $$top_builddir/docroot/staff
#copydata.commands += && $(COPY_DIR) $$top_srcdir/docroot/student $$top_builddir/docroot/student
first.depends = $(first) copydata
export(first.depends)
export(copydata.commands)
QMAKE_EXTRA_TARGETS += first copydata
DISTFILES += \
etc/eff_short_wordlist_1.txt \
docroot/files/js/passgen.js \
docroot/files/js/seedrandom.min.js