You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CMakeLists.txt 293B

1234567891011121314151617
  1. include_directories(${CMAKE_SOURCE_DIR}/common)
  2. add_library(network STATIC
  3. Socket.cxx
  4. TcpSocket.cxx)
  5. if(NOT WIN32)
  6. target_sources(network PRIVATE UnixSocket.cxx)
  7. endif()
  8. if(WIN32)
  9. target_link_libraries(network ws2_32)
  10. endif()
  11. if(UNIX)
  12. libtool_create_control_file(network)
  13. endif()