-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsrc.pro
225 lines (220 loc) · 5.41 KB
/
src.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
# -------------------------------------------
# Subdir relative project main directory: ./src
# Target is an application: ../bin/architecture/release|debug/glnemo2
# include global configuration
include(../config.arch)
DEFINES += GLEW_STATIC
FORMS += formobjectcontrol.ui \
formabout.ui \
formscreenshot.ui \
formselectpart.ui \
formoptions.ui \
formconnect.ui \
formhelp.ui
HEADERS += mainwindow.h \
glwindow.h \
globject.h \
glgridobject.h \
globaloptions.h \
snapshotinterface.h \
pluginsmanage.h \
particlesobject.h \
particlesselectrange.h \
particlesdata.h \
globjectparticles.h \
loadingthread.h \
formobjectcontrol.h \
formabout.h \
gltexture.h \
componentrange.h \
userselection.h \
glselection.h \
frustumculling.h \
tools3d.h \
vec3d.h \
gltextobject.h \
globjectosd.h \
formscreenshot.h \
formselectpart.h \
formoptions.h \
orbits.h \
gloctree.h \
densityhisto.h \
colormap.h \
densitycolorbar.h \
camera.h \
catmull_rom_spline.h \
formconnect.h \
glcubeobject.h \
formhelp.h \
cshader.h \
glcolorbar.h \
glaxesobject.h \
version.h \
glcpoints.h
SOURCES += glnemo.cc \
mainwindow.cc \
glwindow.cc \
globject.cc \
glgridobject.cc \
globaloptions.cc \
pluginsmanage.cc \
particlesobject.cc \
particlesselectrange.cc \
particlesdata.cc \
globjectparticles.cc \
loadingthread.cc \
formobjectcontrol.cc \
formabout.cc \
gltexture.cc \
componentrange.cc \
userselection.cc \
glselection.cc \
frustumculling.cc \
tools3d.cc \
vec3d.cc \
gltextobject.cc \
globjectosd.cc \
formscreenshot.cc \
formselectpart.cc \
formoptions.cc \
orbits.cc \
glew/glew.c \
gloctree.cc \
densityhisto.cc \
colormap.cc \
densitycolorbar.cc \
camera.cc \
catmull_rom_spline.cc \
snapshotinterface.cc \
formconnect.cc \
glcubeobject.cc \
formhelp.cc \
cshader.cc \
glcolorbar.cc \
glaxesobject.cc \
glcpoints.cc
RESOURCES = glnemo.qrc
CONFIG += $$GLOBAL \
warn_on \
opengl \
thread
CONFIG(debug, debug|release) {
TARGET = ../bin/$$ARCH/$$COMPILEMODE/glnemo2
win32 {
DESTDIR = ../bin/$$COMPILEMODE/$$ARCH
TARGET = $$WEXE
}
unix:
}
else {
TARGET = ../bin/$$ARCH/$$COMPILEMODE/glnemo2
win32 {
DESTDIR = ../bin/$$COMPILEMODE/$$ARCH
TARGET = $$WEXE
}
}
TEMPLATE = app
QT += opengl
QT += network
QT += printsupport
#QT += widgets
MOC_DIR = .moc/$$ARCH/$$COMPILEMODE
UI_DIR = ._ui/$$ARCH/$$COMPILEMODE
OBJECTS_DIR = .obj/$$ARCH/$$COMPILEMODE
RCC_DIR = .res/$$ARCH/$$COMPILEMODE
QMAKE_LIBDIR = \
../utils/lib/$$ARCH/$$COMPILEMODE \
../3rdparty/pfntlib/lib/$$ARCH/$$COMPILEMODE \
../plugins/lib/$$ARCH/$$COMPILEMODE \
$$NEMOLIB \
../plugins/ftm/lib/$$ARCH/$$COMPILEMODE \
../plugins/ramses/lib/$$ARCH/$$COMPILEMODE \
../plugins/gadget/lib/$$ARCH/$$COMPILEMODE \
../plugins/gadgeth5/lib/$$ARCH/$$COMPILEMODE \
../plugins/zlib/lib/$$ARCH/$$COMPILEMODE \
../plugins/tipsy/lib/$$ARCH/$$COMPILEMODE \
../plugins/network/lib/$$ARCH/$$COMPILEMODE
# Icons
macx {
ICON = ../res/images/glnemo2.icns
}
# INSTALLS for Linux and Mac OS X
MYNEMO = $$(NEMO)
!win32 {
!isEmpty( MYNEMO ) { # NEMO repository exist and loaded
target.path = $$(NEMO)/bin
man.path = $$(NEMO)/man/man1
man.files = ../man/man1/glnemo2.1
INSTALLS += man
} else { # NEMO repository does not exist
target.path = $$(HOME)/bin
}
INSTALLS += target
}
INCLUDEPATH += \
../3rdparty/pfntlib/ \
../plugins \
../plugins/ftm \
../plugins/nemolight \
../plugins/gadget \
../plugins/gadgeth5 \
../plugins/zlib \
../plugins/network \
../plugins/tipsy \
../src \
/usr/include/hdf5/serial \
$$NEMOLIB \
$$NEMOINC \
glew
LIBS += \
-lpfntlib \
-lsnapshot \
-lftm \
-lnemo \
-lgadget \
-lgadgeth5 \
-lramses \
-lnetwork \
-ltipsy \
-lutils \
-L/usr/lib/x86_64-linux-gnu/hdf5/serial -lhdf5_cpp -lhdf5
win32 {
#LIBS += -lzlib
#LIBS += -lz
LIBS += -lz -lCCfits -lcfitsio -lgomp -lpthread
LIBS += -lglu32
LIBS += -lopengl32
}
unix {
LIBS += -lz
LIBS += -lGLU
LIBS += -lCCfits -lcfitsio
LIBS += -lgomp
LIBS +=
}
macx {
LIBS += -lz
LIBS -= -lGLU
LIBS += -lCCfits
}
POST_TARGETDEPS += \
../3rdparty/pfntlib/lib/$$ARCH/$$COMPILEMODE/libpfntlib.a \
../plugins/nemolight/lib/$$ARCH/$$COMPILEMODE/libnemo.a \
../plugins/lib/$$ARCH/$$COMPILEMODE/libsnapshot.a \
../plugins/ftm/lib/$$ARCH/$$COMPILEMODE/libftm.a \
../plugins/gadget/lib/$$ARCH/$$COMPILEMODE/libgadget.a \
../plugins/gadgeth5/lib/$$ARCH/$$COMPILEMODE/libgadgeth5.a \
../plugins/ramses/lib/$$ARCH/$$COMPILEMODE/libramses.a \
../plugins/network/lib/$$ARCH/$$COMPILEMODE/libnetwork.a \
../plugins/zlib/lib/$$ARCH/$$COMPILEMODE/libzlib.a \
../plugins/tipsy/lib/$$ARCH/$$COMPILEMODE/libtipsy.a \
../utils/lib/$$ARCH/$$COMPILEMODE/libutils.a
DISTFILES += ../ChangeLog
# No TPSY support for windows
win32 {
QMAKE_LIBDIR -= ../plugins/tipsy/lib/$$ARCH/$$COMPILEMODE
INCLUDEPATH -= ../plugins/tipsy
LIBS -= -ltipsy
POST_TARGETDEPS -= ../plugins/tipsy/lib/$$ARCH/$$COMPILEMODE/libtipsy.a
}