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

                                                                
                                                                             

          
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  

                  
                  
                  
                  
macro(example prefix)
    add_executable(example_${prefix} ${prefix}.cpp)
    target_link_libraries(example_${prefix} libaesni libaesnixx)
    set_target_properties(example_${prefix} PROPERTIES OUTPUT_NAME ${prefix})
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)