mirror of
https://github.com/halo-re/halo.git
synced 2024-11-26 23:20:22 +00:00
CMakeLists.txt: Drop debug settings for MSVC builds
This commit is contained in:
parent
437f9446bf
commit
aad57caee9
@ -63,11 +63,6 @@ if(MSVC)
|
||||
endif()
|
||||
set(CMAKE_C_FLAGS "/FI\"${CMAKE_SOURCE_DIR}/src/common.h\" /GS- /DMSVC")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "/entry:_start /nodefaultlib:msvcrtd.lib /nodefaultlib:msvcrt.lib /incremental:no")
|
||||
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /Zi")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /DEBUG")
|
||||
endif()
|
||||
else()
|
||||
if(NOT CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
||||
# FIXME: We can support other toolchains, but currently do not
|
||||
|
Loading…
Reference in New Issue
Block a user