[cmake] Rebrand desktop version to CoMaps

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
Konstantin Pastbin
2025-05-19 20:28:35 +07:00
parent 38802dd29a
commit 54ab965822
6 changed files with 20 additions and 20 deletions

View File

@@ -75,12 +75,12 @@ target_link_libraries(${PROJECT_NAME}
if (BUILD_DESIGNER)
target_link_libraries(${PROJECT_NAME} generator)
set(BUNDLE_NAME "OMaps.Designer")
set(BUNDLE_DISPLAY_NAME "Organic Maps Designer")
set(BUNDLE_NAME "CoMaps.Designer")
set(BUNDLE_DISPLAY_NAME "CoMaps Designer")
set(BUNDLE_ICON designer.icns)
else()
set(BUNDLE_NAME "OMaps")
set(BUNDLE_DISPLAY_NAME "Organic Maps Desktop")
set(BUNDLE_NAME "CoMaps")
set(BUNDLE_DISPLAY_NAME "CoMaps Desktop")
set(BUNDLE_ICON mac.icns)
endif()
@@ -138,12 +138,12 @@ copy_resources(
)
install(TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_PREFIX}/bin/)
install(DIRECTORY ${OMIM_ROOT}/data DESTINATION ${CMAKE_INSTALL_PREFIX}/share/organicmaps/)
install(DIRECTORY ${OMIM_ROOT}/data DESTINATION ${CMAKE_INSTALL_PREFIX}/share/comaps/)
if (PLATFORM_LINUX)
install(FILES ${OMIM_ROOT}/packaging/app.organicmaps.desktop.metainfo.xml DESTINATION ${CMAKE_INSTALL_PREFIX}/share/metainfo/)
install(FILES ${OMIM_ROOT}/qt/res/app.organicmaps.desktop.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications/)
install(FILES ${OMIM_ROOT}/qt/res/logo.png DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/512x512/apps/ RENAME organicmaps.png)
install(FILES ${OMIM_ROOT}/packaging/app.comaps.desktop.metainfo.xml DESTINATION ${CMAKE_INSTALL_PREFIX}/share/metainfo/)
install(FILES ${OMIM_ROOT}/qt/res/app.comaps.desktop.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications/)
install(FILES ${OMIM_ROOT}/qt/res/logo.png DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/512x512/apps/ RENAME comaps.png)
endif()
if (NOT PLATFORM_LINUX)