OSX - cmake: blenderplayer part 2: Jens Verwiever co-patch

Using OSX Bundle (in oppose to Blender dummy .app) as start point for binary.
That way we don't need to move the blenderplayer after the bundle is finished and we can rebuild it without doing `make install`
I will test more tomorrow, but it should be working now
This commit is contained in:
Dalai Felinto
2011-09-26 07:54:30 +00:00
parent 8f302f7ffd
commit aeafb960b1
2 changed files with 8 additions and 8 deletions

View File

@@ -63,6 +63,8 @@ if(WIN32 AND NOT UNIX)
endif()
add_executable(blenderplayer ${EXETYPE} ${CMAKE_CURRENT_BINARY_DIR}/dna.c ../icons/winblender.rc)
elseif(APPLE)
add_executable(blenderplayer MACOSX_BUNDLE ${CMAKE_CURRENT_BINARY_DIR}/dna.c)
else()
add_executable(blenderplayer ${CMAKE_CURRENT_BINARY_DIR}/dna.c)
endif()