cmake: make main a component again

This commit is contained in:
Renz Christian Bagaporo
2018-09-11 09:44:12 +08:00
committed by Angus Gratton
parent f9bed53ea2
commit d9939cedd9
282 changed files with 1740 additions and 673 deletions

View File

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

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "softap_example_main.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()

View File

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

View File

@@ -0,0 +1,4 @@
set(COMPONENT_SRCS "station_example_main.c")
set(COMPONENT_ADD_INCLUDEDIRS ".")
register_component()