Skip to content

Commit 0fe1fce

Browse files
authored
Merge pull request #138 from baba-dev/codex/update-cmakelists.txt-for-tab5
Simplify Tab5 platform CMake setup
2 parents 04373a8 + 3e26ade commit 0fe1fce

1 file changed

Lines changed: 3 additions & 23 deletions

File tree

platforms/tab5/CMakeLists.txt

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,4 @@
1-
# For more information about build system see
2-
# https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html
3-
# The following five lines of boilerplate have to be in your project's
4-
# CMakeLists in this exact order for cmake to work correctly
5-
cmake_minimum_required(VERSION 3.5)
6-
7-
set(_extra_component_dirs
8-
"${CMAKE_CURRENT_LIST_DIR}/../../dependencies"
9-
"${CMAKE_CURRENT_LIST_DIR}/../../components"
10-
)
11-
12-
set(EXTRA_COMPONENT_DIRS "")
13-
foreach(_dir IN LISTS _extra_component_dirs)
14-
get_filename_component(_resolved "${_dir}" REALPATH)
15-
list(APPEND EXTRA_COMPONENT_DIRS "${_resolved}")
16-
endforeach()
17-
18-
unset(_resolved)
19-
unset(_dir)
20-
unset(_extra_component_dirs)
21-
1+
cmake_minimum_required(VERSION 3.16)
2+
set(EXTRA_COMPONENT_DIRS ${CMAKE_CURRENT_LIST_DIR}/../../components)
223
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
23-
24-
project(m5stack_tab5)
4+
project(m5tab5_userdemo)

0 commit comments

Comments
 (0)