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

index 42671b7..8c5de95 100644 (file)
@@ -3,6 +3,8 @@ PROJECT(device-manager-artik C)
 
 SET(PREFIX ${CMAKE_INSTALL_PREFIX})
 
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Wall -Werror")
+
 #ADD_SUBDIRECTORY(hw/battery)
 ADD_SUBDIRECTORY(hw/board)
 ADD_SUBDIRECTORY(hw/display)
@@ -12,4 +14,4 @@ ADD_SUBDIRECTORY(hw/touchscreen)
 ADD_SUBDIRECTORY(hw/usb_gadget)
 ADD_SUBDIRECTORY(hw/usb_client)
 ADD_SUBDIRECTORY(hw/usb_cfs_client)
-ADD_SUBDIRECTORY(hw/thermal)
\ No newline at end of file
+ADD_SUBDIRECTORY(hw/thermal)