* #feat 增强Fatal级别的底色,修改logging类的方法 * 更新版本号 * 加入test脚本 * fix:conanfile * test action * 修复错别字 * add test on windows action * fix test on windows action * fix action on windows * fix * fix 内存分配错误 * fix msvc 不支持中文注释,删除中文注释 * test on windows and test chinese char * ersion 0.2.4 * feature:根据文件大小分割日志 * fix:内存泄露 * fix:使用char偏移单位
14 lines
376 B
CMake
14 lines
376 B
CMake
project(logging)
|
|
|
|
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR} SRC)
|
|
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/handler SRC)
|
|
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/interceptor SRC)
|
|
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/utils SRC)
|
|
|
|
if (SHARED)
|
|
add_library(${PROJECT_NAME} SHARED ${SRC})
|
|
else()
|
|
add_library(${PROJECT_NAME} ${SRC})
|
|
endif()
|
|
|