10 lines
375 B
CMake
10 lines
375 B
CMake
cmake_minimum_required(VERSION 3.16.0)
|
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
|
|
|
# PlatformIO installs the pinned ESP-IDF LittleFS component per environment.
|
|
get_filename_component(platformio_environment "${CMAKE_BINARY_DIR}" NAME)
|
|
list(APPEND EXTRA_COMPONENT_DIRS
|
|
"${CMAKE_SOURCE_DIR}/.pio/libdeps/${platformio_environment}/esp_littlefs")
|
|
|
|
project(battleship)
|