Skip to content

Commit

Permalink
ALTV-258 (Linux)Symbols for debug builds
Browse files Browse the repository at this point in the history
  • Loading branch information
LWSS committed Jul 25, 2024
1 parent 6a728f8 commit a0c2484
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions server/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ if(WIN32 AND MSVC)
add_definitions(/MP)
endif()

if (UNIX)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g3")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -g3")
endif()

if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
target_compile_options(${PROJECT_NAME} PRIVATE
#-falign-functions
Expand Down

0 comments on commit a0c2484

Please sign in to comment.