CMakeLists.txt 282 B

12345678910
  1. cmake_minimum_required(VERSION 2.8)
  2. project(ws_server)
  3. set(SOURCES "main.cpp" "socket_listener.cpp")
  4. set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -std=c++17")
  5. add_executable(${PROJECT_NAME} ${SOURCES})
  6. target_include_directories(${PROJECT_NAME} PRIVATE
  7. "headers"
  8. )