Skip to content

Commit

Permalink
Properly remove benchmark dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
nicovank committed Sep 12, 2023
1 parent 75ef1a0 commit f1f0dec
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,11 @@ target_link_libraries(litterer_static PRIVATE Threads::Threads)
foreach(OBJECT_SIZE IN ITEMS 16 32 64 128)
add_executable(microbenchmark-pages-${OBJECT_SIZE} microbenchmark-pages.cpp)
target_compile_options(microbenchmark-pages-${OBJECT_SIZE} PRIVATE -Wall -Wextra -Wpedantic -Werror -Wno-volatile)
target_link_libraries(microbenchmark-pages-${OBJECT_SIZE} PRIVATE benchmark)
target_link_libraries(microbenchmark-pages-${OBJECT_SIZE} PRIVATE Threads::Threads)
target_compile_definitions(microbenchmark-pages-${OBJECT_SIZE} PRIVATE -DOBJECT_SIZE=${OBJECT_SIZE})

add_executable(microbenchmark-pages-litter-${OBJECT_SIZE} microbenchmark-pages.cpp)
target_compile_options(microbenchmark-pages-litter-${OBJECT_SIZE} PRIVATE -Wall -Wextra -Wpedantic -Werror -Wno-volatile)
target_link_libraries(microbenchmark-pages-litter-${OBJECT_SIZE} PRIVATE benchmark)
target_link_libraries(microbenchmark-pages-litter-${OBJECT_SIZE} PRIVATE Threads::Threads)
target_compile_definitions(microbenchmark-pages-litter-${OBJECT_SIZE} PRIVATE -DLITTER -DOBJECT_SIZE=${OBJECT_SIZE})
endforeach()
Expand Down

0 comments on commit f1f0dec

Please sign in to comment.