From: Youngjae Cho Date: Wed, 5 Feb 2020 08:00:27 +0000 (+0900) Subject: Add build option -Wall -Werror X-Git-Tag: accepted/tizen/unified/20210604.120629~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2887216642134ad1f24d4aa87f78830c6d8fd0c2;p=platform%2Fhal%2Fbackend%2Frpi%2Fdevice-rpi.git Add build option -Wall -Werror Change-Id: Ic4cfc6347d38e0e7a59c8eb5f7fc2f12fecdc7a4 Signed-off-by: Youngjae Cho --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 7f1ff58..c10c059 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,9 @@ PROJECT(device-manager-rpi3 C) SET(PREFIX ${CMAKE_INSTALL_PREFIX}) +SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Wall -Werror") + ADD_SUBDIRECTORY(hw/display) ADD_SUBDIRECTORY(hw/led) ADD_SUBDIRECTORY(hw/touchscreen) -ADD_SUBDIRECTORY(hw/thermal) \ No newline at end of file +ADD_SUBDIRECTORY(hw/thermal)