add cflags - Wall and Werror 64/41164/1
authorMinkyu Kang <mk7.kang@samsung.com>
Thu, 11 Jun 2015 07:59:32 +0000 (16:59 +0900)
committerMinkyu Kang <mk7.kang@samsung.com>
Thu, 11 Jun 2015 07:59:32 +0000 (16:59 +0900)
Change-Id: If317b9b7db473e2331dc53454b97df87d2e9bdcb
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
CMakeLists.txt

index 6c46965..a0040fb 100644 (file)
@@ -72,7 +72,7 @@ ADD_EXECUTABLE(${PROJECT_NAME} ${SRCS})
 FOREACH(flag ${PKGS_CFLAGS})
        SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
 ENDFOREACH(flag)
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS}")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Wall -Werror")
 
 TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${PKGS_LDFLAGS})
 CONFIGURE_FILE(${PACKAGE_NAME}.xml.in ${PACKAGE_NAME}.xml)