a25f9a1507
Only has warnings for now Next to come is the support for developer-build and enabling Werror Change-Id: I8070dc06eb439c2a03007cce975c8147ff7e1582 Reviewed-by: Kevin Funk <kevin.funk@kdab.com>
7 lines
157 B
CMake
7 lines
157 B
CMake
# Set warnings. All compilers except MSVC support -Wall -Wextra
|
|
if (MSVC)
|
|
add_compile_options(/W3)
|
|
else()
|
|
add_compile_options(-Wall -Wextra)
|
|
endif()
|