blob: 92eb1d37815f35ebb539734d351527ffb04c49d5 (
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
TEMPLATE = app
TARGET = CppUnit
DESTDIR = ../../../../bin/
CONFIG += stl \
debug
CONFIG(debug,debug|release){
TARGET = $$join(TARGET,,,_d)
}
QT += gui
SOURCES += ../../../Testing/CppUnit/CppUnit.cpp \
../../../Interface/NXEntityManagerTest.cpp \
../../../Interface/NXNumbersTest.cpp \
../../../Utility/NXCommandResultTest.cpp \
../../../Utility/NXLoggerTest.cpp \
../../../Utility/NXStringTokenizerTest.cpp \
../../../Utility/NXUtilityTest.cpp \
../../../Plugins/HDF5_SimResultsImportExport/HDF5_SimResultsImportExportTest.cpp \
../../../Plugins/OpenBabelImportExport/OpenBabelImportExportTest.cpp \
../../../Interface/NXSceneGraphTest.cpp \
../../../Plugins/NanorexMMPImportExport/NanorexMMPImportExportTest.cpp \
../../../Utility/NXVectorTest.cpp
# ../../../Plugins/NanorexMMPImportExport/NanorexMMPImportExportRagelTest.cpp
INCLUDEPATH += ../../../../include \
$(OPENBABEL_INCPATH) \
$(HDF5_SIMRESULTS_INCPATH) \
../../../../src
# The "../../../src" is temporary for NXEntityManager to access an
# HDF5_SimResultsImportExport plugin function directly.
HEADERS += ../../../Utility/NXCommandResultTest.h \
../../../Utility/NXLoggerTest.h \
../../../Utility/NXStringTokenizerTest.h \
../../../Utility/NXUtilityTest.h \
../../../Interface/NXEntityManagerTest.h \
../../../Interface/NXNumbersTest.h \
../../../Plugins/HDF5_SimResultsImportExport/HDF5_SimResultsImportExportTest.h \
../../../Plugins/OpenBabelImportExport/OpenBabelImportExportTest.h \
../../../Interface/NXSceneGraphTest.h \
../../../Plugins/NanorexMMPImportExport/NanorexMMPImportExportTest.h \
../../../Utility/NXVectorTest.h
# ../../../Plugins/NanorexMMPImportExport/NanorexMMPImportExportRagelTest.h
# This tell qmake to not create a Mac bundle for this application.
CONFIG -= app_bundle
QMAKE_CXXFLAGS_DEBUG += -DNX_DEBUG \
-g \
-O0 \
-fno-inline
QMAKE_CXXFLAGS_RELEASE += -DNX_DEBUG
TARGETDEPS += ../../../../lib/libNanorexInterface.so \
../../../../lib/libNanorexUtility.so
macx : TARGETDEPS ~= s/.so/.dylib/g
win32 : TARGETDEPS ~= s/.so/.a/g
DISTFILES += ../../../Plugins/NanorexMMPImportExport/molecule.rl \
../../../Plugins/NanorexMMPImportExport/atom.rl \
../../../Plugins/NanorexMMPImportExport/utilities.rl \
../../../Plugins/NanorexMMPImportExport/group.rl \
../../../Plugins/NanorexMMPImportExport/NanorexMMPImportExportRagelTest.rl
PROJECTLIBS = -lNanorexMMPImportExport \
-lNanorexUtility \
-lNanorexInterface
CONFIG(debug,debug|release) {
PROJECTLIBS ~= s/(.+)/\1_d/g
}
LIBS += -L../../../../lib \
$$PROJECTLIBS \
-L$(OPENBABEL_LIBPATH) \
-L$(HDF5_SIMRESULTS_INCPATH) \
-lcppunit \
-lopenbabel
# make clean target
QMAKE_CLEAN += $${DESTDIR}$${TARGET}
|