blob: e84716e98b97ccfb541a8ae9eeef44eeca4baa1e (
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
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
|
HEADERS += \
../../../include/Nanorex/Interface/NXDataImportExportPlugin.h \
../../../include/Nanorex/Interface/NXDataStoreInfo.h \
../../../include/Nanorex/Interface/NXEntityManager.h \
../../../include/Nanorex/Interface/NXGraphicsManager.h \
../../../include/Nanorex/Interface/NXMoleculeData.h \
../../../include/Nanorex/Interface/NXMoleculeSet.h \
../../../include/Nanorex/Interface/NXNanoVisionResultCodes.h \
../../../include/Nanorex/Interface/NXNumbers.h \
../../../include/Nanorex/Interface/NXRendererPlugin.h \
../../../include/Nanorex/Interface/NXRenderingEngine.h \
../../../include/Nanorex/Interface/NXAtomData.h \
../../../include/Nanorex/Interface/NXSceneGraph.h \
../../../include/Nanorex/Interface/NXBondData.h \
../../../include/Nanorex/Interface/NXNamedView.h \
../../../include/Nanorex/Interface/NXDNARenderOptions.h
INCLUDEPATH += ../../../include \
$(OPENBABEL_INCPATH) \
../../../src \
$(HDF5_SIMRESULTS_INCPATH)
# The "../../../src" and $HDF5... are temporary for NXEntityManager to access an
# HDF5_SimResultsImportExport plugin function directly.
SOURCES += ../../Interface/NXDataStoreInfo.cpp \
../../Interface/NXEntityManager.cpp \
../../Interface/NXGraphicsManager.cpp \
../../Interface/NXMoleculeData.cpp \
../../Interface/NXMoleculeSet.cpp \
../../Interface/NXNumbers.cpp \
../../Interface/NXNanoVisionResultCodes.cpp \
../../Interface/NXSceneGraph.cpp \
../../Interface/NXRenderingEngine.cpp \
../../Interface/NXAtomData.cpp
TEMPLATE = lib
CONFIG += \
dll \
release \
stl
TARGET = NanorexInterface
win32 : CONFIG -= dll
win32 : CONFIG += staticlib
DESTDIR = ../../../lib/
TARGETDEPS += ../../../lib/libNanorexUtility.so
macx : TARGETDEPS ~= s/.so/.dylib/g
win32 : TARGETDEPS ~= s/.so/.a/g
#QT -= gui
#CONFIG(debug,debug|release){
# TARGET = $$join(TARGET,,,_d)
# TARGETDEPS ~= s/(.*).so/\1_d.so/g
# PROJECT_LIBS ~= s/(.+)/\1_d/g
#}
LIBS += -L../../../lib \
-lNanorexUtility \
-L$(OPENBABEL_LIBPATH) \
-lopenbabel
#QMAKE_CXXFLAGS_DEBUG += -DNX_DEBUG \
# -g \
# -O0 \
# -fno-inline
QMAKE_CXXFLAGS_RELEASE += -DNDEBUG -O2
|