CMake: add reverse_direction.svg icon and install it in icon folder

This commit is contained in:
Filippo Gentile 2022-02-11 01:07:05 +01:00
parent b533c5dfe6
commit 50a2f94233
2 changed files with 29 additions and 1 deletions

View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="100mm"
height="100mm"
viewBox="0 0 100 100"
version="1.1"
id="svg5"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs2" />
<g
id="layer1">
<path
style="fill:none;stroke:#00aa00;stroke-width:18.4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 25,85 V 35 C 25.100727,6.7404564 75.224095,7.2276899 75,35 v 35"
id="path876" />
<path
style="fill:#00aa00;fill-opacity:1;stroke:none;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 53,70 H 97 L 75,96 Z"
id="path2659" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 829 B

View File

@ -200,10 +200,13 @@ endforeach()
# Copy executable
install(TARGETS ${MR_TIMETABLE_PLANNER_TARGET})
# Copy SVG icon
# Copy SVG icons
install(FILES ${CMAKE_SOURCE_DIR}/files/icons/lightning/lightning.svg
DESTINATION ${CMAKE_INSTALL_BINDIR}/icons)
install(FILES ${CMAKE_SOURCE_DIR}/files/icons/reverse_direction/reverse_direction.svg
DESTINATION ${CMAKE_INSTALL_BINDIR}/icons)
# For each .ts file install corrensponding .qm file
foreach(TS_FILE ${MR_TIMETABLE_PLANNER_TS_FILES})
get_filename_component(QM_FILE_NAME ${TS_FILE} NAME_WLE)