~aleteoryx/muditaos

ref: 25a5d90f4e12ee5d33f4202170f18b59e16a9564 muditaos/third-party/hash-library/CMakeLists.txt -rw-r--r-- 498 bytes
25a5d90f — rrandomsky [CP-2156] Fixed no response when editing a contact to have the same number as another 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
add_library(hash-library)
add_library(hash-library::hash-library ALIAS hash-library)
target_sources(hash-library
   PRIVATE
      src/crc32.cpp
      src/keccak.cpp
      src/md5.cpp
      src/sha1.cpp
      src/sha256.cpp
      src/sha3.cpp

   PUBLIC
      src/crc32.h
      src/hmac.h
      src/keccak.h
      src/md5.h
      src/sha1.h
      src/sha256.h
      src/sha3.h
    )

target_include_directories(hash-library
   PUBLIC
       $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src>
)