From 1463fd0559e0a664cd6a1bf6462a68dd79e58814 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 22 May 2015 01:03:07 +0300 Subject: initial commit --- examples/CMakeLists.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 examples/CMakeLists.txt (limited to 'examples/CMakeLists.txt') diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt new file mode 100644 index 0000000..8277421 --- /dev/null +++ b/examples/CMakeLists.txt @@ -0,0 +1,11 @@ +set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /SAFESEH:NO") + +macro(example prefix) + add_executable(${prefix}_example ${prefix}_example.c) + target_link_libraries(${prefix}_example libaesni) +endmacro() + +example(aes128) +example(aes192) +example(aes256ecb) +example(aes256cbc) -- cgit v1.2.3