Changeset afbb6c0 for molecuilder


Ignore:
Timestamp:
Oct 7, 2009, 3:35:17 PM (16 years ago)
Author:
metzler <metzler@…>
Children:
682229
Parents:
53f32e
Message:

Ticket 30: Put molecuilder unit tests in their own subfolder in src

Location:
molecuilder
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/Makefile.am

    • Property mode changed from 100755 to 100644
    r53f32e rafbb6c0  
    11ACLOCAL_AMFLAGS = -I m4
    2 SUBDIRS = src doc tests
     2SUBDIRS = src src/unittests doc tests
    33
    44EXTRA_DIST = autogen.sh
  • molecuilder/configure.ac

    • Property mode changed from 100755 to 100644
    r53f32e rafbb6c0  
    1414AC_PROG_CXX
    1515AC_PROG_CC
     16AC_PROG_RANLIB
    1617AC_PROG_INSTALL
    1718AC_CHECK_PROG([LATEX],[latex],[latex],[:])
  • molecuilder/src/Makefile.am

    • Property mode changed from 100755 to 100644
    r53f32e rafbb6c0  
    1 SUBDIRS = unittests
     1SOURCE = atom.cpp bond.cpp boundary.cpp config.cpp          element.cpp ellipsoid.cpp helpers.cpp leastsquaremin.cpp linkedcell.cpp memoryusageobserver.cpp molecules.cpp moleculelist.cpp parser.cpp periodentafel.cpp                tesselation.cpp tesselationhelpers.cpp vector.cpp verbose.cpp
     2HEADER = atom.hpp bond.hpp boundary.hpp config.hpp defs.hpp element.hpp ellipsoid.hpp helpers.hpp leastsquaremin.hpp linkedcell.hpp memoryusageobserver.hpp molecules.hpp                  parser.hpp periodentafel.hpp stackclass.hpp tesselation.hpp tesselationhelpers.hpp vector.hpp verbose.hpp
    23
    3 SOURCE = atom.cpp bond.cpp boundary.cpp config.cpp element.cpp ellipsoid.cpp helpers.cpp leastsquaremin.cpp linkedcell.cpp moleculelist.cpp molecules.cpp parser.cpp periodentafel.cpp tesselation.cpp tesselationhelpers.cpp vector.cpp verbose.cpp
    4 HEADER = atom.hpp bond.hpp boundary.hpp config.hpp defs.hpp element.hpp ellipsoid.hpp helpers.hpp leastsquaremin.hpp linkedcell.hpp memoryallocator.hpp memoryusageobserver.cpp memoryusageobserver.hpp molecules.hpp parser.hpp periodentafel.hpp stackclass.hpp tesselation.hpp tesselationhelpers.hpp vector.hpp verbose.hpp
     4INCLUDES = -I$(top_srcdir)/src/unittests
    55
     6noinst_LIBRARIES = libmolecuilder.a
    67bin_PROGRAMS = molecuilder joiner analyzer
    78molecuilderdir = ${bindir}
     9libmolecuilder_a_SOURCES = ${SOURCE} ${HEADER}
    810molecuilder_DATA = elements.db valence.db orbitals.db Hbonddistance.db Hbondangle.db
    9 molecuilder_SOURCES =  ${SOURCE} builder.cpp  ${HEADER}
    10 joiner_SOURCES = joiner.cpp datacreator.cpp element.cpp helpers.cpp memoryallocator.hpp memoryusageobserver.cpp memoryusageobserver.hpp periodentafel.cpp parser.cpp verbose.cpp datacreator.hpp helpers.hpp parser.hpp periodentafel.hpp
    11 analyzer_SOURCES = analyzer.cpp datacreator.cpp element.cpp helpers.cpp memoryallocator.hpp memoryusageobserver.cpp memoryusageobserver.hpp periodentafel.cpp parser.cpp verbose.cpp helpers.hpp periodentafel.hpp parser.hpp datacreator.hpp
     11molecuilder_SOURCES = builder.cpp
     12molecuilder_LDADD = libmolecuilder.a
     13joiner_SOURCES = joiner.cpp datacreator.cpp parser.cpp datacreator.hpp helpers.hpp parser.hpp periodentafel.hpp
     14joiner_LDADD = libmolecuilder.a
     15analyzer_SOURCES = analyzer.cpp datacreator.cpp parser.cpp helpers.hpp periodentafel.hpp parser.hpp datacreator.hpp
     16analyzer_LDADD = libmolecuilder.a
    1217
    13 EXTRA_DIST = ${molecuilder_DATA}
     18#EXTRA_DIST = ${molecuilder_DATA}
  • molecuilder/src/unittests/Makefile.am

    r53f32e rafbb6c0  
     1INCLUDES = -I$(top_srcdir)/src
     2
    13noinst_PROGRAMS =  MemoryAllocatorUnitTest MemoryUsageObserverUnitTest VectorUnitTest
    24
    35TESTS = VectorUnitTest MemoryUsageObserverUnitTest MemoryAllocatorUnitTest
    46check_PROGRAMS = $(TESTS)
     7
    58VectorUnitTest_SOURCES = defs.hpp helpers.hpp leastsquaremin.hpp memoryallocator.hpp memoryusageobserver.hpp vectorunittest.cpp vectorunittest.hpp vector.hpp verbose.hpp
    69VectorUnitTest_CXXFLAGS = $(CPPUNIT_CFLAGS)
    710VectorUnitTest_LDFLAGS = $(CPPUNIT_LIBS) -ldl
     11VectorUnitTest_LDADD = ../libmolecuilder.a
    812
    913MemoryAllocatorUnitTest_SOURCES = defs.hpp helpers.hpp memoryallocatorunittest.cpp memoryallocatorunittest.hpp memoryallocator.hpp memoryusageobserver.hpp verbose.hpp
    1014MemoryAllocatorUnitTest_CXXFLAGS = $(CPPUNIT_CFLAGS) -I..
    1115MemoryAllocatorUnitTest_LDFLAGS = $(CPPUNIT_LIBS) -ldl
     16MemoryAllocatorUnitTest_LDADD = ../libmolecuilder.a
    1217
    1318MemoryUsageObserverUnitTest_SOURCES = defs.hpp helpers.hpp memoryusageobserverunittest.cpp memoryusageobserverunittest.hpp memoryusageobserver.hpp verbose.hpp
    1419MemoryUsageObserverUnitTest_CXXFLAGS = $(CPPUNIT_CFLAGS)
    1520MemoryUsageObserverUnitTest_LDFLAGS = $(CPPUNIT_LIBS) -ldl
     21MemoryUsageObserverUnitTest_LDADD = ../libmolecuilder.a
Note: See TracChangeset for help on using the changeset viewer.