build: add cmakelists

This commit is contained in:
2024-01-08 05:11:19 +08:00
parent 105e2b7a75
commit f8db961166

5
CMakeLists.txt Normal file
View 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)