Changeset 9b8fa4 for src/unittests


Ignore:
Timestamp:
Dec 13, 2011, 1:09:40 PM (14 years ago)
Author:
Frederik Heber <heber@…>
Children:
c7ac70
Parents:
3324cf
git-author:
Frederik Heber <heber@…> (12/11/11 14:49:06)
git-committer:
Frederik Heber <heber@…> (12/13/11 13:09:40)
Message:

Huge update of file structure to place installation header files into right folder.

  • The problem ist that we desire use as include "CodePatterns/...". For this to work, especially with the new Observer subfolder structure, it has been necessary to place all header files away from their source files into a distinct folder called CodePatterns. This emulates the later, after make install present structure.
  • essentially all source and header files had to be changed to adapt the include.
  • all Makefile.am's had to be changed.
  • nobase_ ... was removed such that header files are installed flat and not creating their subfolder along the process.
  • We placed Observer into its own convenience library and own folder Observer away from Patterns.

Some other changes:

  • FIX: MemDebug.hpp inclusion has been removed in all stubs.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/unittests/Makefile.am

    r3324cf r9b8fa4  
    1010TESTHEADERS =
    1111
    12 INCLUDES = -I$(top_srcdir)/src/Helpers -I$(top_srcdir)/src/Patterns
     12INCLUDES = -I$(top_srcdir)/src/
    1313
    1414AM_LDFLAGS = $(CPPUNIT_LIBS) -ldl $(BOOST_THREAD_LDFLAGS)
    1515AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS)
    1616
    17 include ../Helpers/unittests/Makefile.am
    18 include ../Patterns/unittests/Makefile.am
    19 include ../Patterns/Observer/unittests/Makefile.am
     17include $(top_srcdir)/src/Helpers/unittests/Makefile.am
     18include $(top_srcdir)/src/Patterns/unittests/Makefile.am
     19include $(top_srcdir)/src/Observer/unittests/Makefile.am
    2020
    2121check_PROGRAMS += 
     
    2929TestRunner_LDADD = \
    3030        ../Patterns/libCodePatterns-Patterns-debug.la \
     31        ../Observer/libCodePatterns-Observer-debug.la \
    3132        ../Helpers/libCodePatterns-Helpers-debug.la \
    3233        $(BOOST_THREAD_LIBS)
Note: See TracChangeset for help on using the changeset viewer.