Changeset 115378 for src/Patterns


Ignore:
Timestamp:
Dec 22, 2010, 9:16:51 AM (15 years ago)
Author:
Frederik Heber <heber@…>
Children:
9098f9
Parents:
1d77e1a
git-author:
Frederik Heber <heber@…> (12/22/10 08:22:13)
git-committer:
Frederik Heber <heber@…> (12/22/10 09:16:51)
Message:

Changes to allow for (re-)incorporation of CodePatterns into MoleCuilder.

library:

  • no more suffixed with version, this should be dealt by pkg-config (.pc) or a contained version information.
  • corrected and extended .pc file
  • m4 macro ax_codepatterns.m4 created to allow for easy checking with autotools

codepatterns-config:

  • if pkg-config fails there is a small tool that tells about necessary cflags and the likes to compile with CodePatterns library (this was developed before we noticed we had a (half-)working pkg-config present).

smaller changes:

  • moved all Helpers files to src/Helpers (again).
  • changed include paths for Assert.hpp, ... accordingly.
  • version is not prefixed with "v" anymore.
  • small stuff in fast_functions.hpp is absolete (stl::algorithms)
  • Helpers/enumeration.hpp contains enumeration class ("iterable enum")
Location:
src/Patterns
Files:
2 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • src/Patterns/Cacheable.hpp

    r1d77e1a r115378  
    1313#include <boost/shared_ptr.hpp>
    1414
    15 #include "Assert.hpp"
     15#include "Helpers/Assert.hpp"
    1616
    1717#ifndef NO_CACHING
  • src/Patterns/Observer.cpp

    r1d77e1a r115378  
    1818#endif
    1919
    20 #include "MemDebug.hpp"
     20#include "Helpers/MemDebug.hpp"
    2121
    2222#include "Observer.hpp"
     
    2424#include <iostream>
    2525
    26 #include "Assert.hpp"
    27 #include "MemDebug.hpp"
     26#include "Helpers/Assert.hpp"
     27#include "Helpers/MemDebug.hpp"
    2828
    2929using namespace std;
  • src/Patterns/Registry_impl.hpp

    r1d77e1a r115378  
    99#define REGISTRY_IMPL_HPP_
    1010
    11 #include "MemDebug.hpp"
     11#include "Helpers/MemDebug.hpp"
    1212
    1313#include "Patterns/Registry.hpp"
    1414#include "Patterns/Singleton_impl.hpp"
    1515
    16 #include "Assert.hpp"
     16#include "Helpers/Assert.hpp"
    1717#include <iostream>
    1818
  • src/Patterns/Singleton.hpp

    r1d77e1a r115378  
    1111#include <boost/thread.hpp>
    1212
    13 #include "Assert.hpp"
     13#include "Helpers/Assert.hpp"
    1414
    1515/**
  • src/Patterns/Singleton_impl.hpp

    r1d77e1a r115378  
    99#define SINGLETON_IMPL_HPP_
    1010
    11 #include "Assert.hpp"
     11#include "Helpers/Assert.hpp"
    1212#include "Patterns/Singleton.hpp"
    1313
  • src/Patterns/unittests/Makefile.am

    r1d77e1a r115378  
    2020BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB)
    2121TESTLIBS = \
    22         ../../libCodePatterns-@CODEPATTERNS_API_VERSION@.la \
     22        ../../libCodePatterns.la \
    2323        $(BOOST_LIB)
    2424
     
    2727        CacheableUnitTest.hpp \
    2828        ../Cachable.hpp \
    29         ../Observer.cpp \
    3029        ../Observer.hpp \
    3130        ../ObserverIterator.hpp
     
    3534        ObserverUnitTest.cpp \
    3635        ObserverUnitTest.hpp \
    37         ../Observer.cpp \
    3836        ../Observer.hpp \
    3937        ../ObserverIterator.hpp
  • src/Patterns/unittests/ObserverUnitTest.cpp

    r1d77e1a r115378  
    2525#include "Patterns/Observer.hpp"
    2626#include "Patterns/ObservedIterator.hpp"
    27 #include "Assert.hpp"
     27#include "Helpers/Assert.hpp"
    2828
    2929#include <iostream>
Note: See TracChangeset for help on using the changeset viewer.