aboutsummaryrefslogtreecommitdiff
path: root/project/cmake/scripts/windows/c-flag-overrides.cmake
blob: ab19701707dabce79ea05268f91a94c88ff7c118 (plain)
1
2
3
4
5
if(MSVC)
  set(CMAKE_C_FLAGS "/MP /DWIN32 /D_WINDOWS /W3 /Zi /arch:SSE2")
  set(CMAKE_C_FLAGS_DEBUG "/D_DEBUG /MDd /Ob0 /Od /RTC1 /D_HAS_ITERATOR_DEBUGGING=0 /D_SECURE_SCL=0")
  set(CMAKE_C_FLAGS_RELEASE "/MD /Ox /Ob2 /Oi /Ot /Oy /GL /DNDEBUG")
endif(MSVC)