14 lines
212 B
CMake
14 lines
212 B
CMake
|
|
set(SERVER_SOURCES
|
|
main.cpp
|
|
foo_handler.cpp
|
|
bar_handler.cpp
|
|
request_dispatcher.cpp
|
|
server.cpp
|
|
)
|
|
|
|
add_definitions("-pthread")
|
|
|
|
add_executable(server ${SERVER_SOURCES})
|
|
target_link_libraries(server fruit pthread)
|