source: src/Potentials/unittests/Makefile.am@ 64cafb2

Action_Thermostats Add_AtomRandomPerturbation Add_FitFragmentPartialChargesAction Add_RotateAroundBondAction Add_SelectAtomByNameAction Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_StructOpt_integration_tests Automaking_mpqc_open AutomationFragmentation_failures Candidate_v1.5.4 Candidate_v1.6.0 Candidate_v1.6.1 ChangeBugEmailaddress ChangingTestPorts ChemicalSpaceEvaluator Combining_Subpackages Debian_Package_split Debian_package_split_molecuildergui_only Disabling_MemDebug Docu_Python_wait EmpiricalPotential_contain_HomologyGraph EmpiricalPotential_contain_HomologyGraph_documentation Enable_parallel_make_install Enhance_userguide Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph FitPartialCharges_GlobalError Fix_ChargeSampling_PBC Fix_ChronosMutex Fix_FitPartialCharges Fix_FitPotential_needs_atomicnumbers Fix_ForceAnnealing Fix_IndependentFragmentGrids Fix_ParseParticles Fix_ParseParticles_split_forward_backward_Actions Fix_StatusMsg Fix_StepWorldTime_single_argument Fix_Verbose_Codepatterns Fixes ForceAnnealing_goodresults ForceAnnealing_oldresults ForceAnnealing_tocheck ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion GeometryObjects Gui_displays_atomic_force_velocity IndependentFragmentGrids IndependentFragmentGrids_IndividualZeroInstances IndependentFragmentGrids_IntegrationTest IndependentFragmentGrids_Sole_NN_Calculation JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool JobMarket_unresolvable_hostname_fix ODR_violation_mpqc_open PartialCharges_OrthogonalSummation PythonUI_with_named_parameters QtGui_reactivate_TimeChanged_changes Recreated_GuiChecks RotateToPrincipalAxisSystem_UndoRedo SaturateAtoms_findBestMatching SaturateAtoms_singleDegree StoppableMakroAction Subpackage_CodePatterns Subpackage_JobMarket Subpackage_LinearAlgebra Subpackage_levmar Subpackage_mpqc_open Subpackage_vmg ThirdParty_MPQC_rebuilt_buildsystem TrajectoryDependenant_MaxOrder TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps Ubuntu_1604_changes stable
Last change on this file since 64cafb2 was 748fc7, checked in by Frederik Heber <heber@…>, 10 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.3 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4POTENTIALSTESTSSOURCES = \
5 ../Potentials/unittests/CompoundPotentialUnitTest.cpp \
6 ../Potentials/unittests/PartialNucleiChargeFitterUnitTest.cpp \
7 ../Potentials/unittests/SerializablePotentialUnitTest.cpp
8
9POTENTIALSTESTSHEADERS = \
10 ../Potentials/unittests/CompoundPotentialUnitTest.hpp \
11 ../Potentials/unittests/PartialNucleiChargeFitterUnitTest.hpp \
12 ../Potentials/unittests/SerializablePotentialUnitTest.hpp
13
14POTENTIALSTESTS = \
15 CompoundPotentialUnitTest \
16 PartialNucleiChargeFitterUnitTest \
17 SerializablePotentialUnitTest
18
19TESTS += $(POTENTIALSTESTS)
20check_PROGRAMS += $(POTENTIALSTESTS)
21noinst_PROGRAMS += $(POTENTIALSTESTS)
22
23POTENTIALSLIBS = \
24 libUnitTest.la \
25 ../libMolecuilder.la \
26 ../libMolecuilderPotentials.la \
27 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
28 ${CodePatterns_LIBS} \
29 $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS) \
30 $(BOOST_LIB)
31
32CompoundPotentialUnitTest_SOURCES = \
33 ../Potentials/unittests/CompoundPotentialUnitTest.cpp \
34 ../Potentials/unittests/CompoundPotentialUnitTest.hpp
35CompoundPotentialUnitTest_LDADD = \
36 libUnitTest.la \
37 ../libMolecuilderPotentials.la \
38 ../libMolecuilderFragmentation.la \
39 ../libMolecuilderFunctionApproximation.la \
40 ../libMolecuilderFragmentationSummation.la \
41 ../libMolecuilderFragmentation_getFromKeysetStub.la \
42 ../libMolecuilderRandomNumbers.la \
43 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
44 ${CodePatterns_LIBS} \
45 $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS) \
46 $(BOOST_LIB)
47
48PartialNucleiChargeFitterUnitTest_SOURCES = \
49 ../Potentials/unittests/PartialNucleiChargeFitterUnitTest.cpp \
50 ../Potentials/unittests/PartialNucleiChargeFitterUnitTest.hpp
51PartialNucleiChargeFitterUnitTest_LDADD = \
52 ../libMolecuilderFragmentationSummation.la \
53 ${POTENTIALSLIBS}
54
55SerializablePotentialUnitTest_SOURCES = \
56 ../Potentials/unittests/SerializablePotentialUnitTest.cpp \
57 ../Potentials/unittests/SerializablePotentialUnitTest.hpp \
58 ../Potentials/unittests/stubs/SerializablePotentialMock.cpp \
59 ../Potentials/unittests/stubs/SerializablePotentialMock.hpp
60SerializablePotentialUnitTest_LDADD = ${POTENTIALSLIBS}
61
62MOSTLYCLEANFILES += \
63 potential.csv \
64 residuum.csv \
65 solution.csv
66
67#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.