equal
deleted
inserted
replaced
55 install(SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/CreateMacBundle.cmake |
55 install(SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/CreateMacBundle.cmake |
56 CODE "message(STATUS \"Your app bundle is ready\")") |
56 CODE "message(STATUS \"Your app bundle is ready\")") |
57 |
57 |
58 #create the .dmg for deployment |
58 #create the .dmg for deployment |
59 #first make sure .app exists, then remove any old .dmg with same name, finally run the script |
59 #first make sure .app exists, then remove any old .dmg with same name, finally run the script |
60 add_custom_target(dmg COMMAND if [ ! -a Hedgewars.app ]; then make install\; fi; |
60 add_custom_target(dmg COMMAND "if [ ! -a Hedgewars.app ]; then make install\; fi;" |
61 COMMAND rm -f ${CMAKE_BINARY_DIR}/Hedgewars-${HEDGEWARS_VERSION}.dmg |
61 COMMAND rm -f ${CMAKE_BINARY_DIR}/Hedgewars-${HEDGEWARS_VERSION}.dmg |
62 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/create-dmg.sh |
62 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/create-dmg.sh |
63 --volname "Hedgewars ${HEDGEWARS_VERSION}" |
63 --volname "Hedgewars ${HEDGEWARS_VERSION}" |
64 # --volicon icon.icns |
64 # --volicon icon.icns |
65 --window-size 600 470 |
65 --window-size 600 470 |