aboutsummaryrefslogtreecommitdiff
path: root/microbench/CMakeLists.txt
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2018-06-10 14:24:29 +0200
committerDennis Brentjes <d.brentjes@gmail.com>2018-06-10 15:12:01 +0200
commite8f1b85d7441a09fa30f27c720e5dff4f2b1aa71 (patch)
tree766cb6124ad82d6c446b96bc51fe824a12ce401f /microbench/CMakeLists.txt
parent4ae87e3ce2dd1ff326af38561740bd62315b51ba (diff)
downloadcmix-master.tar.gz
cmix-master.tar.bz2
cmix-master.zip
Adds a microbenchmark executable.HEADmaster
Diffstat (limited to 'microbench/CMakeLists.txt')
-rw-r--r--microbench/CMakeLists.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/microbench/CMakeLists.txt b/microbench/CMakeLists.txt
new file mode 100644
index 0000000..a132ecf
--- /dev/null
+++ b/microbench/CMakeLists.txt
@@ -0,0 +1,18 @@
+
+find_package(Gcrypt REQUIRED)
+find_package(Boost COMPONENTS timer REQUIRED)
+
+add_executable(microbench
+ microbench.cpp
+)
+
+target_compile_options(scratchpad
+ PRIVATE ${Gcrypt_CFLAGS}
+)
+
+target_link_libraries(microbench
+ PRIVATE cmix
+ PRIVATE cmix-crypto
+ PRIVATE ${Gcrypt_LIBRARIES}
+ PRIVATE Boost::timer
+)