Skip to content
Snippets Groups Projects

Thread safe implementation of streamlog

Closed Imported FU Chengdong requested to merge github/fork/rete/streamlog-thread-safe into master
23 files
+ 1903
519
Compare changes
  • Side-by-side
  • Inline
Files
23
+ 14
0
@@ -13,6 +13,7 @@ INCLUDE( ilcsoft_default_settings )
FIND_PACKAGE( ILCTEST REQUIRED )
FIND_PACKAGE( streamlog REQUIRED )
FIND_PACKAGE( Threads REQUIRED )
INCLUDE( ilcsoft_default_enable_ctest )
@@ -21,3 +22,16 @@ INCLUDE( MacroAddILCTest )
ADD_ILCTEST( hello_world ./hello_world.cc )
ADD_DEFINITIONS( -DSTREAMLOG_LEVEL=0 )
INCLUDE_DIRECTORIES( BEFORE ${streamlog_INCLUDE_DIRS} )
ADD_EXECUTABLE( streamlog_example streamlog_example.cc )
TARGET_LINK_LIBRARIES( streamlog_example ${streamlog_LIBRARIES} )
ADD_EXECUTABLE( streamlog_mt_example streamlog_mt_example.cc )
TARGET_LINK_LIBRARIES( streamlog_mt_example ${streamlog_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} )
ADD_EXECUTABLE( streamlog_mt_file_example streamlog_mt_file_example.cc )
TARGET_LINK_LIBRARIES( streamlog_mt_file_example ${streamlog_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} )
Loading