From 20ee3b5a4f110f53a73746e18fc0eb0cbbb7845c Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 2 Nov 2013 04:32:18 +0100 Subject: Implement the first step towards a more flexible way to support crypto methods --- src/crypto/cipher/aes128_ctr/CMakeLists.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/crypto/cipher/aes128_ctr/CMakeLists.txt (limited to 'src/crypto/cipher/aes128_ctr/CMakeLists.txt') diff --git a/src/crypto/cipher/aes128_ctr/CMakeLists.txt b/src/crypto/cipher/aes128_ctr/CMakeLists.txt new file mode 100644 index 0000000..6237a7c --- /dev/null +++ b/src/crypto/cipher/aes128_ctr/CMakeLists.txt @@ -0,0 +1,18 @@ +set(IMPLS "") + +if(WITH_CIPHER_AES128_CTR_NACL) + list(APPEND IMPLS nacl) +endif(WITH_CIPHER_AES128_CTR_NACL) + +set(IMPL_SOURCES "") + +foreach(impl ${IMPLS}) + add_subdirectory(${impl}) + + list(APPEND IMPL_SOURCES $) +endforeach(impl) + + +set(CIPHER_NAME "aes128-ctr" PARENT_SCOPE) +set(IMPLS "${IMPLS}" PARENT_SCOPE) +set(IMPL_SOURCES "${IMPL_SOURCES}" PARENT_SCOPE) -- cgit v1.2.3