diff options
author | Chris Xiong <chirs241097@gmail.com> | 2022-09-18 01:52:26 -0400 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2022-09-18 01:52:26 -0400 |
commit | 4401f681d33f534a7d7ef8f4f940bd54b60710c3 (patch) | |
tree | d393f5fa9b5c7e96eae94e3986c40f9d80777818 /CMakeLists.txt | |
parent | f02cb7bf4978ec0fa1eea4ed0b21460b7637d741 (diff) | |
download | deduper-4401f681d33f534a7d7ef8f4f940bd54b60710c3.tar.xz |
Move stuff around to accommodate new family members.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6536a47..f535cf3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,18 +15,10 @@ SET(CMAKE_EXTRA_INCLUDE_FILES "filesystem") check_type_size("std::filesystem::path::value_type" PATH_VALSIZE LANGUAGE CXX) SET(CMAKE_EXTRA_INCLUDE_FILES) -add_compile_definitions(PATH_VALSIZE=${PATH_VALSIZE}) - -include_directories(.) +option(BUILD_SHARED_LIBS ON) -add_library(xsig STATIC - imageutil.cpp - signature.cpp - subslice_signature.cpp - signature_db.cpp - base64.cpp -) +add_compile_definitions(PATH_VALSIZE=${PATH_VALSIZE}) -target_compile_options(xsig PRIVATE -Werror=return-type) +add_subdirectory(xsig) add_subdirectory(tests) |