cmake: make main a component again

* Original commit: espressif/esp-idf@d9939cedd9
This commit is contained in:
Renz Christian Bagaporo
2018-09-11 09:44:12 +08:00
committed by gabsuren
parent e8ea8786d2
commit 57672d5add
13 changed files with 25 additions and 19 deletions

View File

@ -1,8 +1,6 @@
# The following four lines of boilerplate have to be in your project's CMakeLists
# The following lines of boilerplate have to be in your project's CMakeLists
# in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
set(MAIN_SRCS main/chat_client.cpp)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(asio_chat_client)