tools/CreateMacBundle.cmake.in
changeset 7123 9fe1c4091dd1
parent 7112 38c5d56c4d6e
child 7816 a25e943dd4b0
equal deleted inserted replaced
7110:c91d33837b0d 7123:9fe1c4091dd1
     1 message(STATUS "Performing standalone bundle creation...")
     1 message(STATUS "Performing standalone bundle creation...")
     2 
     2 
     3 execute_process(COMMAND ls ${frameworks_dir} RESULT_VARIABLE doBundle OUTPUT_QUIET ERROR_QUIET)
     3 execute_process(COMMAND ls ${frameworks_dir} RESULT_VARIABLE doBundle OUTPUT_QUIET ERROR_QUIET)
     4 
     4 
     5 execute_process(COMMAND mkdir -p ${frameworks_dir})
     5 execute_process(COMMAND mkdir -p ${frameworks_dir})
     6 execute_process(COMMAND ${macdeployqt_EXE} ${CMAKE_BINARY_DIR}/${bundle_name} OUTPUT_QUIET ERROR_QUIET)
     6 execute_process(COMMAND ${macdeployqt_executable} ${CMAKE_BINARY_DIR}/${bundle_name} OUTPUT_QUIET ERROR_QUIET)
     7 
     7 
     8 if(doBundle EQUAL 1)
     8 if(doBundle EQUAL 1)
     9     execute_process(COMMAND cp -pPR ${sdl_dir}          ${CMAKE_BINARY_DIR}/${frameworks_dir}/SDL.framework)
     9     execute_process(COMMAND cp -pPR ${sdl_dir}          ${CMAKE_BINARY_DIR}/${frameworks_dir}/SDL.framework)
    10     execute_process(COMMAND cp -pPR ${SDLIMAGE_LIBRARY} ${CMAKE_BINARY_DIR}/${frameworks_dir}/SDL_image.framework)
    10     execute_process(COMMAND cp -pPR ${SDLIMAGE_LIBRARY} ${CMAKE_BINARY_DIR}/${frameworks_dir}/SDL_image.framework)
    11     execute_process(COMMAND cp -pPR ${SDLNET_LIBRARY}   ${CMAKE_BINARY_DIR}/${frameworks_dir}/SDL_net.framework)
    11     execute_process(COMMAND cp -pPR ${SDLNET_LIBRARY}   ${CMAKE_BINARY_DIR}/${frameworks_dir}/SDL_net.framework)