-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSkil2.pro
76 lines (62 loc) · 1.61 KB
/
Skil2.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
#-------------------------------------------------
#
# Project created by QtCreator 2014-11-27T10:37:46
#
#-------------------------------------------------
QT += core sql
QT -= gui
TARGET = Skil1
CONFIG += console
CONFIG -= app_bundle
CONFIG += c++11
TEMPLATE = app
#QMAKE_CXXFLAGS += -std=c++11
SOURCES += main.cpp \
ui/consoleui.cpp \
services/scientistservice.cpp \
models/scientist.cpp \
repositories/scientistrepository.cpp \
date.cpp \
sqlconnection.cpp \
models/computer.cpp \
services/computerservice.cpp \
repositories/computerrepository.cpp \
ui/scientistui.cpp \
utils.cpp \
ui/computerui.cpp
HEADERS += \
ui/consoleui.h \
services/scientistservice.h \
models/scientist.h \
repositories/scientistrepository.h \
date.h \
utils.h \
sqlconnection.h \
models/computer.h \
services/computerservice.h \
repositories/computerrepository.h \
sort.h \
ui/scientistui.h \
ui/computerui.h
OTHER_FILES += data/tables.sql
#copydata.commands = $(COPY_DIR) $$PWD/data $$OUT_PWD
#first.depends = $(first) copydata
#export(first.depends)
#export(copydata.commands)
#QMAKE_EXTRA_TARGETS += first copydata
win32 {
PWD_WIN = $${PWD}
DESTDIR_WIN = $${OUT_PWD}
PWD_WIN ~= s,/,\\,g
DESTDIR_WIN ~= s,/,\\,g
copyfiles.commands = $$quote(cmd /c xcopy /S /Q /Y /I $${PWD_WIN}\\data $${DESTDIR_WIN})
}
macx {
copyfiles.commands = cp -rf $$PWD/data/* $$OUT_PWD
}
linux {
copyfiles.commands = cp -rf $$PWD/data/* $$OUT_PWD
}
QMAKE_EXTRA_TARGETS += copyfiles
POST_TARGETDEPS += copyfiles
#CONFIG+=static