summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoungjae Cho <y0.cho@samsung.com>2020-02-05 17:02:06 +0900
committerYoungjae Cho <y0.cho@samsung.com>2020-02-05 17:02:06 +0900
commit2201195923c082beb4071c6709274930e1d2382a (patch)
tree65bf8d7d136bc20c5d7ad79d3055e8e755ba747d
parent3e36e3677b8f39aa1ab8221bc0fc39d93adc4111 (diff)
downloaddevice-manager-plugin-odroid-2201195923c082beb4071c6709274930e1d2382a.tar.gz
device-manager-plugin-odroid-2201195923c082beb4071c6709274930e1d2382a.tar.bz2
device-manager-plugin-odroid-2201195923c082beb4071c6709274930e1d2382a.zip
Add build option -Wall -Werror
Change-Id: Ib6c6b61340caa7f059b8eb0febd3127adae7f888 Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cbac95c..09d93e4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,6 +3,8 @@ PROJECT(device-manager-odroid C)
SET(PREFIX ${CMAKE_INSTALL_PREFIX})
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Wall -Werror")
+
ADD_SUBDIRECTORY(hw/board)
ADD_SUBDIRECTORY(hw/display)
ADD_SUBDIRECTORY(hw/usb_gadget)