mirror of
https://github.com/fumiama/simple-kanban.git
synced 2026-07-02 00:50:26 +08:00
优化代码结构
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user