tools/CreateMacBundle.cmake.in
author unc0rr
Sun, 29 Nov 2009 16:56:04 +0000
changeset 2647 0e1208e92dfe
parent 2547 04b862264c4a
child 4335 c279aeb615df
permissions -rw-r--r--
Smaxx patch with tuning by me: - hogs might worry/panic if they're next to explosives (grenade, dynamite, etc.) - play sndVaporice for each fire extinguished only once (not 3 times) - allow "on attack" voices/sounds for weapons (similar to water melon bomb) - allow one voice/sound to be played during emotes - print protocol version in version info (console) - rope sounds (disabled atm) - landscape background - optimized/rewrote explosion drawing - fixed "StopSound" called with an inactive sound to stop some random sound - disabled npott
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2401
2a694ea2a437 fixes & co.
koda
parents: 2261
diff changeset
     1
execute_process(COMMAND mkdir -p ${frameworks_dir})
2a694ea2a437 fixes & co.
koda
parents: 2261
diff changeset
     2
2261
57e99c908e7c a lot of stuff:
koda
parents: 2219
diff changeset
     3
execute_process(COMMAND ${macdeployqt_EXE} ${CMAKE_BINARY_DIR}/${bundle_name} OUTPUT_QUIET ERROR_QUIET)
2219
07f5345ecae7 additional variable (BUNDLE) to make a standalone Mac application
koda
parents:
diff changeset
     4
2401
2a694ea2a437 fixes & co.
koda
parents: 2261
diff changeset
     5
execute_process(COMMAND cp -pPR ${sdl_dir}		${CMAKE_BINARY_DIR}/${frameworks_dir}/SDL.framework)
2a694ea2a437 fixes & co.
koda
parents: 2261
diff changeset
     6
execute_process(COMMAND cp -pPR ${SDLIMAGE_LIBRARY}	${CMAKE_BINARY_DIR}/${frameworks_dir}/SDL_image.framework)
2a694ea2a437 fixes & co.
koda
parents: 2261
diff changeset
     7
execute_process(COMMAND cp -pPR ${SDLNET_LIBRARY}	${CMAKE_BINARY_DIR}/${frameworks_dir}/SDL_net.framework)
2a694ea2a437 fixes & co.
koda
parents: 2261
diff changeset
     8
execute_process(COMMAND cp -pPR ${SDLTTF_LIBRARY}	${CMAKE_BINARY_DIR}/${frameworks_dir}/SDL_ttf.framework)
2522
42986b9ebc74 moves project files to proper directory
koda
parents: 2409
diff changeset
     9
execute_process(COMMAND cp -pPR ${SDLMIXER_LIBRARY}	${CMAKE_BINARY_DIR}/${frameworks_dir}/SDL_mixer.framework)
2401
2a694ea2a437 fixes & co.
koda
parents: 2261
diff changeset
    10
execute_process(COMMAND cp -pPR ${OGG_LIBRARY}	 	${CMAKE_BINARY_DIR}/${frameworks_dir}/Ogg.framework)
2a694ea2a437 fixes & co.
koda
parents: 2261
diff changeset
    11
execute_process(COMMAND cp -pPR ${VORBIS_LIBRARY}	${CMAKE_BINARY_DIR}/${frameworks_dir}/Vorbis.framework)
2a694ea2a437 fixes & co.
koda
parents: 2261
diff changeset
    12
2547
koda
parents: 2522
diff changeset
    13
if(${SPARKLE_FOUND})
2409
dbf195c3e09c fix a very rare bug in which CurSlot becomes greater than cMaxCurSlot
koda
parents: 2401
diff changeset
    14
	execute_process(COMMAND cp -pPR ${SPARKLE_LIBRARY}	${CMAKE_BINARY_DIR}/${frameworks_dir}/Sparkle.framework)
2401
2a694ea2a437 fixes & co.
koda
parents: 2261
diff changeset
    15
endif()
2219
07f5345ecae7 additional variable (BUNDLE) to make a standalone Mac application
koda
parents:
diff changeset
    16