mirror of
https://github.com/ziglang/zig.git
synced 2024-11-26 15:12:31 +00:00
14 lines
318 B
CMake
14 lines
318 B
CMake
if(MSVC)
|
|
set(CMAKE_C_FLAGS_DEBUG_INIT
|
|
"/D_DEBUG /MTd /Zi /Ob0 /Od /RTC1")
|
|
|
|
set(CMAKE_C_FLAGS_MINSIZEREL_INIT
|
|
"/MT /O1 /Ob1 /D NDEBUG")
|
|
|
|
set(CMAKE_C_FLAGS_RELEASE_INIT
|
|
"/MT /O2 /Ob1 /D NDEBUG")
|
|
|
|
set(CMAKE_C_FLAGS_RELWITHDEBINFO_INIT
|
|
"/MT /Zi /O2 /Ob1 /D NDEBUG")
|
|
endif()
|