source: src/Shapes/unittests/Makefile.am@ ff4fff9

CombiningParticlePotentialParsing
Last change on this file since ff4fff9 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: 2.8 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4
5SHAPETESTSSOURCES = \
6 ../Shapes/unittests/BaseShapesUnitTest.cpp \
7 ../Shapes/unittests/ShapeFactoryUnitTest.cpp \
8 ../Shapes/unittests/ShapeOpsUnitTest.cpp \
9 ../Shapes/unittests/ShapeRegistryUnitTest.cpp \
10 ../Shapes/unittests/Shape_HomogeneousPointsUnitTest.cpp
11
12SHAPETESTSHEADERS= \
13 ../Shapes/unittests/BaseShapesUnitTest.hpp \
14 ../Shapes/unittests/ShapeFactoryUnitTest.hpp \
15 ../Shapes/unittests/ShapeOpsUnitTest.hpp \
16 ../Shapes/unittests/ShapeRegistryUnitTest.hpp \
17 ../Shapes/unittests/Shape_HomogeneousPointsUnitTest.cpp
18
19SHAPETESTS = \
20 BaseShapesUnitTest \
21 ShapeFactoryUnitTest \
22 ShapeOpsUnitTest \
23 ShapeRegistryUnitTest \
24 Shape_HomogeneousPointsUnitTest
25
26TESTS += $(SHAPETESTS)
27check_PROGRAMS += $(SHAPETESTS)
28noinst_PROGRAMS += $(SHAPETESTS)
29
30SHAPELIBS = \
31 libUnitTest.la \
32 ../libMolecuilder.la \
33 ../libMolecuilderUI.la \
34 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
35 ${CodePatterns_LIBS}
36# $(BOOST_LIB)
37
38BaseShapesUnitTest_SOURCES = \
39 ../Shapes/unittests/BaseShapesUnitTest.cpp \
40 ../Shapes/unittests/BaseShapesUnitTest.hpp \
41 ../Shapes/unittests/stubs/ApproximateShapeAreaStub.cpp \
42 ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp
43BaseShapesUnitTest_LDADD = \
44 ../libMolecuilderShapes.la \
45 $(SHAPELIBS)
46
47ShapeFactoryUnitTest_SOURCES = \
48 ../Shapes/unittests/ShapeFactoryUnitTest.cpp \
49 ../Shapes/unittests/ShapeFactoryUnitTest.hpp \
50 ../Shapes/unittests/stubs/ApproximateShapeAreaStub.cpp \
51 ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp \
52 ../Shapes/unittests/stubs/moleculeStub.cpp \
53 ../Shapes/unittests/stubs/WorldSelectedMoleculesStub.cpp
54ShapeFactoryUnitTest_LDADD = \
55 ../libMolecuilderShapes.la \
56 $(SHAPELIBS)
57
58ShapeOpsUnitTest_SOURCES = \
59 ../Shapes/unittests/ShapeOpsUnitTest.cpp \
60 ../Shapes/unittests/ShapeOpsUnitTest.hpp \
61 ../Shapes/unittests/stubs/ApproximateShapeAreaStub.cpp \
62 ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp
63ShapeOpsUnitTest_LDADD = \
64 ../libMolecuilderShapes.la \
65 $(SHAPELIBS)
66
67ShapeRegistryUnitTest_SOURCES = \
68 ../Shapes/unittests/ShapeRegistryUnitTest.cpp \
69 ../Shapes/unittests/ShapeRegistryUnitTest.hpp \
70 ../Shapes/unittests/stubs/ApproximateShapeAreaStub.cpp \
71 ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp
72ShapeRegistryUnitTest_LDADD = \
73 ../libMolecuilderShapes.la \
74 $(SHAPELIBS)
75
76Shape_HomogeneousPointsUnitTest_SOURCES = \
77 ../Shapes/unittests/Shape_HomogeneousPointsUnitTest.cpp \
78 ../Shapes/unittests/Shape_HomogeneousPointsUnitTest.hpp \
79 ../Shapes/unittests/stubs/ApproximateShapeAreaStub.cpp \
80 ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp
81Shape_HomogeneousPointsUnitTest_LDADD = \
82 ../libMolecuilderShapes.la \
83 $(SHAPELIBS)
84
85
86#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.