mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
38 lines
583 B
CMake
38 lines
583 B
CMake
INCLUDE(CopyResources)
|
|
|
|
SET (SVG_DIRS
|
|
accommodation
|
|
amenity
|
|
arrows
|
|
backgrounds
|
|
components
|
|
crosses
|
|
emergency
|
|
entertainment
|
|
food
|
|
geometric
|
|
gpsicons
|
|
health
|
|
icon
|
|
landmark
|
|
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})
|
|
|