This is encapsule of glog offering cross-file function.
In the future, I will import json parser and something else. So far, only cross-file log function is supplied.
bash install.sh
After installation, a simple demo by CMakelists.txt:
find_package(iipl REQUIRED)
if(iipl_FOUND)
message(STATUS "iipl found")
else()
message(STATUS "iipl not found")
endif()
add_executable(test test.cpp)
target_link_libraries(test iipl)
See more details on run it in test folder.
- // TODO: after making install, error occours: // engine.cpp:(.text+0x13e): undefined reference to `fLU::FLAGS_max_log_size' // // FLAGS_max_log_size = 16; // set max log file size(MB) // FLAGS_stop_logging_if_full_disk = true; // If disk if full
- install glog gflag in cmake
- Add examples
marco LOGTOSTD not workmake uninstallenable -logtostd after installed