dmx-interface/CMakeLists.txt

15 lines
471 B
CMake

cmake_minimum_required(VERSION 3.16)
# Clear any stale EXTRA_COMPONENT_DIRS entries (e.g. leftover from previous runs
# or PlatformIO)
set(EXTRA_COMPONENT_DIRS "")
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(dmx-interface)
# Enable LittleFS filesystem image creation for web assets
if(COMMAND littlefs_create_partition_image)
littlefs_create_partition_image(storage ${CMAKE_SOURCE_DIR}/data
FLASH_IN_PROJECT)
endif()