Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
S
spdlog
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
spdlog
Commits
611df496
Commit
611df496
authored
Jan 14, 2019
by
myd7349
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #961 benchmark link error
parent
0a4ccf22
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
CMakeLists.txt
bench/CMakeLists.txt
+5
-6
No files found.
bench/CMakeLists.txt
View file @
611df496
...
...
@@ -30,20 +30,19 @@ if(NOT TARGET spdlog)
endif
()
find_package
(
Threads REQUIRED
)
find_package
(
benchmark CONFIG REQUIRED
)
add_executable
(
bench bench.cpp
)
target_link_libraries
(
bench spdlog::spdlog Threads::Threads
)
target_link_libraries
(
bench
PRIVATE
spdlog::spdlog Threads::Threads
)
add_executable
(
async_bench async_bench.cpp
)
target_link_libraries
(
async_bench spdlog::spdlog Threads::Threads
)
target_link_libraries
(
async_bench
PRIVATE
spdlog::spdlog Threads::Threads
)
add_executable
(
latency latency.cpp
)
set
(
CMAKE_CXX_STANDARD_LIBRARIES -lbenchmark
)
target_link_libraries
(
latency spdlog::spdlog Threads::Threads
)
target_link_libraries
(
latency PRIVATE benchmark::benchmark spdlog::spdlog Threads::Threads
)
add_executable
(
formatter-bench formatter-bench.cpp
)
set
(
CMAKE_CXX_STANDARD_LIBRARIES -lbenchmark
)
target_link_libraries
(
formatter-bench spdlog::spdlog Threads::Threads
)
target_link_libraries
(
formatter-bench PRIVATE benchmark::benchmark spdlog::spdlog Threads::Threads
)
file
(
MAKE_DIRECTORY
"
${
CMAKE_CURRENT_BINARY_DIR
}
/logs"
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment