Merging r40615 through r40652 from trunk into soc-2011-tomato
[blender.git] / source / creator / CMakeLists.txt
index 592307b..6e7e801 100644 (file)
@@ -728,24 +728,6 @@ elseif(APPLE)
                        CODE
                        "file(REMOVE_RECURSE ${PLAYER_TARGETDIR_VER})"
                )
-       
-
-               # handy install macro to exclude files, we use \$ escape for the "to"
-               # argument when calling so ${BUILD_TYPE} does not get expanded
-               macro(install_dir from to)
-                       install(
-                               DIRECTORY ${from}
-                               DESTINATION ${to}
-                               PATTERN ".svn" EXCLUDE
-                               PATTERN "*.pyc" EXCLUDE
-                               PATTERN "*.pyo" EXCLUDE
-                               PATTERN "*.orig" EXCLUDE
-                               PATTERN "*.rej" EXCLUDE
-                               PATTERN "__pycache__" EXCLUDE
-                               PATTERN "__MACOSX" EXCLUDE
-                               PATTERN ".DS_Store" EXCLUDE
-                       )
-               endmacro()
 
                install(
                        FILES ${PLAYER_SOURCEDIR}/Contents/PkgInfo
@@ -757,27 +739,6 @@ elseif(APPLE)
                        \${TARGETDIR}/blenderplayer.app/Contents/
                )
 
-               install(
-                       FILES ${CMAKE_SOURCE_DIR}/release/bin/.blender/.bfont.ttf
-                       DESTINATION ${PLAYER_TARGETDIR_VER}
-               )
-
-               # localization
-               if(WITH_INTERNATIONAL)
-               install(
-                               FILES ${CMAKE_SOURCE_DIR}/release/bin/.blender/.Blanguages
-                               DESTINATION ${PLAYER_TARGETDIR_VER}/datafiles
-                       )
-
-                       install(
-                       DIRECTORY
-                                       ${CMAKE_SOURCE_DIR}/release/bin/.blender/fonts
-                                       ${CMAKE_SOURCE_DIR}/release/bin/.blender/locale
-                               DESTINATION ${PLAYER_TARGETDIR_VER}/datafiles
-                               PATTERN ".svn" EXCLUDE
-                       )
-               endif()
-
                # python
                if(WITH_PYTHON)
                        add_custom_command(