1
0
mirror of https://github.com/fumiama/simple-kanban.git synced 2026-07-02 00:50:26 +08:00

优化代码结构

This commit is contained in:
源文雨
2022-05-15 14:26:09 +08:00
parent 1ae1138496
commit 352a8dc285
4 changed files with 140 additions and 134 deletions

View File

@@ -10,16 +10,16 @@ endif()
add_definitions(-DLISTEN_ON_IPV6)
# include_directories("/usr/local/include")
# link_directories("/usr/local/lib")
include_directories("/usr/local/include")
link_directories("/usr/local/lib")
add_executable(simple-kanban server.c)
add_executable(simple-kanban-client client.c)
add_executable(cfgwriter cfgwriter.c)
target_link_libraries(simple-kanban spb pthread)
target_link_libraries(simple-kanban libspb.a pthread)
target_link_libraries(simple-kanban-client pthread)
target_link_libraries(cfgwriter spb)
target_link_libraries(cfgwriter libspb.a)
INSTALL(TARGETS simple-kanban RUNTIME DESTINATION bin)
INSTALL(TARGETS simple-kanban-client RUNTIME DESTINATION bin)