Fix .gitignore and CMakeList.txt

This commit is contained in:
Attila Body 2025-05-14 22:41:34 +02:00
parent 3cf387026e
commit 8bc863b648
Signed by: abody
GPG key ID: BD0C6214E68FB5CF
5 changed files with 2367 additions and 6 deletions

View file

@ -1,10 +1,13 @@
# 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)
cmake_minimum_required(VERSION 3.5)
set(EXTRA_COMPONENT_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/../components)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(opentherm)
project(opentherm)
find_program(CCACHE_FOUND ccache)
if(CCACHE_FOUND)
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
else()
message(WARNING "CCache not found, install it to speedup compiletime")
endif()