Changeset 796aa6


Ignore:
Timestamp:
Aug 4, 2010, 1:25:25 PM (14 years ago)
Author:
Tillmann Crueger <crueger@…>
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:
90aeb9
Parents:
10d290
Message:

Added faster unity build target to makefiles

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • Makefile.am

    r10d290 r796aa6  
    77doc:
    88        cd doc && make doxygen-docs
     9       
     10unity:
     11        cd src && make unity
  • src/Actions/Makefile.am

    r10d290 r796aa6  
    168168  WorldAction/SetOutputFormatsAction.hpp               
    169169
     170unity.cpp:
     171        echo "" >  unity.cpp; \
     172        list='$(ACTIONSSOURCE)'; for file in $$list; do \
     173          echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
     174        done;
     175       
     176MOSTLYCLEANFILES = unity.cpp
  • src/Helpers/Assert.cpp

    r10d290 r796aa6  
    55 *      Author: crueger
    66 */
    7 
    8 #include "Helpers/MemDebug.hpp"
    97
    108#include "Helpers/Assert.hpp"
  • src/Makefile.am

    r10d290 r796aa6  
    194194  ${SHAPESOURCE} \
    195195  ${DESCRIPTORSOURCE} \
    196   ${HELPERSOURCE} \
    197196  bond.cpp \
    198197  bondgraph.cpp \
     
    226225  periodentafel.cpp \
    227226  Plane.cpp \
    228   Space.cpp \
    229227  tesselation.cpp \
    230228  tesselationhelpers.cpp \
     
    295293noinst_LIBRARIES = libmolecuilderbase.a libmolecuilder.a libgslwrapper.a libmenu.a libparser.a
    296294bin_PROGRAMS = molecuilder molecuildergui joiner analyzer
     295EXTRA_PROGRAMS = unity
    297296
    298297molecuilderdir = ${bindir}
     
    325324analyzer_SOURCES = analyzer.cpp datacreator.cpp parser.cpp helpers.hpp periodentafel.hpp parser.hpp datacreator.hpp
    326325analyzer_LDADD = libmolecuilder.a libmolecuilderbase.a $(BOOST_LIB) ${BOOST_THREAD_LIB}
     326
     327unity_SOURCES = unity.cpp $(srcdir)/version.c
     328unity_LDADD = $(BOOST_LIB) ${BOOST_THREAD_LIB} ${BOOST_PROGRAM_OPTIONS_LIB}
    327329
    328330#Rules needed for QT4
     
    340342        done;
    341343
    342 
    343 
    344 MOSTLYCLEANFILES = allmocs.moc.cpp
     344unity.cpp: ${LINALGSOURCE} ${LINALGHEADER} ${SOURCE} ${HEADER}
     345        echo "" >  unity.cpp; \
     346        list='$(BASESOURCE)'; for file in $$list; do \
     347          echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
     348        done; \
     349        list='$(LINALGSOURCE)'; for file in $$list; do \
     350          echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
     351        done; \
     352        list='$(SOURCE)'; for file in $$list; do \
     353          echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
     354        done; \
     355        subdirs='$(SUBDIRS)';for directory in $$subdirs; do\
     356                olddir=$$PWD;\
     357                cd $$directory && make unity.cpp;\
     358                cd $$olddir;\
     359                echo "#include \"$$directory/unity.cpp\"" >> unity.cpp;\
     360        done;\
     361        echo "#include \"$(srcdir)/builder.cpp\"" >> unity.cpp;
     362
     363MOSTLYCLEANFILES = allmocs.moc.cpp unity.cpp
    345364       
    346365#EXTRA_DIST = ${molecuilder_DATA}
  • src/UIElements/Makefile.am

    r10d290 r796aa6  
    8080  CommandLineUI/CommandLineWindow.hpp
    8181
    82 
     82unity.cpp:
     83        echo "" >  unity.cpp; \
     84        list='$(UISOURCE)'; for file in $$list; do \
     85          echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
     86        done;
     87       
     88MOSTLYCLEANFILES = unity.cpp
Note: See TracChangeset for help on using the changeset viewer.