1
0
mirror of https://github.com/fumiama/simple-kanban.git synced 2026-06-26 22:20:28 +08:00

增加配置文件

This commit is contained in:
fumiama
2021-05-17 18:30:26 +08:00
parent 84987babb1
commit fa8b2b5fcc
5 changed files with 81 additions and 21 deletions

View File

@@ -1,3 +1,4 @@
cmake_minimum_required(VERSION 3.0.0)
project(simple-kanban)
include(TestBigEndian)
@@ -6,10 +7,13 @@ if (${isBigEndian})
add_definitions(-DWORDS_BIGENDIAN)
endif()
#add_definitions(-DLISTEN_ON_IPV6)
add_definitions(-DLISTEN_ON_IPV6)
add_executable(simple-kanban server.c)
add_executable(simple-kanban-client client.c)
add_executable(cfgwriter cfgwriter.c)
add_library(spb SHARED simple-protobuf/protobuf.c)
target_link_libraries(simple-kanban pthread)
target_link_libraries(simple-kanban spb pthread)
target_link_libraries(simple-kanban-client pthread)
target_link_libraries(cfgwriter spb)