2021-04-22 21:41:40 +01:00
|
|
|
cmake_minimum_required(VERSION 3.13)
|
|
|
|
|
2021-06-19 01:11:49 +01:00
|
|
|
include_directories(${PROJECT_SOURCE_DIR}/3rd/gbench/include)
|
|
|
|
link_directories(${CMAKE_CURRENT_BINARY_DIR}/../../3rd/gbench/lib)
|
|
|
|
|
2021-04-22 21:41:40 +01:00
|
|
|
add_executable(
|
2021-06-22 01:10:08 +01:00
|
|
|
bench
|
|
|
|
kyber.cc
|
2021-04-22 21:41:40 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(
|
2021-06-22 01:10:08 +01:00
|
|
|
bench
|
2021-04-22 21:41:40 +01:00
|
|
|
|
2021-06-22 01:10:08 +01:00
|
|
|
pqc
|
|
|
|
benchmark
|
|
|
|
benchmark_main
|
2021-06-22 01:14:17 +01:00
|
|
|
${CXXLIBS_FOR_MEMORY_SANITIZER})
|
2021-04-22 21:41:40 +01:00
|
|
|
|