Enable -Wall for compilation

This gives some useful warnings for less significant issues.
Warnings for reordering are left disabled as they are rather pedantic
and serve little benefit.
This commit is contained in:
Billy Laws 2020-06-15 16:43:22 +01:00 committed by ◱ PixelyIon
parent 012be0adae
commit 7fed6ca73d

View File

@ -119,4 +119,4 @@ add_library(skyline SHARED
)
target_link_libraries(skyline vulkan android fmt tinyxml2 oboe lz4_static)
target_compile_options(skyline PRIVATE -Wno-c++17-extensions)
target_compile_options(skyline PRIVATE -Wno-c++17-extensions -Wall -Wno-reorder -Wno-missing-braces -Wno-unused-variable -Wno-unused-private-field)