mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-19 04:34:51 -04:00
add some cheks and error reporting, enable catch SEH in windows
This commit is contained in:
parent
8faba63219
commit
c9d0e86344
8 changed files with 88 additions and 34 deletions
|
@ -5,7 +5,7 @@ project(skeldal)
|
|||
find_package(SDL2 REQUIRED)
|
||||
|
||||
if (MSVC)
|
||||
add_compile_options(/W4 /EHsc /DNOMINMAX /J)
|
||||
add_compile_options(/W4 /EHa /DNOMINMAX /J)
|
||||
set(STANDARD_LIBRARIES "")
|
||||
else()
|
||||
add_compile_options(-Wall -Wextra -Werror -Wno-unused-result -Wno-unused-parameter -Wno-unused-value -Wno-extern-c-compat -funsigned-char)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue