diff options
Diffstat (limited to 'utils/CMakeLists.txt')
-rw-r--r-- | utils/CMakeLists.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt index e1099af..f38eeb8 100644 --- a/utils/CMakeLists.txt +++ b/utils/CMakeLists.txt @@ -6,3 +6,15 @@ endmacro() util(aes128ecb_encrypt_file) util(aes128ecb_decrypt_file) + +find_package(Boost REQUIRED COMPONENTS program_options) + +add_executable(util_encrypt_file_aes encrypt_file_aes.cpp common_aes.hpp) +target_include_directories(util_encrypt_file_aes PRIVATE ${Boost_INCLUDE_DIRS}) +target_link_libraries(util_encrypt_file_aes libaesni libaesnixx ${Boost_LIBRARIES}) +set_target_properties(util_encrypt_file_aes PROPERTIES OUTPUT_NAME encrypt_file_aes) + +add_executable(util_decrypt_file_aes decrypt_file_aes.cpp common_aes.hpp) +target_include_directories(util_decrypt_file_aes PRIVATE ${Boost_INCLUDE_DIRS}) +target_link_libraries(util_decrypt_file_aes libaesni libaesnixx ${Boost_LIBRARIES}) +set_target_properties(util_decrypt_file_aes PROPERTIES OUTPUT_NAME decrypt_file_aes) |