aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples/CMakeLists.txt
blob: b9bbf3757dd9ea17332b2689ed351c4c467872ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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(aes128ecb)
example(aes128cbc)
example(aes192ecb)
example(aes192cbc)
example(aes256ecb)
example(aes256cbc)