Files
esp-idf/examples/build_system/cmake/plugins/CMakeLists.txt

9 lines
363 B
CMake

# The following three 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.22)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
# "Trim" the build. Include the minimal set of components, main, and plugins.
set(COMPONENTS main plugin_hello plugin_nihao)
project(plugins)