mirror of
https://github.com/KjellKod/g3log.git
synced 2024-12-12 18:30:25 +01:00
3rdParty | ||
g2log | ||
test_main | ||
README |
HOW TO BUILD =================== This g2log is a snapshot from KjellKod repository. It contains what is needed to build example, unit test and performance test of g2log. If you want to integrate g2log in your own software you need the following files g2log/src/ g2log.cpp/h g2logworker.cpp/h crashhandler.h (crashhandler_win.cpp or crashhandler_unix.cpp) shared_queue.h active.h/cpp BUILDING g2log: ----------- The default is to build an example binary 'g2log-example' I suggest you start with that, run it and view the created log also. If you are interested in the performance or unit tests then you can enable the creation of them in the g2log/CMakeLists.txt file. See that file for more details --- Building --- cd g2log mkdir build cd build cmake .. make CONTENTS =========================== 3rdParty -- gtest, glog. ----------------------- Both are needed to compile the unit test and the logger comparison tests gtest is included by the CMake and you don't need to do anything with it. glog is not included and must be installed if you want to run the comparison tests About the Active Object -------------------- Is made with standard C++ components with the help of the latest C++0x and std::thread features (thanks to justthread). For more details see www.kjellkod.cc/active-object-with-cpp0x. An example is provided. Other examples on pre C++0x Active Objects can also be found at www.kjellkod.cc (code page) Good luck. Any questions? Contact me on my blog or Hedstrom@kjellkod.cc Regards Kjell