~aleteoryx/muditaos

ref: e84aa4a52f67ea29a0ceeef478bfa960800fa4de muditaos/third-party/hash-library/CMakeLists.txt -rw-r--r-- 498 bytes
e84aa4a5 — Lefucjusz [BH-2091] Remove timer from loop mode in Relaxation 1 year, 28 days 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>
)