Skip to content

Commit

Permalink
[#145] Moved crypto modules into single source folder;
Browse files Browse the repository at this point in the history
  • Loading branch information
jlucas9 committed Apr 25, 2023
1 parent a5467c4 commit 49848f0
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,19 @@ else()
endif()

if(LIBGCRYPT)
aux_source_directory(src_cryptography/src_libgcrypt LIB_SRC_LIBGCRYPT_FILES)
list(APPEND LIB_SRC_FILES ${LIB_SRC_LIBGCRYPT_FILES})
aux_source_directory(crypto/libgcrypt LIBGCRYPT_FILES)
list(APPEND LIB_SRC_FILES ${LIBGCRYPT_FILES})
else()
aux_source_directory(src_feature_stubs/cryptography_libgcrypt_stub LIB_SRC_LIBGCRYPT_FILES)
list(APPEND LIB_SRC_FILES ${LIB_SRC_LIBGCRYPT_FILES})
aux_source_directory(crypto/libgcrypt_stub LIBGCRYPT_FILES)
list(APPEND LIB_SRC_FILES ${LIBGCRYPT_FILES})
endif()

if(KMCCRYPTO)
aux_source_directory(src_cryptography/src_kmc_crypto_service LIB_SRC_KMC_CRYPTO_FILES)
list(APPEND LIB_SRC_FILES ${LIB_SRC_KMC_CRYPTO_FILES})
aux_source_directory(crypto/kmc KMC_FILES)
list(APPEND LIB_SRC_FILES ${KMC_FILES})
else()
aux_source_directory(src_feature_stubs/cryptography_kmc_stub LIB_SRC_KMC_CRYPTO_FILES)
list(APPEND LIB_SRC_FILES ${LIB_SRC_KMC_CRYPTO_FILES})
aux_source_directory(crypto/kmc_stub KMC_FILES)
list(APPEND LIB_SRC_FILES ${KMC_FILES})
endif()

if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 49848f0

Please sign in to comment.