diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2015-06-19 09:42:55 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2015-06-19 09:42:55 +0300 |
commit | 3716501690fb4e1ddd1af385b4d012cce2d107ac (patch) | |
tree | 1b4f48b22cc980ba7cfb93bd5a83ec5e078157de /utils/CMakeLists.txt | |
parent | refactoring (diff) | |
download | aes-tools-3716501690fb4e1ddd1af385b4d012cce2d107ac.tar.gz aes-tools-3716501690fb4e1ddd1af385b4d012cce2d107ac.zip |
add buffer encryption to "boxes"
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) |