# 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) # add my own component direcotry to the list list(APPEND EXTRA_COMPONENT_DIRS "../McuLib") include($ENV{IDF_PATH}/tools/cmake/project.cmake) # additional include for IncludeMcuLibConfig add_compile_options(-I ../config) add_compile_options(-include "../config/IncludeMcuLibConfig.h") project(esp32-adis)