mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2024-11-21 20:21:19 +00:00
VS Pro doesn't choose the right default like Express, so be explicit
This commit is contained in:
parent
3dc6127529
commit
f07999ecf2
1 changed files with 4 additions and 4 deletions
|
@ -195,10 +195,10 @@ elseif (MSVC)
|
|||
add_definitions(/W4)
|
||||
add_definitions(/wd4714) # 'function' marked as __forceinline not inlined
|
||||
add_definitions(/wd4996) # 'function': was declared deprecated
|
||||
set(CMAKE_C_FLAGS_DEBUG "-D_DEBUG /Od /Zi")
|
||||
set(CMAKE_C_FLAGS_RELEASE "/Ox /Oy")
|
||||
set(CMAKE_C_FLAGS_RELWITHDEBINFO "/Ox /Oy /Zi")
|
||||
set(CMAKE_C_FLAGS_MINSIZEREL "/Ox /Oy /Os")
|
||||
set(CMAKE_C_FLAGS_DEBUG "-D_DEBUG /Od /Zi /MDd")
|
||||
set(CMAKE_C_FLAGS_RELEASE "/Ox /Oy /MD")
|
||||
set(CMAKE_C_FLAGS_RELWITHDEBINFO "/Ox /Oy /Zi /MD")
|
||||
set(CMAKE_C_FLAGS_MINSIZEREL "/Ox /Oy /Os /MD")
|
||||
else()
|
||||
message(FATAL_ERROR "Unsupported compiler")
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue