1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-04-20 03:37:46 +00:00

Add app icons for Windows/macOS

This commit is contained in:
Joshua Goins 2024-04-25 19:11:00 -04:00
parent a0e3e41303
commit 5d5d85b113
31 changed files with 60 additions and 0 deletions

View file

@ -26,6 +26,7 @@ include(KDEClangFormat)
include(FeatureSummary)
include(FetchContent)
include(ECMGenerateExportHeader)
include(ECMAddAppIcon)
ecm_setup_version(${PROJECT_VERSION}
VARIABLE_PREFIX NOVUS

View file

@ -51,6 +51,15 @@ target_link_libraries(novus-armoury
install(TARGETS novus-armoury ${KF${QT_MAJOR_VERSION}_INSTALL_TARGETS_DEFAULT_ARGS})
ecm_add_app_icon(novus-armoury
ICONS
zone.xiv.armoury.svg
${CMAKE_SOURCE_DIR}/resources/16-armoury.png
${CMAKE_SOURCE_DIR}/resources/32-armoury.png
${CMAKE_SOURCE_DIR}/resources/48-armoury.png
${CMAKE_SOURCE_DIR}/resources/256-armoury.png
)
if (WIN32)
install(FILES $<TARGET_RUNTIME_DLLS:novus-armoury> DESTINATION ${CMAKE_INSTALL_BINDIR})
else()

View file

@ -26,6 +26,15 @@ target_link_libraries(novus-karuku
install(TARGETS novus-karuku ${KF${QT_MAJOR_VERSION}_INSTALL_TARGETS_DEFAULT_ARGS})
ecm_add_app_icon(novus-karuku
ICONS
zone.xiv.karaku.svg
${CMAKE_SOURCE_DIR}/resources/16-excel.png
${CMAKE_SOURCE_DIR}/resources/32-excel.png
${CMAKE_SOURCE_DIR}/resources/48-excel.png
${CMAKE_SOURCE_DIR}/resources/256-excel.png
)
if (WIN32)
install(FILES $<TARGET_RUNTIME_DLLS:novus-karuku> DESTINATION ${CMAKE_INSTALL_BINDIR})
else()

View file

@ -19,12 +19,26 @@ target_include_directories(novus-launcher PUBLIC include)
install(TARGETS novus-launcher ${KF${QT_MAJOR_VERSION}_INSTALL_TARGETS_DEFAULT_ARGS})
if (WIN32)
set_target_properties(
novus-launcher
PROPERTIES WIN32_EXECUTABLE TRUE
)
install(FILES $<TARGET_RUNTIME_DLLS:novus-launcher> DESTINATION ${CMAKE_INSTALL_BINDIR})
else()
install(FILES zone.xiv.novus.desktop DESTINATION ${KDE_INSTALL_APPDIR})
install(FILES zone.xiv.novus.svg DESTINATION ${KDE_INSTALL_FULL_ICONDIR}/hicolor/scalable/apps)
endif()
ecm_add_app_icon(novus-launcher
ICONS
zone.xiv.novus.svg
${CMAKE_SOURCE_DIR}/resources/16-launcher.png
${CMAKE_SOURCE_DIR}/resources/32-launcher.png
${CMAKE_SOURCE_DIR}/resources/48-launcher.png
${CMAKE_SOURCE_DIR}/resources/256-launcher.png
)
# We only need to call deploy on one executable
qt_generate_deploy_app_script(
TARGET novus-launcher

View file

@ -26,6 +26,15 @@ target_link_libraries(novus-mapeditor
install(TARGETS novus-mapeditor ${KF${QT_MAJOR_VERSION}_INSTALL_TARGETS_DEFAULT_ARGS})
ecm_add_app_icon(novus-mapeditor
ICONS
zone.xiv.mapeditor.svg
${CMAKE_SOURCE_DIR}/resources/16-map.png
${CMAKE_SOURCE_DIR}/resources/32-map.png
${CMAKE_SOURCE_DIR}/resources/48-map.png
${CMAKE_SOURCE_DIR}/resources/256-map.png
)
if (WIN32)
install(FILES $<TARGET_RUNTIME_DLLS:novus-mapeditor> DESTINATION ${CMAKE_INSTALL_BINDIR})
else()

View file

@ -23,6 +23,15 @@ target_link_libraries(novus-mdlviewer
install(TARGETS novus-mdlviewer ${KF${QT_MAJOR_VERSION}_INSTALL_TARGETS_DEFAULT_ARGS})
ecm_add_app_icon(novus-mdlviewer
ICONS
zone.xiv.mdlviewer.svg
${CMAKE_SOURCE_DIR}/resources/16-model.png
${CMAKE_SOURCE_DIR}/resources/32-model.png
${CMAKE_SOURCE_DIR}/resources/48-model.png
${CMAKE_SOURCE_DIR}/resources/256-model.png
)
if (WIN32)
install(FILES $<TARGET_RUNTIME_DLLS:novus-mdlviewer> DESTINATION ${CMAKE_INSTALL_BINDIR})
else()

BIN
resources/16-armoury.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 800 B

BIN
resources/16-data.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 765 B

BIN
resources/16-excel.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 853 B

BIN
resources/16-launcher.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 837 B

BIN
resources/16-map.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 801 B

BIN
resources/16-model.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 829 B

BIN
resources/256-armoury.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

BIN
resources/256-data.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

BIN
resources/256-excel.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
resources/256-launcher.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

BIN
resources/256-map.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
resources/256-model.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
resources/32-armoury.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
resources/32-data.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
resources/32-excel.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

BIN
resources/32-launcher.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

BIN
resources/32-map.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
resources/32-model.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
resources/48-armoury.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
resources/48-data.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

BIN
resources/48-excel.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
resources/48-launcher.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
resources/48-map.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 KiB

BIN
resources/48-model.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View file

@ -50,6 +50,15 @@ target_link_libraries(novus-sagasu
install(TARGETS novus-sagasu ${KF${QT_MAJOR_VERSION}_INSTALL_TARGETS_DEFAULT_ARGS})
ecm_add_app_icon(novus-sagasu
ICONS
zone.xiv.sagasu.svg
${CMAKE_SOURCE_DIR}/resources/16-data.png
${CMAKE_SOURCE_DIR}/resources/32-data.png
${CMAKE_SOURCE_DIR}/resources/48-data.png
${CMAKE_SOURCE_DIR}/resources/256-data.png
)
if (WIN32)
install(FILES $<TARGET_RUNTIME_DLLS:novus-sagasu> DESTINATION ${CMAKE_INSTALL_BINDIR})
else()