-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
executable file
·18 lines (13 loc) · 912 Bytes
/
CMakeLists.txt
File metadata and controls
executable file
·18 lines (13 loc) · 912 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
cmake_minimum_required(VERSION 3.12)
project(Dati C)
set(CMAKE_C_STANDARD 99)
set(CMAKE_C_FLAGS "-pthread -lm")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra")
link_directories(${PROJECT_SOURCE_DIR}/lib/json-c/.libs)
include_directories(include lib)
add_executable(Dati src/core/main.c src/network/server.c include/server.h src/utils/utils.c include/utils.h src/network/buffer.c
include/buffer.h src/shell/shell.c include/shell.h include/error_code.h src/network/message_parser.c
include/message_parser.h include/container.h include/variable.h src/database/database.c include/database.h
include/list.h src/list/list.c include/tree.h src/tree/tree.c include/comparator.h
src/comparator/comparaor.c include/byte_buffer.h src/buffer/byte_buffer.c include/converter.h src/converter/converter.c src/timer/scheduler.c include/scheduler.h)
target_link_libraries(Dati json-c)