SHA256
modify something
This commit is contained in:
+8
-1
@@ -4,6 +4,10 @@ project(FeatherLog)
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED True)
|
||||
|
||||
add_compile_definitions(FLOG_IMPL_CONSOLE_OUTPUTTER) # build with default console outputter
|
||||
add_compile_definitions(FLOG_IMPL_FILE_OUTPUTTER) # build with default file outputter
|
||||
add_compile_definitions(FLOG_IMPL_DEFAULT_FORMATTER) # build with default formatter
|
||||
|
||||
# 定义源文件
|
||||
set(${PROJECT_NAME}_SOURCES
|
||||
include/featherlog/log_manager.hpp
|
||||
@@ -16,7 +20,10 @@ set(${PROJECT_NAME}_SOURCES
|
||||
include/featherlog/push_result.hpp
|
||||
include/featherlog/log_message_flag.hpp
|
||||
include/featherlog/featherlog.hpp
|
||||
src/log_manager.cpp)
|
||||
src/log_manager.cpp
|
||||
src/log_message_flag.cpp
|
||||
include/featherlog/impl/flog_impl.hpp
|
||||
include/featherlog/impl/console_outputter.hpp)
|
||||
|
||||
# 生成静态库
|
||||
add_library(${PROJECT_NAME}_static STATIC ${${PROJECT_NAME}_SOURCES})
|
||||
|
||||
Reference in New Issue
Block a user