-
Notifications
You must be signed in to change notification settings - Fork 3
/
tigon-console.pro
44 lines (37 loc) · 1.18 KB
/
tigon-console.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
# This project file generates a command line application for Tigon without Qt.
# It is intended to run Tigon from a command line interface, and work only on unix for the moment.
# Please use liger.pro for compiling the whole Liger project.
include(liger.pri)
TEMPLATE = subdirs
CONFIG += silent
CONFIG -= qt
CONFIG += ordered
SUBDIRS = src/libs/botan \
src/libs/eigen \
src/libs/fann \
src/libs/json \
src/libs/tinyxml2 \
src/libs/tigon
# Include matlab plugin
include(matlabcheck.pri)
contains(DEFINES, MATLAB_API) {
message("Include MATLAB plugin")
SUBDIRS += src/libs/matlabplugin
} else {
message("Does NOT include MATLAB plugin")
}
for(l, SUBDIRS) {
QTC_LIB_DEPENDS =
include($$l/$$basename(l)_dependencies.pri)
lv = $${l}.depends
$$lv = $$QTC_LIB_DEPENDS
}
unix: SUBDIRS += console
TMP = $$(BOOST_LIB)
linux-* {
deploy.commands = $$PWD/dev/LinuxBuild/linux_create_build_tigon-console.sh $${OUT_PWD} $${OUT_PWD} $${PWD} $$TMP
contains(DEFINES, MATLAB_API) {
deploy.commands = $$PWD/dev/LinuxBuild/linux_create_build_tigon-console.sh $${OUT_PWD} $${OUT_PWD} $${PWD} $$TMP $${MATLAB_ROOT_PATH}
}
QMAKE_EXTRA_TARGETS += deploy
}