Revision 992e2bf1dfec13291f13b59a266dd54b41e5d05d authored by Loïc Bartoletti on 17 October 2022, 08:40:13 UTC, committed by Loïc Bartoletti on 18 October 2022, 08:31:02 UTC
QgsMapToolAddRing can use the one from QgsVectorLayerEditUtils.
All checks are made inside QgsVectorLayerEditUtils.
1 parent 6ebb15d
Raw File
CMakeLists.txt
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})

back to top