2016-02-11 16:39:42 +01:00
|
|
|
project (cryfs)
|
|
|
|
|
2016-02-23 21:07:23 +01:00
|
|
|
set(LIB_SOURCES
|
|
|
|
# cryfs.cpp
|
2019-01-26 08:38:34 +01:00
|
|
|
impl/CryfsException.cpp
|
|
|
|
impl/config/crypto/outer/OuterConfig.cpp
|
|
|
|
impl/config/crypto/outer/OuterEncryptor.cpp
|
|
|
|
impl/config/crypto/CryConfigEncryptorFactory.cpp
|
|
|
|
impl/config/crypto/inner/ConcreteInnerEncryptor.cpp
|
|
|
|
impl/config/crypto/inner/InnerConfig.cpp
|
|
|
|
impl/config/crypto/inner/InnerEncryptor.cpp
|
|
|
|
impl/config/crypto/CryConfigEncryptor.cpp
|
|
|
|
impl/config/CryConfigConsole.cpp
|
|
|
|
impl/config/CryConfigLoader.cpp
|
|
|
|
impl/config/CryConfig.cpp
|
|
|
|
impl/config/CryConfigFile.cpp
|
|
|
|
impl/config/CryCipher.cpp
|
|
|
|
impl/config/CryConfigCreator.cpp
|
|
|
|
impl/config/CryKeyProvider.cpp
|
|
|
|
impl/config/CryPasswordBasedKeyProvider.cpp
|
|
|
|
impl/config/CryPresetPasswordBasedKeyProvider.cpp
|
|
|
|
impl/filesystem/CryOpenFile.cpp
|
|
|
|
impl/filesystem/fsblobstore/utils/DirEntry.cpp
|
|
|
|
impl/filesystem/fsblobstore/utils/DirEntryList.cpp
|
|
|
|
impl/filesystem/fsblobstore/FsBlobStore.cpp
|
|
|
|
impl/filesystem/fsblobstore/FsBlobView.cpp
|
|
|
|
impl/filesystem/fsblobstore/FileBlob.cpp
|
|
|
|
impl/filesystem/fsblobstore/FsBlob.cpp
|
|
|
|
impl/filesystem/fsblobstore/SymlinkBlob.cpp
|
|
|
|
impl/filesystem/fsblobstore/DirBlob.cpp
|
|
|
|
impl/filesystem/CryNode.cpp
|
|
|
|
impl/filesystem/parallelaccessfsblobstore/DirBlobRef.cpp
|
|
|
|
impl/filesystem/parallelaccessfsblobstore/ParallelAccessFsBlobStore.cpp
|
|
|
|
impl/filesystem/parallelaccessfsblobstore/ParallelAccessFsBlobStoreAdapter.cpp
|
|
|
|
impl/filesystem/parallelaccessfsblobstore/FsBlobRef.cpp
|
|
|
|
impl/filesystem/parallelaccessfsblobstore/FileBlobRef.cpp
|
|
|
|
impl/filesystem/parallelaccessfsblobstore/SymlinkBlobRef.cpp
|
|
|
|
impl/filesystem/CrySymlink.cpp
|
|
|
|
impl/filesystem/CryDir.cpp
|
|
|
|
impl/filesystem/cachingfsblobstore/DirBlobRef.cpp
|
|
|
|
impl/filesystem/cachingfsblobstore/CachingFsBlobStore.cpp
|
|
|
|
impl/filesystem/cachingfsblobstore/FsBlobRef.cpp
|
|
|
|
impl/filesystem/cachingfsblobstore/FileBlobRef.cpp
|
|
|
|
impl/filesystem/cachingfsblobstore/SymlinkBlobRef.cpp
|
|
|
|
impl/filesystem/CryFile.cpp
|
|
|
|
impl/filesystem/CryDevice.cpp
|
|
|
|
impl/localstate/LocalStateDir.cpp
|
|
|
|
impl/localstate/LocalStateMetadata.cpp
|
|
|
|
impl/localstate/BasedirMetadata.cpp
|
2016-02-11 16:39:42 +01:00
|
|
|
)
|
|
|
|
|
2016-02-23 21:07:23 +01:00
|
|
|
add_library(${PROJECT_NAME} STATIC ${LIB_SOURCES})
|
2018-05-21 08:18:34 +02:00
|
|
|
target_link_libraries(${PROJECT_NAME} PUBLIC cpp-utils fspp-interface blockstore blobstore gitversion)
|
2016-02-23 21:07:23 +01:00
|
|
|
target_add_boost(${PROJECT_NAME} program_options chrono) # TODO Check that dependent projects don't get boost added (use PRIVATE here)
|
2016-02-11 16:39:42 +01:00
|
|
|
target_enable_style_warnings(${PROJECT_NAME})
|
|
|
|
target_activate_cpp14(${PROJECT_NAME})
|
2016-02-11 17:34:08 +01:00
|
|
|
|
2016-02-23 21:07:23 +01:00
|
|
|
#install(TARGETS ${PROJECT_NAME}
|
|
|
|
# DESTINATION lib
|
|
|
|
# CONFIGURATIONS Release
|
|
|
|
#)
|