Skip to content

Commit

Permalink
add debug information for vs in windows platformDevelop (#419)
Browse files Browse the repository at this point in the history
* add undef to fix windows compile error

* fix link error for demo_server and demo_client

* add debug information for visual studio

* add debug information for vs in windows platform

---------

Co-authored-by: SKY-20230424HUG\Administrator <yutang.pyt@alibaba-inc.com>
  • Loading branch information
pengyutang125 and SKY-20230424HUG\Administrator committed May 7, 2024
1 parent ae6f7f7 commit 872a167
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Expand Up @@ -110,6 +110,7 @@ set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS} -g -O0 -std=gnu11 -Wall ${CMAKE_C_FLAG

if(CMAKE_SYSTEM_NAME MATCHES "Windows")
add_definitions(-DXQC_SYS_WINDOWS=1)
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} /Zi")
endif()


Expand Down

0 comments on commit 872a167

Please sign in to comment.