changeset 91:5b815897657d

Add icon for macos bundle
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 06 Oct 2016 15:58:04 +0200
parents 31a3fe08be60
children 7204024777b4
files src/CMakeLists.txt src/icons/icon.icns
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/CMakeLists.txt	Wed Oct 05 15:44:35 2016 +0200
+++ b/src/CMakeLists.txt	Thu Oct 06 15:58:04 2016 +0200
@@ -79,6 +79,10 @@
    set(EXTRA_STATIC_LIBS Qt5::QCocoaIntegrationPlugin ${MAC_EXTRA_LIBS} )
    set (_add_executable_params MACOSX_BUNDLE)
    SET(APPS "\${CMAKE_INSTALL_PREFIX}/${PROJECT_NAME}.app")
+   SET(MACOSX_BUNDLE_ICON_FILE icon.icns)
+   SET_SOURCE_FILES_PROPERTIES(${CMAKE_CURRENT_SOURCE_DIR}/icons/icon.icns PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
+   SET(APPLICATION_SRC ${APPLICATION_SRC} ${CMAKE_CURRENT_SOURCE_DIR}/icons/icon.icns)
+
    SET(MACOS_INFO_STRING "Tool to convert EduApp questionaires.")
    SET(MACOSX_BUNDLE_NAME "EduExportConvert")
    SET(MACOSX_BUNDLE_GUI_IDENTIFIER "EduExportConvert")
Binary file src/icons/icon.icns has changed
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)