blob: d596e30e16711475ab2b8f55e87cb9ced3c2c209 (
plain)
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
|
TEMPLATE = lib
TARGET = NXOpenGLSceneGraph
DESTDIR = ../../../../../../lib/
CONFIG += staticlib \
opengl \
rtti \
release \
stl
#CONFIG(debug,debug|release){
# TARGET = $$join(TARGET,,,_d)
#}
QT += opengl
QT -= gui
TARGETDEPS += ../../../../../../lib/libNanorexUtility.so
macx : TARGETDEPS ~= s/.so/.dylib/g
win32 : TARGETDEPS ~= s/.so/.a/g
INCLUDEPATH += ../../../../../../include
HEADERS += ../../../../../Plugins/RenderingEngines/OpenGL/NXOpenGLMaterial.h \
../../../../../Plugins/RenderingEngines/OpenGL/NXOpenGLSceneGraph.h \
../../../../../../include/Nanorex/Interface/NXSceneGraph.h
SOURCES += ../../../../../Plugins/RenderingEngines/OpenGL/NXOpenGLSceneGraph.cpp
#QMAKE_CXXFLAGS_DEBUG += -DNX_DEBUG \
# -g \
# -O0 \
# -fno-inline
QMAKE_CXXFLAGS_RELEASE += -DNDEBUG -O2
# make clean targets
unix : QMAKE_CLEAN += $${DESTDIR}lib$${TARGET}.a
macx : QMAKE_CLEAN += $${DESTDIR}lib$${TARGET}.a
win32 : QMAKE_CLEAN += $${DESTDIR}$${TARGET}.a
LIBS += -lgle
|