Kaynağa Gözat

trying to add debug flag

logicp 5 yıl önce
ebeveyn
işleme
fff6013786
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -4,7 +4,7 @@ project(ws_server)
 set(THREADS_PREFER_PTHREAD_FLAG ON)
 find_package(Threads REQUIRED)
 set(SOURCES "main.cpp" "socket_listener.cpp")
-set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -std=c++17 -g -pthread")
+set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g -std=c++17 -pthread")
 add_executable(${PROJECT_NAME} ${SOURCES})
 target_include_directories(${PROJECT_NAME} PRIVATE
   "headers"