Skip to content

Commit 0fa058e

Browse files
lemireshikharish
andcommitted
adding bench_ip
Co-authored-by: Shikhar <[email protected]>
1 parent 157deae commit 0fa058e

File tree

6 files changed

+204
-1405
lines changed

6 files changed

+204
-1405
lines changed

benchmarks/CMakeLists.txt

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,27 @@
1+
include(FetchContent)
2+
3+
FetchContent_Declare(
4+
counters
5+
GIT_REPOSITORY https://github.com/lemire/counters.git
6+
GIT_TAG v1.0.1
7+
)
8+
9+
FetchContent_MakeAvailable(counters)
10+
111
add_executable(realbenchmark benchmark.cpp)
12+
target_link_libraries(realbenchmark PRIVATE Counters::counters)
13+
add_executable(bench_ip bench_ip.cpp)
14+
target_link_libraries(bench_ip PRIVATE Counters::counters)
15+
216
set_property(
317
TARGET realbenchmark
418
PROPERTY CXX_STANDARD 17)
5-
19+
set_property(
20+
TARGET bench_ip
21+
PROPERTY CXX_STANDARD 17)
622
target_link_libraries(realbenchmark PUBLIC fast_float)
23+
target_link_libraries(bench_ip PUBLIC fast_float)
24+
725
include(ExternalProject)
826

927
# Define the external project

0 commit comments

Comments
 (0)