urbanski/CMakeLists.txt: Refactor

This commit is contained in:
Xavier Del Campo Romero 2024-12-17 07:41:45 +01:00
parent 5f1e026460
commit 4ceb4103cf

View file

@ -1,10 +1,16 @@
INCLUDE(../../../cmake/macros.cmake)
include(${CMAKE_SOURCE_DIR}/cmake/macros.cmake)
SET(ROBOT_NAME "urbanski")
SET(ROBOT_SUBDIRS 0 1
mp10-agl-kart
)
set(dirs)
ROBOT_DATA(NAME ${ROBOT_NAME}
FILES urbanski.xml default.xml logo.rgb readme.txt
SUBDIRS ${ROBOT_SUBDIRS} PATTERNS *.xml logo.rgb *.png *.jpg)
set(files
readme.txt
default.xml
logo.rgb
)
ROBOT_DATA(
NAME urbanski
FILES ${files}
SUBDIRS ${dirs}
PATTERNS *.xml
)