mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-28 09:09:35 +08:00
auto create log dir
This commit is contained in:
@@ -25,5 +25,3 @@ if(SPDLOG_BUILD_EXAMPLE_HO)
|
||||
target_link_libraries(example_header_only PRIVATE spdlog::spdlog_header_only)
|
||||
endif()
|
||||
|
||||
# Create logs directory
|
||||
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/logs")
|
||||
|
@@ -1,5 +1,4 @@
|
||||
executable('example', 'example.cpp', dependencies: spdlog_dep)
|
||||
executable('example_header_only', 'example.cpp', dependencies: spdlog_headeronly_dep)
|
||||
run_command(find_program('mkdir'), meson.current_build_dir() + '/logs')
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user