diff options
author | crupest <crupest@outlook.com> | 2021-12-09 22:03:01 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-12-09 22:03:01 +0800 |
commit | 67b8e07ec2af50b35b89528e951e40eec13bc775 (patch) | |
tree | a4abbb4ebdc41e5adea839274488c1763cbc32fb /information-security-experiment/CMakeLists.txt | |
parent | 3ebe7107c574254e2cf866f80a182cef31bcf45c (diff) | |
download | life-67b8e07ec2af50b35b89528e951e40eec13bc775.tar.gz life-67b8e07ec2af50b35b89528e951e40eec13bc775.tar.bz2 life-67b8e07ec2af50b35b89528e951e40eec13bc775.zip |
...
Diffstat (limited to 'information-security-experiment/CMakeLists.txt')
-rw-r--r-- | information-security-experiment/CMakeLists.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/information-security-experiment/CMakeLists.txt b/information-security-experiment/CMakeLists.txt new file mode 100644 index 0000000..f44e2f1 --- /dev/null +++ b/information-security-experiment/CMakeLists.txt @@ -0,0 +1,19 @@ +cmake_minimum_required(VERSION 3.20) + +set(CMAKE_TOOLCHAIN_FILE $ENV{VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake + CACHE STRING "Vcpkg toolchain file") + +project(information-security-experiment) + +set(CMAKE_CXX_STANDARD 20) + +find_package(OpenSSL REQUIRED) + +add_executable(des des.cpp) +target_link_libraries(des PRIVATE OpenSSL::Crypto) + +add_executable(md5 md5.cpp) +target_link_libraries(md5 PRIVATE OpenSSL::Crypto) + +add_executable(rsa rsa.cpp) +target_link_libraries(rsa PRIVATE OpenSSL::Crypto) |