mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
0c1d917f78
This change improves build consistency across external projects integrated through CMake by ensuring that compiler flags defined in configuration files are passed correctly to the toolchain. It covers the majority of use cases, as external projects are typically also CMake-based. For projects that use a custom build system, users will still need to specify the required flags manually.
3 lines
101 B
CMake
3 lines
101 B
CMake
set(_CMAKE_TOOLCHAIN_PREFIX xtensa-esp32s2-elf-)
|
|
include($ENV{IDF_PATH}/tools/cmake/toolchain.cmake)
|