mirror of
https://github.com/fumiama/simple-kanban.git
synced 2026-06-26 22:20:28 +08:00
增加配置文件
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user