build: add cmakelists
This commit is contained in:
5
CMakeLists.txt
Normal file
5
CMakeLists.txt
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
cmake_minimum_required(VERSION 3.0)
|
||||||
|
project(ChaCha20_DRBG)
|
||||||
|
|
||||||
|
add_executable(chacha ChaCha20_DRBG.c)
|
||||||
|
target_link_libraries(chacha m) # 链接数学库 (-lm)
|
||||||
Reference in New Issue
Block a user