15 lines
245 B
CMake
15 lines
245 B
CMake
add_executable(proxy
|
|
./proxy.cpp
|
|
./network.cpp
|
|
)
|
|
|
|
add_executable(web_server
|
|
./web_server.cpp
|
|
./network.cpp
|
|
)
|
|
|
|
if(WIN32)
|
|
target_link_libraries(proxy wsock32 ws2_32)
|
|
target_link_libraries(web_server wsock32 ws2_32)
|
|
endif()
|