freedesktop: move resources to res/.
|
@ -100,6 +100,19 @@ endif()
|
|||
if(WIN32)
|
||||
add_resource(win32/icon.ico RT_ICON_GROUP APP_ICON)
|
||||
add_resource(win32/manifest.xml RT_MANIFEST APP_MANIFEST)
|
||||
elseif(APPLE)
|
||||
else()
|
||||
install(FILES freedesktop/solvespace.desktop
|
||||
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications)
|
||||
|
||||
foreach(SIZE 16x16 24x24 32x32 48x48)
|
||||
install(FILES freedesktop/solvespace-${SIZE}.png
|
||||
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/${SIZE}/apps
|
||||
RENAME solvespace.png)
|
||||
install(FILES freedesktop/solvespace-${SIZE}.png
|
||||
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/${SIZE}/mimetypes
|
||||
RENAME application.x-solvespace.png)
|
||||
endforeach()
|
||||
endif()
|
||||
add_resource(banner.txt)
|
||||
|
||||
|
|
Before Width: | Height: | Size: 336 B After Width: | Height: | Size: 336 B |
Before Width: | Height: | Size: 338 B After Width: | Height: | Size: 338 B |
Before Width: | Height: | Size: 348 B After Width: | Height: | Size: 348 B |
Before Width: | Height: | Size: 352 B After Width: | Height: | Size: 352 B |
|
@ -374,17 +374,6 @@ if(NOT WIN32)
|
|||
BUNDLE DESTINATION .)
|
||||
endif()
|
||||
|
||||
install(FILES unix/solvespace.desktop
|
||||
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications)
|
||||
foreach(SIZE 16x16 24x24 32x32 48x48)
|
||||
install(FILES unix/solvespace-${SIZE}.png
|
||||
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/${SIZE}/apps
|
||||
RENAME solvespace.png)
|
||||
install(FILES unix/solvespace-${SIZE}.png
|
||||
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/${SIZE}/mimetypes
|
||||
RENAME application.x-solvespace.png)
|
||||
endforeach()
|
||||
|
||||
# valgrind
|
||||
|
||||
add_custom_target(solvespace-valgrind
|
||||
|
|