-
-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathscidavis.pro
57 lines (48 loc) · 1.86 KB
/
scidavis.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
#################################################
# SciDAVis main project file
# run "qmake scidavis.pro" to generate the Makefile
# In most cases you don't have to make changes to
# this file but to the "config.pri" file
#################################################
# enable C++11 support
equals(QT_MAJOR_VERSION, 5) { CONFIG += c++11 }
equals(QT_MAJOR_VERSION, 4) { QMAKE_CXXFLAGS += -std=c++11 }
equals(QT_MAJOR_VERSION, 3) { QMAKE_CXXFLAGS += -std=c++0x }
TEMPLATE = subdirs
# configurations that automatically turn on liborigin - mainly the
# binary releases, as well as the AEGIS build
mxe|osx_dist {CONFIG += liborigin}
aegis|gcov {CONFIG += liborigin test python}
# liborigin must come first, if it exists
liborigin {
packagesExist(liborigin) {
message(liborigin: using system library)
CONFIG += link_pkgconfig
PKGCONFIG += liborigin
} else {
message(liborigin: using own code)
SUBDIRS = 3rdparty/liborigin
}
}
SUBDIRS += libscidavis scidavis
test {SUBDIRS += test}
CONFIG+=ordered
!mxe {
# optional fit plugins
# mxe is a static build, so these are included elsewhere
SUBDIRS += fitPlugins/fitRational0\
fitPlugins/fitRational1\
fitPlugins/explin\
fitPlugins/exp_saturation\
fitPlugins/planck_wavelength\
}
TRANSLATIONS = scidavis/translations/scidavis_de.ts \
scidavis/translations/scidavis_es.ts \
scidavis/translations/scidavis_fr.ts \
scidavis/translations/scidavis_ru.ts \
scidavis/translations/scidavis_ja.ts \
scidavis/translations/scidavis_sv.ts \
scidavis/translations/scidavis_pt-br.ts \
scidavis/translations/scidavis_cs.ts \
scidavis/translations/scidavis_cs-alt.ts \
scidavis/translations/scidavis_pl.ts \