Files
wordclock/code/main/CMakeLists.txt
T
Matthias Mitscherlich 2e8aa31cbf Added I2C and BMP280
i2c already running and functional, bmp280 code is still in the main and needs re-organisation
Temperature readout works, pressure is not required at this stage
2023-02-06 16:21:56 +01:00

24 lines
807 B
CMake

# See the build system documentation in IDF programming guide
# for more information about component CMakeLists.txt files.
idf_component_register(
SRCS # list the source files of this component
"main.cpp"
"src/bmp280.cpp"
"src/gpio.cpp"
"src/i2c.cpp"
"src/wifi.cpp"
"src/logger.cpp"
"src/led_strip_encoder.c"
"src/ledmatrix.cpp"
"src/clock.cpp"
"src/wordmap.cpp"
INCLUDE_DIRS # optional, add here public include directories
"inc"
PRIV_INCLUDE_DIRS # optional, add here private include directories
REQUIRES # optional, list the public requirements (component names)
PRIV_REQUIRES # optional, list the private requirements
)
component_compile_definitions("ESP_LWIP_COMPONENT_BUILD" "RELEASE=\"0.1\"")