diff options
| author | J08nY | 2017-10-14 14:19:02 +0200 |
|---|---|---|
| committer | J08nY | 2017-10-14 23:11:11 +0200 |
| commit | 5fe4358eeb74cd82008c336fc4f634548e5e3393 (patch) | |
| tree | 8ea32d24ac4c6a62a026de3e77aaa68690d927b8 /lib/CMakeLists.txt | |
| parent | 4dece41c236a7e92ab04205e8b6e076a2514a528 (diff) | |
| download | ecgen-5fe4358eeb74cd82008c336fc4f634548e5e3393.tar.gz ecgen-5fe4358eeb74cd82008c336fc4f634548e5e3393.tar.zst ecgen-5fe4358eeb74cd82008c336fc4f634548e5e3393.zip | |
Diffstat (limited to 'lib/CMakeLists.txt')
| -rw-r--r-- | lib/CMakeLists.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt new file mode 100644 index 0000000..c97b838 --- /dev/null +++ b/lib/CMakeLists.txt @@ -0,0 +1,11 @@ +cmake_minimum_required(VERSION 2.8.11) +project(ecgen_libs C) + +set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -DDEBUG -g -Wall -Werror -pedantic") +set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -DNDEBUG -O3 -Wall") + +file(GLOB PARSON_SRC "parson/*.c") +file(GLOB SHA1_SRC "sha1/*.c") + +add_library(parson STATIC ${PARSON_SRC}) +add_library(sha1 STATIC ${SHA1_SRC})
\ No newline at end of file |
