mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-24 18:47:45 +00:00
Merge e5c1dcc78c
into c2223f52b5
This commit is contained in:
commit
5840b2b7fd
1 changed files with 6 additions and 2 deletions
|
@ -9,10 +9,14 @@ else()
|
|||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj")
|
||||
|
||||
# edit and continue
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
# edit and continue
|
||||
message(STATUS "Enabling Edit and Continue..")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /INCREMENTAL /ZI")
|
||||
add_definitions(/ZI)
|
||||
|
||||
# incremental linking
|
||||
message(STATUS "Enabling Incremental Linking..")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /INCREMENTAL")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue