blob: c60aa12c67aedc59e6b05bbfd88714676cd41cb9 (
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
|
TEMPLATE = app
TARGET = HDF5_Consumer
DESTDIR = ../../../../bin/
CONFIG += debug_and_release \
build_all
SOURCES += ../../../Testing/HDF5_Consumer/HDF5_Consumer.cpp
INCLUDEPATH += $(OPENBABEL_INCPATH) \
../../../../include \
../../../../src
# The "../../../src" is temporary for NXEntityManager to access an
# HDF5_SimResultsImportExport plugin function directly.
PROJECTLIBS = -lNanorexInterface \
-lNanorexUtility
CONFIG(debug,debug|release) {
TARGET = $${TARGET}_d
PROJECTLIBS ~= s/(.+)/\1_d/g
}
LIBS += -L$(OPENBABEL_LIBPATH) \
-L../../../../lib \
$$PROJECTLIBS \
-lopenbabel
TARGETDEPS += ../../../../lib/libNanorexInterface.so \
../../../../lib/libNanorexUtility.so
macx : TARGETDEPS ~= s/.so/.dylib/g
win32 : TARGETDEPS ~= s/.so/.a/g
HEADERS += ../../../Testing/HDF5_Consumer/HDF5_Consumer.h
# This tell qmake to not create a Mac bundle for this application.
CONFIG -= app_bundle
# make clean target
QMAKE_CLEAN += $${DESTDIR}$${TARGET}
|