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.
zavlaha-kzk/CMakeLists.txt

39 lines
940 B

cmake_minimum_required(VERSION 3.13)
# initialize the SDK based on PICO_SDK_PATH
# note: this must happen before project()
include(pico_sdk_import.cmake)
project(zavlaha)
# initialize the Raspberry Pi Pico SDK
pico_sdk_init()
# rest of your project
add_executable(zavlaha
src/main.c
src/lcd.c
1 year ago
src/ds_rtc.c
src/ee.c
1 year ago
src/lcd/utf8.c
src/lcd/cgram.c
src/lcd/cgrom.c
src/lcd/lcdbuf.c
src/screens/app_gui.c
src/screens/screen_home.c
src/screens/screen_settings.c
src/screens/screen_cyklus.c
1 year ago
src/screens/screen_set_time.c
src/screens/screen_set_moisture_threshold.c
src/app_io.c
src/app_config.c)
# Add pico_stdlib library which aggregates commonly used features
target_link_libraries(zavlaha pico_stdlib hardware_i2c hardware_adc hardware_irq)
target_include_directories(zavlaha PRIVATE src)
# create map/bin/hex/uf2 file in addition to ELF.
pico_add_extra_outputs(zavlaha)