From 0de2d3a0b6941c566713309078eeed9a8972bae4 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Fri, 11 Mar 2022 20:37:06 +0100 Subject: utils: rework cmake deploy function. Use named arguments for function and allow passing additional executable targets to be copied to the deploy tree. Update current uses and add ipodpatcher and sansapatcher to Rockbox Utility deployment. This is in preparation for moving ipodpatcher / sansapatcher functionality out of Rockbox Utility so we eventually can avoid elevation / sudo of the whole installer. Currently this only results in Rockbox Utility releases shipping ipodpatcher / sansapatcher executables. Change-Id: Ibb6601b7e437648135059c580e2ce2532574835a --- utils/themeeditor/CMakeLists.txt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'utils/themeeditor/CMakeLists.txt') diff --git a/utils/themeeditor/CMakeLists.txt b/utils/themeeditor/CMakeLists.txt index d0957a96da..b29265898a 100644 --- a/utils/themeeditor/CMakeLists.txt +++ b/utils/themeeditor/CMakeLists.txt @@ -142,8 +142,9 @@ if(APPLE) PROPERTIES MACOSX_PACKAGE_LOCATION Resources) endif() -deploy_qt(RockboxThemeEditor - ${QT_BINDIR} - ${CMAKE_CURRENT_LIST_DIR}/resources/rbthemeeditor.svg - ${CMAKE_CURRENT_LIST_DIR}/RockboxThemeEditor.desktop - ${CMAKE_CURRENT_LIST_DIR}/dmgbuild.cfg) +deploy_qt(TARGET RockboxThemeEditor + QTBINDIR ${QT_BINDIR} + ICONFILE ${CMAKE_CURRENT_LIST_DIR}/resources/rbthemeeditor.svg + DESKTOPFILE ${CMAKE_CURRENT_LIST_DIR}/RockboxThemeEditor.desktop + DMGBUILDCFG ${CMAKE_CURRENT_LIST_DIR}/dmgbuild.cfg) + -- cgit v1.2.3