-
Notifications
You must be signed in to change notification settings - Fork 175
/
CMakeLists.txt
38 lines (34 loc) · 1.12 KB
/
CMakeLists.txt
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
28
29
30
31
32
33
34
35
36
37
38
cmake_minimum_required(VERSION 3.6.0)
project( WjCryptLib )
# WjCryptLib Static Library
add_library( WjCryptLib STATIC
lib/WjCryptLib_Aes.h
lib/WjCryptLib_Aes.c
lib/WjCryptLib_AesCbc.h
lib/WjCryptLib_AesCbc.c
lib/WjCryptLib_AesCtr.h
lib/WjCryptLib_AesCtr.c
lib/WjCryptLib_AesOfb.h
lib/WjCryptLib_AesOfb.c
lib/WjCryptLib_Md5.h
lib/WjCryptLib_Md5.c
lib/WjCryptLib_Rc4.h
lib/WjCryptLib_Rc4.c
lib/WjCryptLib_Sha1.h
lib/WjCryptLib_Sha1.c
lib/WjCryptLib_Sha256.h
lib/WjCryptLib_Sha256.c
lib/WjCryptLib_Sha512.h
lib/WjCryptLib_Sha512.c )
target_include_directories( WjCryptLib PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/lib )
set_target_properties ( WjCryptLib PROPERTIES FOLDER lib )
# Add the demo project directories
add_subdirectory( projects/WjCryptLibTest )
add_subdirectory( projects/Md5String )
add_subdirectory( projects/Rc4Output )
add_subdirectory( projects/Sha1String )
add_subdirectory( projects/Sha256String )
add_subdirectory( projects/Sha512String )
add_subdirectory( projects/AesBlock )
add_subdirectory( projects/AesCtrOutput )
add_subdirectory( projects/AesOfbOutput )