mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
39 lines
588 B
CMake
39 lines
588 B
CMake
include(CopyResources)
|
|
|
|
set (SVG_DIRS
|
|
accommodation
|
|
amenity
|
|
arrows
|
|
backgrounds
|
|
components
|
|
crosses
|
|
emergency
|
|
entertainment
|
|
food
|
|
geometric
|
|
gpsicons
|
|
health
|
|
icon
|
|
landmark
|
|
logos
|
|
money
|
|
religion
|
|
services
|
|
shopping
|
|
sport
|
|
symbol
|
|
tourist
|
|
transport
|
|
wind_roses
|
|
)
|
|
|
|
foreach (SVG_DIR ${SVG_DIRS})
|
|
file(GLOB_RECURSE IMAGES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${SVG_DIR}/*.svg)
|
|
set(SVG_FILES ${SVG_FILES} ${IMAGES})
|
|
endforeach (SVG_DIR)
|
|
|
|
ADD_QGIS_RESOURCES("${CMAKE_CURRENT_SOURCE_DIR}" svg DEST_SVG_FILES "${SVG_FILES}")
|
|
|
|
add_custom_target(svg ALL DEPENDS ${DEST_SVG_FILES})
|
|
|