aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/utils/CMakeLists.txt
blob: 643dc316720eb9a68e4ecf34fced3383f3a1e18f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

                                                       



                                                                                
 



                                                                                
 



                                                                               
 



                                                                               
 



                                                                              
 



                                                                              
find_package(Boost REQUIRED COMPONENTS program_options)

add_executable(util_encrypt_block encrypt_block.cpp block_common.hpp)
target_include_directories(util_encrypt_block PRIVATE ${Boost_INCLUDE_DIRS})
target_link_libraries(util_encrypt_block libaesni libaesnixx ${Boost_LIBRARIES})
set_target_properties(util_encrypt_block PROPERTIES OUTPUT_NAME encrypt_block)

add_executable(util_decrypt_block decrypt_block.cpp block_common.hpp)
target_include_directories(util_decrypt_block PRIVATE ${Boost_INCLUDE_DIRS})
target_link_libraries(util_decrypt_block libaesni libaesnixx ${Boost_LIBRARIES})
set_target_properties(util_decrypt_block PROPERTIES OUTPUT_NAME decrypt_block)

add_executable(util_encrypt_file encrypt_file.cpp file_common.hpp)
target_include_directories(util_encrypt_file PRIVATE ${Boost_INCLUDE_DIRS})
target_link_libraries(util_encrypt_file libaesni libaesnixx ${Boost_LIBRARIES})
set_target_properties(util_encrypt_file PROPERTIES OUTPUT_NAME encrypt_file)

add_executable(util_decrypt_file decrypt_file.cpp file_common.hpp)
target_include_directories(util_decrypt_file PRIVATE ${Boost_INCLUDE_DIRS})
target_link_libraries(util_decrypt_file libaesni libaesnixx ${Boost_LIBRARIES})
set_target_properties(util_decrypt_file PROPERTIES OUTPUT_NAME decrypt_file)

add_executable(util_encrypt_bmp encrypt_bmp.cpp file_common.hpp)
target_include_directories(util_encrypt_bmp PRIVATE ${Boost_INCLUDE_DIRS})
target_link_libraries(util_encrypt_bmp libaesni libaesnixx ${Boost_LIBRARIES})
set_target_properties(util_encrypt_bmp PROPERTIES OUTPUT_NAME encrypt_bmp)

add_executable(util_decrypt_bmp decrypt_bmp.cpp file_common.hpp)
target_include_directories(util_decrypt_bmp PRIVATE ${Boost_INCLUDE_DIRS})
target_link_libraries(util_decrypt_bmp libaesni libaesnixx ${Boost_LIBRARIES})
set_target_properties(util_decrypt_bmp PROPERTIES OUTPUT_NAME decrypt_bmp)