-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.pro
37 lines (27 loc) · 887 Bytes
/
build.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
SUBDIRS += QIPSClient/build.pro \
QIPSServer/build.pro \
QIPSUserUtility/build.pro
TEMPLATE = subdirs
QMAKE_EXTRA_TARGETS += run_app
run_app.target = run
run_app.depends = first
QMAKE_EXTRA_TARGETS += zip_app
zip_app.target = zip
zip_app.depends = copy
QMAKE_EXTRA_TARGETS += copy_app
copy_app.target = copy
copy_app.depends = first
QMAKE_EXTRA_TARGETS += deploy_app
copy_app.target = deploy
copy_app.depends = first
macx {
deploy_app.commands = make clean; rm -rf qips-server ; make
}
win32 {
run_app.commands = Release/qips-server.exe
copy_app.commands = copy /Y Release\qips-server.exe qips-server-dist\\
zip_app.commands = zip -r qips-server-dist.zip qips-server-dist
}
unix:!macx {
run_app.commands = killall qips-server; ./qips-server
}