blob: db2b2c4a1d6f2b0adb6babb25b742309aa924c8a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
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(aes128cfb)
example(aes128ofb)
example(aes128ctr)
example(aes192ecb)
example(aes192cbc)
example(aes192cfb)
example(aes192ofb)
example(aes192ctr)
example(aes256ecb)
example(aes256cbc)
example(aes256cfb)
example(aes256ofb)
example(aes256ctr)
|