# We need to add the sub-directory of each project follows their dependency
# because we use ExternalProject_Add function to build the open source project.

SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror")
INCLUDE(${CMAKE_MODULE_DIR}/ConditionalAddSubDir.cmake)

ADD_SUBDIRECTORY(iniparser)
ADD_SUBDIRECTORY(fdk-aac)
ADD_SUBDIRECTORY(g711)
ADD_SUBDIRECTORY(g726)
ADD_SUBDIRECTORY(alac)
ADD_SUBDIRECTORY(lvgl_all)
#ADD_SUBDIRECTORY(sqlite3)

IF(GAMR_SUPPORT_ENABLE)
	ADD_SUBDIRECTORY(opencore-amr)
ENDIF()
ADD_SUBDIRECTORY(avb/mrpd)
ADD_SUBDIRECTORY(avb/maap)
ADD_SUBDIRECTORY(avb/shaper)
ADD_SUBDIRECTORY(avb/gptp)
ADD_SUBDIRECTORY(avb/openavb_harness)
