CMake: Proper bundle for blender binary for Mac OS X and just keep blenderplayer as regular binary as with download from blender3d.org

This commit is contained in:
Jacques Beuarain
2006-12-06 00:28:13 +00:00
parent 593d9ae738
commit 2279872921
2 changed files with 33 additions and 4 deletions

View File

@@ -27,6 +27,8 @@
#
# ***** END GPL/BL DUAL LICENSE BLOCK *****
MESSAGE(STATUS "Configuring blenderplayer")
SETUP_LIBDIRS()
FILE(APPEND ../source/blender/makesdna/intern/dna.c "")
@@ -36,9 +38,9 @@ IF(WITH_QUICKTIME)
ENDIF(WITH_QUICKTIME)
IF(WIN32)
ADD_EXECUTABLE(blenderplayer ${EXETYPE} ../source/blender/makesdna/intern/dna.c ../source/icons/winblender.rc)
ADD_EXECUTABLE(blenderplayer ${EXETYPE} ../source/blender/makesdna/intern/dna.c ../source/icons/winplayer.rc)
ELSE(WIN32)
ADD_EXECUTABLE(blenderplayer ${EXETYPE} ../source/blender/makesdna/intern/dna.c)
ADD_EXECUTABLE(blenderplayer ../source/blender/makesdna/intern/dna.c)
ENDIF(WIN32)
ADD_DEPENDENCIES(blenderplayer makesdna)
@@ -115,4 +117,3 @@ ELSE(UNIX)
TARGET_LINK_LIBRARIES(blenderplayer ${BLENDER_LINK_LIBS})
ENDIF(UNIX)
MESSAGE(STATUS "Configuring blenderplayer")