summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoungjae Cho <y0.cho@samsung.com>2020-02-05 17:01:23 +0900
committerYoungjae Cho <y0.cho@samsung.com>2020-02-05 17:01:23 +0900
commit42006ef812e99880a0020cd124a9378fcf9396c4 (patch)
tree950d5ce05f774fc8038f2c7581b341bf1b35d6c3
parentf58900de1101d1bc80f6e90fc660013be71cf9a1 (diff)
downloaddevice-artik-42006ef812e99880a0020cd124a9378fcf9396c4.tar.gz
device-artik-42006ef812e99880a0020cd124a9378fcf9396c4.tar.bz2
device-artik-42006ef812e99880a0020cd124a9378fcf9396c4.zip
Add build option -Wall -Werror
Change-Id: I40035cde88b5549f0300ed61661982718cf9c047 Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 42671b7..8c5de95 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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)