Logo
Explore Help
Sign In
espressif/esp-idf
1
0
Fork 1
You've already forked esp-idf
mirror of https://github.com/espressif/esp-idf.git synced 2025-11-08 11:01:43 +01:00
Code Issues Packages Projects Releases Wiki Activity
Files
5863a27bd25cd012eef1fb65c46394c5ab901b42
esp-idf/examples/build_system/cmake/multi_config/CMakeLists.txt

11 lines
345 B
CMake
Raw Normal View History

tools: Increase the minimal supported CMake version to 3.16 This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system. This is the version that provides most new features and also the one we use in our latest docker image for CI.
2022-05-27 10:10:51 +02:00
cmake_minimum_required(VERSION 3.16)
examples: build_system: demonstrate building app with multiple configs This example shows how to use ESP-IDF build system features to build multiple configurations of an app from the same source files. Configurations are set by overriding SDKCONFIG_DEFAULTS variable when invoking idf.py. Related: https://github.com/espressif/esp-idf/issues/5658
2021-04-21 01:11:06 +02:00
# In this example, sdkconfig file is placed into the build directory.
# This allows building development and production configs side by side,
# without having them influence each other.
set(SDKCONFIG "${CMAKE_BINARY_DIR}/sdkconfig")
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(multi_config)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 71ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API