cmake: make main a component again

This commit is contained in:
Renz Bagaporo
2018-09-13 08:52:32 +08:00
parent 8e20c13348
commit 7edf2bf66c
241 changed files with 1492 additions and 623 deletions

View File

@@ -2,10 +2,5 @@
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
set(MAIN_SRCS
main/bt_app_core.c
main/main.c
)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(a2dp_source)

View File

@@ -0,0 +1,5 @@
set(COMPONENT_SRCS "bt_app_core.c"
"main.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()