mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
Updated bench cmake
This commit is contained in:
parent
e933c5f481
commit
7d7ccac416
@ -41,4 +41,9 @@ add_executable(latency latency.cpp)
|
|||||||
set(CMAKE_CXX_STANDARD_LIBRARIES -lbenchmark)
|
set(CMAKE_CXX_STANDARD_LIBRARIES -lbenchmark)
|
||||||
target_link_libraries(latency spdlog::spdlog Threads::Threads)
|
target_link_libraries(latency spdlog::spdlog Threads::Threads)
|
||||||
|
|
||||||
|
|
||||||
|
add_executable(padder_bench padder_bench.cpp)
|
||||||
|
set(CMAKE_CXX_STANDARD_LIBRARIES -lbenchmark)
|
||||||
|
target_link_libraries(padder_bench spdlog::spdlog Threads::Threads)
|
||||||
|
|
||||||
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/logs")
|
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/logs")
|
||||||
|
Loading…
Reference in New Issue
Block a user