aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/CMakeLists.txt
blob: 199388db44974f48327f70661fa585625ca71482 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
find_package(Boost REQUIRED COMPONENTS program_options)

add_executable(test_encrypt_block_aes encrypt_block_aes.cpp common_aes.hpp)
target_include_directories(test_encrypt_block_aes PRIVATE ${Boost_INCLUDE_DIRS})
target_link_libraries(test_encrypt_block_aes libaesni libaesnixx ${Boost_LIBRARIES})
set_target_properties(test_encrypt_block_aes PROPERTIES OUTPUT_NAME encrypt_block_aes)

add_executable(test_decrypt_block_aes decrypt_block_aes.cpp common_aes.hpp)
target_include_directories(test_decrypt_block_aes PRIVATE ${Boost_INCLUDE_DIRS})
target_link_libraries(test_decrypt_block_aes libaesni libaesnixx ${Boost_LIBRARIES})
set_target_properties(test_decrypt_block_aes PROPERTIES OUTPUT_NAME decrypt_block_aes)