Changeset f08ae7 for src


Ignore:
Timestamp:
Oct 10, 2011, 4:58:24 PM (13 years ago)
Author:
Frederik Heber <heber@…>
Branches:
Action_Thermostats, Add_AtomRandomPerturbation, Add_FitFragmentPartialChargesAction, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Added_ParseSaveFragmentResults, AddingActions_SaveParseParticleParameters, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_ParticleName_to_Atom, Adding_StructOpt_integration_tests, AtomFragments, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.5.4, Candidate_v1.6.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, CombiningParticlePotentialParsing, 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_BoundInBox_CenterInBox_MoleculeActions, Fix_ChargeSampling_PBC, Fix_ChronosMutex, Fix_FitPartialCharges, Fix_FitPotential_needs_atomicnumbers, Fix_ForceAnnealing, Fix_IndependentFragmentGrids, Fix_ParseParticles, Fix_ParseParticles_split_forward_backward_Actions, Fix_PopActions, Fix_QtFragmentList_sorted_selection, Fix_Restrictedkeyset_FragmentMolecule, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, Fix_fitting_potentials, Fixes, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, FragmentAction_writes_AtomFragments, FragmentMolecule_checks_bonddegrees, GeometryObjects, Gui_Fixes, Gui_displays_atomic_force_velocity, ImplicitCharges, IndependentFragmentGrids, IndependentFragmentGrids_IndividualZeroInstances, IndependentFragmentGrids_IntegrationTest, IndependentFragmentGrids_Sole_NN_Calculation, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, MoreRobust_FragmentAutomation, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PdbParser_setsAtomName, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, Rewrite_FitPartialCharges, RotateToPrincipalAxisSystem_UndoRedo, SaturateAtoms_findBestMatching, SaturateAtoms_singleDegree, StoppableMakroAction, Subpackage_CodePatterns, Subpackage_JobMarket, Subpackage_LinearAlgebra, Subpackage_levmar, Subpackage_mpqc_open, Subpackage_vmg, Switchable_LogView, ThirdParty_MPQC_rebuilt_buildsystem, TrajectoryDependenant_MaxOrder, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, TremoloParser_setsAtomName, Ubuntu_1604_changes, stable
Children:
bae8b0
Parents:
78d5b2
git-author:
Frederik Heber <heber@…> (09/07/11 16:35:59)
git-committer:
Frederik Heber <heber@…> (10/10/11 16:58:24)
Message:

Extension of usage of Tsuna's boost.m4 macro.

  • boost.m4 from https://github.com/tsuna/boost.m4.git (serial 16 + updates).
  • LinearAlgebra does not depend on any boost libs only two headers and CodePatterns.
  • Presence and Usability of every boost header and lib is now checked.
  • Using updated ax_codepatterns.m4.
  • FIX: boost has not been possible to link with if not residing under some default path. This is now possible.
Location:
src
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/unittests/Makefile.am

    r78d5b2 rf08ae7  
    2727        ../libMolecuilderUI.la
    2828
     29# note that DummyUI inherits Dialog which depends on boost/file_system ...
     30
    2931ActionRegistryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
    3032        ../Actions/unittests/ActionRegistryUnitTest.cpp \
     
    3638        ../Actions/unittests/ActionSequenceUnitTest.hpp \
    3739        ../Actions/unittests/stubs/DummyUI.hpp
    38 ActionSequenceUnitTest_LDADD = ${ACTIONLIBS}
     40ActionSequenceUnitTest_LDADD = \
     41        ${ACTIONLIBS} \
     42        $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS) \
     43        $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS)
    3944
    4045AtomsCalculationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
     
    4752        ../Actions/unittests/ManipulateAtomsUnitTest.hpp \
    4853        ../Actions/unittests/stubs/DummyUI.hpp
    49 ManipulateAtomsUnitTest_LDADD = ${ACTIONLIBS}
     54ManipulateAtomsUnitTest_LDADD = \
     55        ${ACTIONLIBS} \
     56        $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS) \
     57        $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS)
    5058
    5159
  • src/Makefile.am

    r78d5b2 rf08ae7  
    1414include UIElements/Makefile.am
    1515
    16 AM_LDFLAGS = -ldl
     16AM_LDFLAGS = -ldl ${BOOST_LDFLAGS}
    1717AM_CPPFLAGS = ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS}
    1818
  • src/RandomNumbers/Makefile.am

    r78d5b2 rf08ae7  
    55
    66# Position-Independent Code necessary for shared library
    7 #AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
     7#AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl ${BOOST_LDFLAGS}
    88#AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
    99
  • src/RandomNumbers/unittests/Makefile.am

    r78d5b2 rf08ae7  
    44#INCLUDES = -I$(top_srcdir)/src
    55
    6 #AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
     6#AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl ${BOOST_LDFLAGS}
    77#AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
    88
  • src/UIElements/Makefile.am

    r78d5b2 rf08ae7  
    271271        $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
    272272        libMolecuilderRandomNumbers.la \
    273         $(CodePatterns_LIBS) \
    274         $(BOOST_FILESYSTEM_LIBS) \
    275         $(BOOST_PROGRAM_OPTIONS_LIBS) \
    276         $(BOOST_SYSTEM_LIBS)
     273        ${CodePatterns_LIBS} \
     274        $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS) \
     275        $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS) \
     276        $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS)
    277277
    278278libMolecuilderQtUI_la_LIBADD = \
    279        ${QT_LIBS} \
    280        -lQtOpenGL \
    281        ${GLU_LIBS}
     279        ${QT_LIBS} \
     280        -lQtOpenGL \
     281        ${GLU_LIBS}
    282282
    283283
  • src/unittests/Makefile.am

    r78d5b2 rf08ae7  
    1616INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/LinearAlgebra/src
    1717
    18 AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS)
     18AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
    1919AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
    2020
     
    4343noinst_PROGRAMS += $(GENERALTESTS) TestRunner
    4444
    45 BOOST_LIB = $(BOOST_PROGRAM_OPTIONS_LIBS) $(BOOST_FILESYSTEM_LIBS) $(BOOST_SYSTEM_LIBS) $(BOOST_THREAD_LIBS)
     45BOOST_LIB = \
     46        $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS) \
     47        $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS)
    4648
    4749ALLLIBS = \
Note: See TracChangeset for help on using the changeset viewer.