equal
deleted
inserted
replaced
1 message(STATUS "Performing standalone bundle creation...") |
|
2 |
1 |
3 execute_process(COMMAND stat ${frameworks_dir} RESULT_VARIABLE doBundle OUTPUT_QUIET ERROR_QUIET) |
2 execute_process(COMMAND stat ${frameworks_dir}/SDL.framework RESULT_VARIABLE doBundle OUTPUT_QUIET ERROR_QUIET) |
4 execute_process(COMMAND mkdir -p ${frameworks_dir}) |
3 execute_process(COMMAND mkdir -p ${frameworks_dir}) |
5 # macdeployqt will convert safely any absolute path library for 'hedgewars' |
4 # macdeployqt will convert safely any absolute path library for 'hedgewars' |
6 execute_process(COMMAND ${macdeployqt_executable} ${CMAKE_BINARY_DIR}/Hedgewars.app OUTPUT_QUIET ERROR_QUIET) |
5 execute_process(COMMAND ${macdeployqt_executable} ${CMAKE_BINARY_DIR}/Hedgewars.app OUTPUT_QUIET ERROR_QUIET) |
7 |
6 |
8 if(NOT ${NOVIDEOREC}) |
7 if(NOT ${NOVIDEOREC}) |
29 execute_process(COMMAND cp -pPR ${VORBIS_LIBRARY} ${frameworks_dir}/Vorbis.framework) |
28 execute_process(COMMAND cp -pPR ${VORBIS_LIBRARY} ${frameworks_dir}/Vorbis.framework) |
30 |
29 |
31 if(${SPARKLE_FOUND}) |
30 if(${SPARKLE_FOUND}) |
32 execute_process(COMMAND cp -pPR ${SPARKLE_LIBRARY} ${frameworks_dir}/Sparkle.framework) |
31 execute_process(COMMAND cp -pPR ${SPARKLE_LIBRARY} ${frameworks_dir}/Sparkle.framework) |
33 endif() |
32 endif() |
34 message(STATUS "Bundle frameworks added") |
33 message(STATUS "Frameworks and libraries successfully copied...") |
35 else() |
34 else() |
36 message(STATUS "Bundle frameworks already present; skipping...") |
35 message(STATUS "Frameworks already present, skipping...") |
37 endif() |
36 endif() |