ENDIF("$ENV{BT_INCLUDE_OAL_BLUEZ}" STREQUAL "ENABLED")
SET(SRCS
+../include/bt-internal-types.c
oal-hardware.c
oal-manager.c
oal-adapter-mgr.c
oal-device-mgr.c
oal-hid-host.c
+oal-hid-device.c
oal-socket.c
oal-audio-src.c
oal-a2dp-sink.c
oal-hfp.c
oal-hdp.c
oal-gatt.c
+oal-hf-client.c
+oal-mesh.c
common/oal-utils.c
common/oal-common.c
common/oal-event-dispatcher.c
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} -g ")
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIC -fprofile-arcs -ftest-coverage")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIC -Wall -Werror")
FIND_PROGRAM(UNAME NAMES uname)
EXEC_PROGRAM("${UNAME}" ARGS "-m" OUTPUT_VARIABLE "ARCH")