diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-10-17 07:11:34 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-10-17 07:11:34 +0300 |
commit | bbe68505981c448c7b81e1ad98fc038ef19d0c17 (patch) | |
tree | ad589e44a12c232ba71d435e1c17c9e984032864 /utils | |
parent | CMakeLists.txt: code style (diff) | |
download | aes-tools-bbe68505981c448c7b81e1ad98fc038ef19d0c17.tar.gz aes-tools-bbe68505981c448c7b81e1ad98fc038ef19d0c17.zip |
fix compiler warnings
Diffstat (limited to 'utils')
-rw-r--r-- | utils/CMakeLists.txt | 12 | ||||
-rw-r--r-- | utils/decrypt_block.cpp | 2 | ||||
-rw-r--r-- | utils/encrypt_block.cpp | 2 |
3 files changed, 6 insertions, 10 deletions
diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt index 177f888..5db82b3 100644 --- a/utils/CMakeLists.txt +++ b/utils/CMakeLists.txt @@ -1,31 +1,31 @@ find_package(Boost REQUIRED COMPONENTS filesystem program_options system) add_executable(util_encrypt_block encrypt_block.cpp block_cmd_parser.hpp block_dumper.hpp block_input.hpp data_parsers.hpp) -target_include_directories(util_encrypt_block PRIVATE ${Boost_INCLUDE_DIRS}) +target_include_directories(util_encrypt_block SYSTEM PRIVATE ${Boost_INCLUDE_DIRS}) target_link_libraries(util_encrypt_block PRIVATE libaesxx ${Boost_LIBRARIES}) set_target_properties(util_encrypt_block PROPERTIES OUTPUT_NAME encrypt_block) add_executable(util_decrypt_block decrypt_block.cpp block_cmd_parser.hpp block_dumper.hpp block_input.hpp data_parsers.hpp) -target_include_directories(util_decrypt_block PRIVATE ${Boost_INCLUDE_DIRS}) +target_include_directories(util_decrypt_block SYSTEM PRIVATE ${Boost_INCLUDE_DIRS}) target_link_libraries(util_decrypt_block PRIVATE libaesxx ${Boost_LIBRARIES}) set_target_properties(util_decrypt_block PROPERTIES OUTPUT_NAME decrypt_block) add_executable(util_encrypt_file encrypt_file.cpp file_cmd_parser.hpp data_parsers.hpp) -target_include_directories(util_encrypt_file PRIVATE ${Boost_INCLUDE_DIRS}) +target_include_directories(util_encrypt_file SYSTEM PRIVATE ${Boost_INCLUDE_DIRS}) target_link_libraries(util_encrypt_file PRIVATE libaesxx ${Boost_LIBRARIES}) set_target_properties(util_encrypt_file PROPERTIES OUTPUT_NAME encrypt_file) add_executable(util_decrypt_file decrypt_file.cpp file_cmd_parser.hpp data_parsers.hpp) -target_include_directories(util_decrypt_file PRIVATE ${Boost_INCLUDE_DIRS}) +target_include_directories(util_decrypt_file SYSTEM PRIVATE ${Boost_INCLUDE_DIRS}) target_link_libraries(util_decrypt_file PRIVATE libaesxx ${Boost_LIBRARIES}) set_target_properties(util_decrypt_file PROPERTIES OUTPUT_NAME decrypt_file) add_executable(util_encrypt_bmp encrypt_bmp.cpp file_cmd_parser.hpp data_parsers.hpp) -target_include_directories(util_encrypt_bmp PRIVATE ${Boost_INCLUDE_DIRS}) +target_include_directories(util_encrypt_bmp SYSTEM PRIVATE ${Boost_INCLUDE_DIRS}) target_link_libraries(util_encrypt_bmp PRIVATE libaesxx ${Boost_LIBRARIES}) set_target_properties(util_encrypt_bmp PROPERTIES OUTPUT_NAME encrypt_bmp) add_executable(util_decrypt_bmp decrypt_bmp.cpp file_cmd_parser.hpp data_parsers.hpp) -target_include_directories(util_decrypt_bmp PRIVATE ${Boost_INCLUDE_DIRS}) +target_include_directories(util_decrypt_bmp SYSTEM PRIVATE ${Boost_INCLUDE_DIRS}) target_link_libraries(util_decrypt_bmp PRIVATE libaesxx ${Boost_LIBRARIES}) set_target_properties(util_decrypt_bmp PROPERTIES OUTPUT_NAME decrypt_bmp) diff --git a/utils/decrypt_block.cpp b/utils/decrypt_block.cpp index 6961a9c..8c388c1 100644 --- a/utils/decrypt_block.cpp +++ b/utils/decrypt_block.cpp @@ -195,8 +195,6 @@ int main(int argc, char** argv) settings.verbose()); } } - - return 0; } catch (const boost::program_options::error& e) { diff --git a/utils/encrypt_block.cpp b/utils/encrypt_block.cpp index 9fa998f..b51d59c 100644 --- a/utils/encrypt_block.cpp +++ b/utils/encrypt_block.cpp @@ -195,8 +195,6 @@ int main(int argc, char** argv) settings.verbose()); } } - - return 0; } catch (const boost::program_options::error& e) { |