Add subdirectory for cryptography examples

+ Add example using columnar transposition for encrypting / decrypting messages
+ Fix cmake build error from duplicate lib-bst when building from project root
This commit is contained in:
2021-07-20 11:21:59 -04:00
parent 23c4f0e491
commit c8683680dd
7 changed files with 304 additions and 3 deletions

View File

@@ -0,0 +1,22 @@
################################################################################
## Author: Shaun Reed ##
## Legal: All Content (c) 2021 Shaun Reed, all rights reserved ##
## About: A root project for practicing columnar transposition cipher in C++ ##
## ##
## Contact: shaunrd0@gmail.com | URL: www.shaunreed.com | GitHub: shaunrd0 ##
################################################################################
#
cmake_minimum_required(VERSION 3.15)
project(
#[[NAME]] ColumnarTransposition
VERSION 1.0
DESCRIPTION "Practice implementing columnar transposition in C++"
LANGUAGES CXX
)
add_library(lib-cipher "lib-cipher.cpp")
add_executable(columnar-transposition-test "driver.cpp")
target_link_libraries(columnar-transposition-test lib-cipher)