1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-01-31 09:44:50 +01:00

Add make dmg

This commit is contained in:
Jonas Kvinge 2019-01-04 01:22:32 +01:00
parent b6db96b653
commit 9378bac10e
2 changed files with 6 additions and 0 deletions

View File

@ -30,6 +30,7 @@ include(cmake/OptionalSource.cmake)
include(cmake/ParseArguments.cmake)
include(cmake/Rpm.cmake)
include(cmake/Deb.cmake)
include(cmake/Dmg.cmake)
if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
set(LINUX ON)

5
cmake/Dmg.cmake Normal file
View File

@ -0,0 +1,5 @@
add_custom_target(dmg
COMMAND sudo ${CMAKE_SOURCE_DIR}/dist/macos/macdeploy.py strawberry.app
COMMAND sudo ${CMAKE_SOURCE_DIR}/dist/macos/create-dmg.sh strawberry.app
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
)