Changeset 4835 for branches/erijo-dev

Show
Ignore:
Timestamp:
01/27/07 08:35:10 (23 months ago)
Author:
erijo
Message:

Add a TLogSerializer class and some small fixes

Location:
branches/erijo-dev/licq
Files:
2 added
4 modified

Legend:

Unmodified
Added
Removed
  • branches/erijo-dev/licq/CMakeLists.txt

    r4831 r4835  
    22cmake_minimum_required(VERSION 2.4.5) 
    33include(TestCXXAcceptsFlag) 
     4 
     5# Use DEBUG as default build type 
     6if (NOT CMAKE_BUILD_TYPE) 
     7  set(CMAKE_BUILD_TYPE Debug CACHE STRING 
     8    "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel Maintainer." 
     9    FORCE) 
     10endif (NOT CMAKE_BUILD_TYPE) 
    411 
    512# Enables testing with ctest and adds a "test" target (make test) 
     
    2936set(DLOPEN_POLICY RTLD_NOW) 
    3037 
     38# Threads 
     39find_package(Threads REQUIRED) 
     40 
    3141# Boost 
    3242find_package(Boost REQUIRED) 
  • branches/erijo-dev/licq/licq/interface/log.h

    r4827 r4835  
    4949  virtual void log(LogType type, const char* format, va_list ap) = 0; 
    5050 
    51   void log(LogType type, const char* format, ...) CHECK_FORMAT(3, 4); 
     51  void note(LogType type, const char* format, ...) CHECK_FORMAT(3, 4); 
    5252 
    5353  void info(const char* format, ...) CHECK_FORMAT(2, 3); 
     
    6868} 
    6969 
    70 inline void Licq::ILog::log(LogType type, const char* format, ...) 
     70inline void Licq::ILog::note(LogType type, const char* format, ...) 
    7171{ 
    7272  va_list ap; 
  • branches/erijo-dev/licq/src/CMakeLists.txt

    r4829 r4835  
    77 
    88add_library(licqdaemon STATIC ${licqdaemon_SRCS}) 
     9target_link_libraries(licqdaemon licqutils) 
    910target_link_libraries(licqdaemon boost_filesystem) 
    1011 
    1112add_executable(licq main.cpp) 
    1213target_link_libraries(licq licqdaemon) 
    13 target_link_libraries(licq licqutils) 
    1414 
    1515add_subdirectory(tests) 
  • branches/erijo-dev/licq/src/tests/CMakeLists.txt

    r4829 r4835  
    11set(licqdaemontest_SRCS 
    22  eventtest.cpp 
     3  logserializertest.cpp 
    34  main.cpp 
    45  versiontest.cpp