tools/CreateMacBundle.cmake.in
branchsdl2transition
changeset 11342 ed5a6478e710
parent 9851 b1e4f0dddfb5
child 11614 b77870abb3c4
equal deleted inserted replaced
11340:31570b766315 11342:ed5a6478e710
    17     execute_process(COMMAND install_name_tool -change ${PNG_LIBRARY} @executable_path/../Frameworks/${PNG_LIBNAME} ${engine_full_path})
    17     execute_process(COMMAND install_name_tool -change ${PNG_LIBRARY} @executable_path/../Frameworks/${PNG_LIBNAME} ${engine_full_path})
    18     execute_process(COMMAND install_name_tool -change ${ZLIB_LIBRARY} @executable_path/../Frameworks/${ZLIB_LIBNAME} ${engine_full_path})
    18     execute_process(COMMAND install_name_tool -change ${ZLIB_LIBRARY} @executable_path/../Frameworks/${ZLIB_LIBNAME} ${engine_full_path})
    19 endif()
    19 endif()
    20 
    20 
    21 if(doBundle EQUAL 1)
    21 if(doBundle EQUAL 1)
    22     execute_process(COMMAND cp -pPR ${sdl_library_only} ${frameworks_dir}/SDL.framework)
    22     execute_process(COMMAND cp ${PNG_LIBRARY} ${frameworks_dir})
    23     execute_process(COMMAND cp -pPR ${SDLIMAGE_LIBRARY} ${frameworks_dir}/SDL_image.framework)
    23 
    24     execute_process(COMMAND cp -pPR ${SDLNET_LIBRARY}   ${frameworks_dir}/SDL_net.framework)
    24     execute_process(COMMAND cp -pPR ${sdl_library_only} ${frameworks_dir})
    25     execute_process(COMMAND cp -pPR ${SDLTTF_LIBRARY}   ${frameworks_dir}/SDL_ttf.framework)
    25     execute_process(COMMAND cp -pPR ${SDLIMAGE_LIBRARY} ${frameworks_dir})
    26     execute_process(COMMAND cp -pPR ${SDLMIXER_LIBRARY} ${frameworks_dir}/SDL_mixer.framework)
    26     execute_process(COMMAND cp -pPR ${SDLNET_LIBRARY}   ${frameworks_dir})
    27     execute_process(COMMAND cp -pPR ${OGG_LIBRARY}      ${frameworks_dir}/Ogg.framework)
    27     execute_process(COMMAND cp -pPR ${SDLTTF_LIBRARY}   ${frameworks_dir})
    28     execute_process(COMMAND cp -pPR ${VORBIS_LIBRARY}   ${frameworks_dir}/Vorbis.framework)
    28     execute_process(COMMAND cp -pPR ${SDLMIXER_LIBRARY} ${frameworks_dir})
       
    29     execute_process(COMMAND cp -pPR ${OGG_LIBRARY}      ${frameworks_dir})
       
    30     execute_process(COMMAND cp -pPR ${VORBIS_LIBRARY}   ${frameworks_dir})
    29 
    31 
    30     if(${SPARKLE_FOUND})
    32     if(${SPARKLE_FOUND})
    31         execute_process(COMMAND cp -pPR ${SPARKLE_LIBRARY} ${frameworks_dir}/Sparkle.framework)
    33         execute_process(COMMAND cp -pPR ${SPARKLE_LIBRARY} ${frameworks_dir})
    32     endif()
    34     endif()
    33     message(STATUS "Frameworks and libraries successfully copied...")
    35     message(STATUS "Frameworks and libraries successfully copied...")
    34 else()
    36 else()
    35     message(STATUS "Frameworks already present, skipping...")
    37     message(STATUS "Frameworks already present, skipping...")
    36 endif()
    38 endif()