1 2set(SERVER_SOURCES 3main.cpp 4foo_handler.cpp 5bar_handler.cpp 6request_dispatcher.cpp 7server.cpp 8) 9 10add_definitions("-pthread") 11 12add_executable(server ${SERVER_SOURCES}) 13target_link_libraries(server fruit pthread) 14
1 2set(SERVER_SOURCES 3main.cpp 4foo_handler.cpp 5bar_handler.cpp 6request_dispatcher.cpp 7server.cpp 8) 9 10add_definitions("-pthread") 11 12add_executable(server ${SERVER_SOURCES}) 13target_link_libraries(server fruit pthread) 14