source: src/Fragmentation/unittests/Makefile.am@ fba720

Candidate_v1.6.1 ChemicalSpaceEvaluator TremoloParser_IncreasedPrecision
Last change on this file since fba720 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.2 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4FRAGMENTATIONTESTSSOURCES = \
5 ../Fragmentation/unittests/KeySetsContainerUnitTest.cpp \
6 ../Fragmentation/unittests/MatrixContainerUnitTest.cpp
7
8FRAGMENTATIONTESTSHEADERS = \
9 ../Fragmentation/unittests/KeySetsContainerUnitTest.hpp \
10 ../Fragmentation/unittests/MatrixContainerUnitTest.hpp
11
12FRAGMENTATIONTESTS = \
13 KeySetsContainerUnitTest \
14 MatrixContainerUnitTest
15
16TESTS += $(FRAGMENTATIONTESTS)
17check_PROGRAMS += $(FRAGMENTATIONTESTS)
18noinst_PROGRAMS += $(FRAGMENTATIONTESTS)
19
20FRAGMENTATIONLIBS = \
21 libUnitTest.la \
22 ../libMolecuilder.la \
23 ../libMolecuilderFragmentation.la \
24 ../libMolecuilderFragmentation_KeysetsContainer.la \
25 ../libMolecuilderHelpers.la \
26 ${CodePatterns_LIBS} \
27 $(BOOST_LIB)
28
29
30KeySetsContainerUnitTest_SOURCES = \
31 ../Fragmentation/unittests/KeySetsContainerUnitTest.cpp \
32 ../Fragmentation/unittests/KeySetsContainerUnitTest.hpp
33KeySetsContainerUnitTest_LDADD = ${FRAGMENTATIONLIBS}
34
35MatrixContainerUnitTest_SOURCES = \
36 ../Fragmentation/unittests/MatrixContainerUnitTest.cpp \
37 ../Fragmentation/unittests/MatrixContainerUnitTest.hpp
38MatrixContainerUnitTest_LDADD = ${FRAGMENTATIONLIBS}
39
40
41
42#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.