aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples/CMakeLists.txt
blob: 827742151484178de2ada414ae9aee4394cb4340 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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)