Changeset 4835 for branches/erijo-dev
- Timestamp:
- 01/27/07 08:35:10 (23 months ago)
- Location:
- branches/erijo-dev/licq
- Files:
-
- 2 added
- 4 modified
-
CMakeLists.txt (modified) (2 diffs)
-
licq/interface/log.h (modified) (2 diffs)
-
src/CMakeLists.txt (modified) (1 diff)
-
src/logserializer.h (added)
-
src/tests/CMakeLists.txt (modified) (1 diff)
-
src/tests/logserializertest.cpp (added)
Legend:
- Unmodified
- Added
- Removed
-
branches/erijo-dev/licq/CMakeLists.txt
r4831 r4835 2 2 cmake_minimum_required(VERSION 2.4.5) 3 3 include(TestCXXAcceptsFlag) 4 5 # Use DEBUG as default build type 6 if (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) 10 endif (NOT CMAKE_BUILD_TYPE) 4 11 5 12 # Enables testing with ctest and adds a "test" target (make test) … … 29 36 set(DLOPEN_POLICY RTLD_NOW) 30 37 38 # Threads 39 find_package(Threads REQUIRED) 40 31 41 # Boost 32 42 find_package(Boost REQUIRED) -
branches/erijo-dev/licq/licq/interface/log.h
r4827 r4835 49 49 virtual void log(LogType type, const char* format, va_list ap) = 0; 50 50 51 void log(LogType type, const char* format, ...) CHECK_FORMAT(3, 4);51 void note(LogType type, const char* format, ...) CHECK_FORMAT(3, 4); 52 52 53 53 void info(const char* format, ...) CHECK_FORMAT(2, 3); … … 68 68 } 69 69 70 inline void Licq::ILog:: log(LogType type, const char* format, ...)70 inline void Licq::ILog::note(LogType type, const char* format, ...) 71 71 { 72 72 va_list ap; -
branches/erijo-dev/licq/src/CMakeLists.txt
r4829 r4835 7 7 8 8 add_library(licqdaemon STATIC ${licqdaemon_SRCS}) 9 target_link_libraries(licqdaemon licqutils) 9 10 target_link_libraries(licqdaemon boost_filesystem) 10 11 11 12 add_executable(licq main.cpp) 12 13 target_link_libraries(licq licqdaemon) 13 target_link_libraries(licq licqutils)14 14 15 15 add_subdirectory(tests) -
branches/erijo-dev/licq/src/tests/CMakeLists.txt
r4829 r4835 1 1 set(licqdaemontest_SRCS 2 2 eventtest.cpp 3 logserializertest.cpp 3 4 main.cpp 4 5 versiontest.cpp
