tools/CMakeLists.txt
changeset 10382 a5752075f897
parent 9963 9e75dbffec81
child 10762 a017ec64f675
child 10974 0f9fc5923be4
equal deleted inserted replaced
10381:d263e0abcd7c 10382:a5752075f897
    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