source: src/Graph/unittests/Makefile.am@ f8dae2

Fix_IndependentFragmentGrids
Last change on this file since f8dae2 was 748fc7, checked in by Frederik Heber <heber@…>, 11 years ago

libMolecuilder is now a shared library.

  • linking error Vector::IsZero(double) with molecuilder(gui), related to libMolecuilderShapes was the root cause for this change. Again, it was not deducible why this error occured:
  • probably (me tired of these obfuscated linker errors ...) faulted because libMolecuilder is convenience lib while libMolecuilderUI and ..QtUI are shared and deps did not get passed along properly (by libtool) (e.g. ldd showed libMolecuilderShapes prior to libLinearAlgebra, containing said function Vector::IsZero(double), but I cannot influence this ordering and it should not even matter (dynamic linking).)
  • some cleanup in builder_init.cpp (no more loading of BondGraph from file named "\n".
  • TESTFIX: libMolecuilder.so added to all unittests, required for e.g. World::purgeInstance() ... and sometimes added libMolecuilderUI.so because libMolecuilder pulled them in due to static entities ... sigh.
  • removed all src object files from unittest .._SOURCES. This caused distclean faults "thanks" to new subdir-objects (automake).
  • Property mode set to 100644
File size: 1.1 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4GRAPHTESTSSOURCES = \
5 ../Graph/unittests/AdjacencyListUnitTest.cpp \
6 ../Graph/unittests/BondGraphUnitTest.cpp
7
8GRAPHTESTSHEADERS = \
9 ../Graph/unittests/AdjacencyListUnitTest.hpp \
10 ../Graph/unittests/BondGraphUnitTest.hpp
11
12GRAPHTESTS = \
13 AdjacencyListUnitTest \
14 BondGraphUnitTest
15
16
17TESTS += $(GRAPHTESTS)
18check_PROGRAMS += $(GRAPHTESTS)
19noinst_PROGRAMS += $(GRAPHTESTS)
20
21GRAPHLIBS = \
22 libUnitTest.la \
23 ../libMolecuilder.la \
24 ../libMolecuilderUI.la \
25 ../libMolecuilderGraph.la
26if CONDJOBMARKET
27GRAPHLIBS += \
28 ../libMolecuilderJobs.la
29endif
30GRAPHLIBS += \
31 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
32 ${CodePatterns_LIBS} \
33 $(BOOST_LIB)
34
35
36AdjacencyListUnitTest_SOURCES = \
37 ../Graph/unittests/AdjacencyListUnitTest.cpp \
38 ../Graph/unittests/AdjacencyListUnitTest.hpp
39AdjacencyListUnitTest_LDADD = ${ALLLIBS}
40
41BondGraphUnitTest_SOURCES = \
42 ../Graph/unittests/BondGraphUnitTest.cpp \
43 ../Graph/unittests/BondGraphUnitTest.hpp
44BondGraphUnitTest_LDADD = ${GRAPHLIBS}
45
46
47
48#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.