blob: fd1c084b0f17546de46c0be62f308b02c62afa18 (
plain)
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
|
cmake_minimum_required(VERSION 3.2)
project(tomcrypt C CXX)
add_compile_options(
"-Wall"
"-pedantic"
)
add_definitions(-DLTC_NO_ROLC)
include_directories(src/headers)
set(
SRC
src/hashes/sha2/sha256.c
src/headers/tomcrypt.h
src/headers/tomcrypt_misc.h
src/misc/base64/base64_decode.c
src/misc/base64/base64_encode.c
src/misc/crypt/crypt_argchk.c
)
add_library(tomcrypt ${SRC})
set_target_properties(tomcrypt PROPERTIES ENABLE_EXPORTS ON)
|