ESP8266/CMakeLists.txt

14 lines
511 B
Text
Raw Normal View History

2025-09-16 07:23:00 -05:00
# The following five 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.16)
set(EXTRA_COMPONENT_DIRS "${CMAKE_CURRENT_LIST_DIR}/components")
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
2025-09-16 09:38:00 -05:00
project(bme680_esp8266 C)
# Force the app to link as C (prevents pulling libstdc++)
idf_build_get_property(APP_TARGET EXECUTABLE) # provided by IDF's CMake
set_target_properties(${APP_TARGET} PROPERTIES LINKER_LANGUAGE C)