source: src/Element/unittests/Makefile.am@ ef8667

ForceAnnealing_oldresults IndependentFragmentGrids_IntegrationTest
Last change on this file since ef8667 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.3 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4ELEMENTTESTSSOURCES = \
5 ../Element/unittests/ElementUnitTest.cpp \
6 ../Element/unittests/IonUnitTest.cpp \
7 ../Element/unittests/PeriodentafelUnitTest.cpp
8
9ELEMENTTESTSHEADERS = \
10 ../Element/unittests/ElementUnitTest.hpp \
11 ../Element/unittests/IonUnitTest.hpp \
12 ../Element/unittests/PeriodentafelUnitTest.hpp
13
14ELEMENTTESTS = \
15 ElementUnitTest \
16 IonUnitTest \
17 PeriodentafelUnitTest
18
19TESTS += $(ELEMENTTESTS)
20check_PROGRAMS += $(ELEMENTTESTS)
21noinst_PROGRAMS += $(ELEMENTTESTS)
22
23ELEMENTLIBS = \
24 libUnitTest.la \
25 ../libMolecuilder.la \
26 ../libMolecuilderElement.la \
27 ../libMolecuilderHelpers.la \
28 $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS) \
29 $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS) \
30 ${CodePatterns_LIBS}
31
32ElementUnitTest_SOURCES = \
33 ../Element/unittests/ElementUnitTest.cpp \
34 ../Element/unittests/ElementUnitTest.hpp
35ElementUnitTest_LDADD = $(ELEMENTLIBS)
36
37IonUnitTest_SOURCES = \
38 ../Element/unittests/IonUnitTest.cpp \
39 ../Element/unittests/IonUnitTest.hpp
40IonUnitTest_LDADD = $(ELEMENTLIBS)
41
42PeriodentafelUnitTest_SOURCES = \
43 ../Element/unittests/PeriodentafelUnitTest.cpp \
44 ../Element/unittests/PeriodentafelUnitTest.hpp
45PeriodentafelUnitTest_LDADD = $(ELEMENTLIBS)
46
47#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.