diff options
Diffstat (limited to 'project/cmake/scripts/windows/cxx-flag-overrides.cmake')
| -rw-r--r-- | project/cmake/scripts/windows/cxx-flag-overrides.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/project/cmake/scripts/windows/cxx-flag-overrides.cmake b/project/cmake/scripts/windows/cxx-flag-overrides.cmake new file mode 100644 index 0000000..ad3a090 --- /dev/null +++ b/project/cmake/scripts/windows/cxx-flag-overrides.cmake | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | if(MSVC) | ||
| 2 | set(CMAKE_CXX_FLAGS "/MP /DWIN32 /D_WINDOWS /W3 /GR /Zi /EHsc /arch:SSE2") | ||
| 3 | set(CMAKE_CXX_FLAGS_DEBUG "/D_DEBUG /MDd /Ob0 /Od /RTC1 /D_HAS_ITERATOR_DEBUGGING=0 /D_SECURE_SCL=0") | ||
| 4 | set(CMAKE_CXX_FLAGS_RELEASE "/MD /Ox /Ob2 /Oi /Ot /Oy /GL /DNDEBUG") | ||
| 5 | endif(MSVC) \ No newline at end of file | ||
