Test program for my solar controller breadboard
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

19 lines
607 B

# 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.5)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(esp32-ds18b20-example LANGUAGES C)
if (NOT IDF_VERSION_MAJOR)
set(IDF_VERSION_MAJOR 3)
endif()
if (IDF_VERSION_MAJOR GREATER 3)
set(PROJECT_ELF ${project_elf})
else()
set(PROJECT_ELF ${IDF_PROJECT_EXECUTABLE})
endif()
# Ignore false clang warnings about `struct foo = { 0 }`
target_compile_options(${PROJECT_ELF} PRIVATE -Wno-missing-braces -Wmissing-field-initializers)