Skip to content

Commit 67c66a1

Browse files
committed
build: Do not copy conf generator files to build directory
These files are copied to the build directory but then never used during the build, instead the command to generate lv_conf.h below uses the original source files. Skip this unneeded copy. Signed-off-by: Andrew Davis <afd@ti.com>
1 parent 3737cf7 commit 67c66a1

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

CMakeLists.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,6 @@ set(LV_BUILD_CONF_PATH
4646
set(LVGL_TEMPLATE_PATH "${CMAKE_SOURCE_DIR}/lvgl/lv_conf_template.h")
4747
set(GENERATE_SCRIPT_PATH "${CMAKE_SOURCE_DIR}/lvgl/scripts/generate_lv_conf.py")
4848

49-
configure_file(${LVGL_TEMPLATE_PATH} ${CMAKE_BINARY_DIR}/lv_conf_template.h
50-
COPYONLY)
51-
configure_file(${LV_CONF_DEFAULTS_PATH} ${CMAKE_BINARY_DIR}/lv_conf.defaults
52-
COPYONLY)
53-
configure_file(${GENERATE_SCRIPT_PATH} ${CMAKE_BINARY_DIR}/generate_lv_conf.py
54-
COPYONLY)
55-
5649
execute_process(
5750
COMMAND
5851
${Python3_EXECUTABLE} ${GENERATE_SCRIPT_PATH} --template

0 commit comments

Comments
 (0)