mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-08-15 10:48:22 -04:00
fix many warnings (hope everything will work)
This commit is contained in:
parent
cddb569580
commit
858c4384e8
57 changed files with 911 additions and 807 deletions
|
@ -4,6 +4,13 @@ project(skeldal)
|
|||
# Najít SDL2 knihovnu
|
||||
find_package(SDL2 REQUIRED)
|
||||
|
||||
if (MSVC)
|
||||
add_compile_options(/W4 /EHsc /DNOMINMAX)
|
||||
set(STANDARD_LIBRARIES "")
|
||||
else()
|
||||
add_compile_options(-Wall -Wextra -Werror -Wno-unused-parameter -Wno-unused-value)
|
||||
set(STANDARD_LIBRARIES "pthread")
|
||||
endif()
|
||||
|
||||
include_directories(platform libs)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue