Add build option -Wall -Werror 65/223965/1
authorYoungjae Cho <y0.cho@samsung.com>
Wed, 5 Feb 2020 08:00:27 +0000 (17:00 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Wed, 5 Feb 2020 08:00:27 +0000 (17:00 +0900)
Change-Id: Ic4cfc6347d38e0e7a59c8eb5f7fc2f12fecdc7a4
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
CMakeLists.txt

index 7f1ff58..c10c059 100644 (file)
@@ -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)