1
0
mirror of https://github.com/fumiama/simple-kanban.git synced 2026-06-05 00:10:29 +08:00
Files
simple-kanban/CMakeLists.txt
2021-05-17 18:30:26 +08:00

20 lines
530 B
CMake

cmake_minimum_required(VERSION 3.0.0)
project(simple-kanban)
include(TestBigEndian)
test_big_endian(isBigEndian)
if (${isBigEndian})
add_definitions(-DWORDS_BIGENDIAN)
endif()
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 spb pthread)
target_link_libraries(simple-kanban-client pthread)
target_link_libraries(cfgwriter spb)