From 2201195923c082beb4071c6709274930e1d2382a Mon Sep 17 00:00:00 2001 From: Youngjae Cho Date: Wed, 5 Feb 2020 17:02:06 +0900 Subject: Add build option -Wall -Werror Change-Id: Ib6c6b61340caa7f059b8eb0febd3127adae7f888 Signed-off-by: Youngjae Cho --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) 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) -- cgit v1.2.3