diff options
Diffstat (limited to 'examples/CMakeLists.txt')
-rw-r--r-- | examples/CMakeLists.txt | 11 |
1 files changed, 11 insertions, 0 deletions
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) |