aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/examples/CMakeLists.txt
blob: 581379334803c75121fa6399002d9dfede992dfd (plain) (tree)
1
2
3
4
5
6
7
8
9






                                                                   

                  

                  
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(aes192ecb)
example(aes256ecb)
example(aes256cbc)