[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [38623] branches/soc-2011-carrot: Merge with trunk r38619
Miika Hamalainen
miika.hamalainen at kolumbus.fi
Fri Jul 22 20:51:53 CEST 2011
Revision: 38623
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=38623
Author: miikah
Date: 2011-07-22 18:51:53 +0000 (Fri, 22 Jul 2011)
Log Message:
-----------
Merge with trunk r38619
Revision Links:
--------------
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=38619
Modified Paths:
--------------
branches/soc-2011-carrot/CMakeLists.txt
branches/soc-2011-carrot/GNUmakefile
branches/soc-2011-carrot/SConstruct
branches/soc-2011-carrot/build_files/cmake/cmake_consistency_check.py
branches/soc-2011-carrot/build_files/scons/tools/Blender.py
branches/soc-2011-carrot/build_files/scons/tools/btools.py
branches/soc-2011-carrot/doc/python_api/examples/bge.texture.py
branches/soc-2011-carrot/doc/python_api/rst/bgl.rst
branches/soc-2011-carrot/extern/binreloc/CMakeLists.txt
branches/soc-2011-carrot/extern/eltopo/CMakeLists.txt
branches/soc-2011-carrot/extern/glew/CMakeLists.txt
branches/soc-2011-carrot/extern/lzo/CMakeLists.txt
branches/soc-2011-carrot/intern/CMakeLists.txt
branches/soc-2011-carrot/intern/audaspace/CMakeLists.txt
branches/soc-2011-carrot/intern/boolop/CMakeLists.txt
branches/soc-2011-carrot/intern/bsp/CMakeLists.txt
branches/soc-2011-carrot/intern/ffmpeg/ffmpeg_compat.h
branches/soc-2011-carrot/intern/ghost/CMakeLists.txt
branches/soc-2011-carrot/intern/ghost/GHOST_Types.h
branches/soc-2011-carrot/intern/ghost/SConscript
branches/soc-2011-carrot/intern/ghost/intern/GHOST_Debug.h
branches/soc-2011-carrot/intern/ghost/intern/GHOST_EventPrinter.cpp
branches/soc-2011-carrot/intern/ghost/intern/GHOST_EventPrinter.h
branches/soc-2011-carrot/intern/ghost/intern/GHOST_ISystem.cpp
branches/soc-2011-carrot/intern/ghost/intern/GHOST_NDOFManager.cpp
branches/soc-2011-carrot/intern/ghost/intern/GHOST_SystemWin32.cpp
branches/soc-2011-carrot/intern/ghost/intern/GHOST_SystemX11.cpp
branches/soc-2011-carrot/intern/ghost/intern/GHOST_SystemX11.h
branches/soc-2011-carrot/intern/mikktspace/mikktspace.c
branches/soc-2011-carrot/intern/smoke/CMakeLists.txt
branches/soc-2011-carrot/release/scripts/modules/addon_utils.py
branches/soc-2011-carrot/release/scripts/modules/bpy/ops.py
branches/soc-2011-carrot/release/scripts/modules/bpy/path.py
branches/soc-2011-carrot/release/scripts/modules/bpy/utils.py
branches/soc-2011-carrot/release/scripts/modules/bpy_extras/image_utils.py
branches/soc-2011-carrot/release/scripts/modules/bpy_extras/io_utils.py
branches/soc-2011-carrot/release/scripts/modules/bpy_extras/mesh_utils.py
branches/soc-2011-carrot/release/scripts/startup/bl_operators/image.py
branches/soc-2011-carrot/release/scripts/startup/bl_operators/object_align.py
branches/soc-2011-carrot/release/scripts/startup/bl_operators/presets.py
branches/soc-2011-carrot/release/scripts/startup/bl_operators/uvcalc_smart_project.py
branches/soc-2011-carrot/release/scripts/startup/bl_ui/properties_animviz.py
branches/soc-2011-carrot/release/scripts/startup/bl_ui/properties_data_armature.py
branches/soc-2011-carrot/release/scripts/startup/bl_ui/properties_data_curve.py
branches/soc-2011-carrot/release/scripts/startup/bl_ui/properties_material.py
branches/soc-2011-carrot/release/scripts/startup/bl_ui/properties_object.py
branches/soc-2011-carrot/release/scripts/startup/bl_ui/properties_texture.py
branches/soc-2011-carrot/release/scripts/startup/bl_ui/space_image.py
branches/soc-2011-carrot/release/scripts/startup/bl_ui/space_node.py
branches/soc-2011-carrot/release/scripts/startup/bl_ui/space_userpref.py
branches/soc-2011-carrot/release/scripts/startup/bl_ui/space_userpref_keymap.py
branches/soc-2011-carrot/release/scripts/startup/bl_ui/space_view3d.py
branches/soc-2011-carrot/release/scripts/startup/bl_ui/space_view3d_toolbar.py
branches/soc-2011-carrot/release/scripts/startup/keyingsets_builtins.py
branches/soc-2011-carrot/source/blender/avi/AVI_avi.h
branches/soc-2011-carrot/source/blender/avi/CMakeLists.txt
branches/soc-2011-carrot/source/blender/blenfont/CMakeLists.txt
branches/soc-2011-carrot/source/blender/blenkernel/CMakeLists.txt
branches/soc-2011-carrot/source/blender/blenkernel/SConscript
branches/soc-2011-carrot/source/blender/blenkernel/intern/boids.c
branches/soc-2011-carrot/source/blender/blenkernel/intern/depsgraph.c
branches/soc-2011-carrot/source/blender/blenkernel/intern/image.c
branches/soc-2011-carrot/source/blender/blenkernel/intern/material.c
branches/soc-2011-carrot/source/blender/blenkernel/intern/particle.c
branches/soc-2011-carrot/source/blender/blenkernel/intern/particle_system.c
branches/soc-2011-carrot/source/blender/blenkernel/intern/pointcache.c
branches/soc-2011-carrot/source/blender/blenkernel/intern/sequencer.c
branches/soc-2011-carrot/source/blender/blenkernel/intern/smoke.c
branches/soc-2011-carrot/source/blender/blenkernel/intern/sound.c
branches/soc-2011-carrot/source/blender/blenkernel/intern/subsurf_ccg.c
branches/soc-2011-carrot/source/blender/blenkernel/intern/texture.c
branches/soc-2011-carrot/source/blender/blenkernel/intern/writeavi.c
branches/soc-2011-carrot/source/blender/blenkernel/intern/writeframeserver.c
branches/soc-2011-carrot/source/blender/blenlib/CMakeLists.txt
branches/soc-2011-carrot/source/blender/blenlib/intern/path_util.c
branches/soc-2011-carrot/source/blender/blenloader/CMakeLists.txt
branches/soc-2011-carrot/source/blender/blenloader/intern/readfile.c
branches/soc-2011-carrot/source/blender/blenloader/intern/writefile.c
branches/soc-2011-carrot/source/blender/blenpluginapi/CMakeLists.txt
branches/soc-2011-carrot/source/blender/collada/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/animation/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/armature/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/curve/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/datafiles/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/datafiles/preview.blend.c
branches/soc-2011-carrot/source/blender/editors/gpencil/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/include/ED_node.h
branches/soc-2011-carrot/source/blender/editors/interface/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/mesh/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/metaball/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/object/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/object/object_bake.c
branches/soc-2011-carrot/source/blender/editors/physics/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/physics/physics_fluid.c
branches/soc-2011-carrot/source/blender/editors/render/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/render/render_preview.c
branches/soc-2011-carrot/source/blender/editors/render/render_shading.c
branches/soc-2011-carrot/source/blender/editors/screen/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/sculpt_paint/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/sound/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/space_action/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/space_api/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/space_buttons/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/space_buttons/buttons_context.c
branches/soc-2011-carrot/source/blender/editors/space_file/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/space_graph/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/space_image/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/space_image/image_buttons.c
branches/soc-2011-carrot/source/blender/editors/space_image/image_ops.c
branches/soc-2011-carrot/source/blender/editors/space_info/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/space_logic/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/space_nla/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/space_node/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/space_node/drawnode.c
branches/soc-2011-carrot/source/blender/editors/space_node/node_draw.c
branches/soc-2011-carrot/source/blender/editors/space_node/node_edit.c
branches/soc-2011-carrot/source/blender/editors/space_node/node_header.c
branches/soc-2011-carrot/source/blender/editors/space_node/node_intern.h
branches/soc-2011-carrot/source/blender/editors/space_node/node_ops.c
branches/soc-2011-carrot/source/blender/editors/space_node/space_node.c
branches/soc-2011-carrot/source/blender/editors/space_outliner/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/space_script/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/space_sequencer/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/space_sound/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/space_text/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/space_time/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/space_userpref/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/space_view3d/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/space_view3d/drawobject.c
branches/soc-2011-carrot/source/blender/editors/space_view3d/view3d_buttons.c
branches/soc-2011-carrot/source/blender/editors/space_view3d/view3d_draw.c
branches/soc-2011-carrot/source/blender/editors/space_view3d/view3d_intern.h
branches/soc-2011-carrot/source/blender/editors/transform/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/transform/transform.c
branches/soc-2011-carrot/source/blender/editors/transform/transform_conversions.c
branches/soc-2011-carrot/source/blender/editors/transform/transform_ops.c
branches/soc-2011-carrot/source/blender/editors/util/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/uvedit/CMakeLists.txt
branches/soc-2011-carrot/source/blender/editors/uvedit/uvedit_ops.c
branches/soc-2011-carrot/source/blender/gpu/CMakeLists.txt
branches/soc-2011-carrot/source/blender/gpu/SConscript
branches/soc-2011-carrot/source/blender/gpu/intern/gpu_draw.c
branches/soc-2011-carrot/source/blender/ikplugin/CMakeLists.txt
branches/soc-2011-carrot/source/blender/imbuf/CMakeLists.txt
branches/soc-2011-carrot/source/blender/imbuf/intern/cineon/CMakeLists.txt
branches/soc-2011-carrot/source/blender/imbuf/intern/dds/CMakeLists.txt
branches/soc-2011-carrot/source/blender/imbuf/intern/openexr/CMakeLists.txt
branches/soc-2011-carrot/source/blender/makesdna/DNA_image_types.h
branches/soc-2011-carrot/source/blender/makesdna/DNA_node_types.h
branches/soc-2011-carrot/source/blender/makesdna/DNA_particle_types.h
branches/soc-2011-carrot/source/blender/makesdna/DNA_scene_types.h
branches/soc-2011-carrot/source/blender/makesrna/intern/CMakeLists.txt
branches/soc-2011-carrot/source/blender/makesrna/intern/SConscript
branches/soc-2011-carrot/source/blender/makesrna/intern/rna_constraint.c
branches/soc-2011-carrot/source/blender/makesrna/intern/rna_curve.c
branches/soc-2011-carrot/source/blender/makesrna/intern/rna_image.c
branches/soc-2011-carrot/source/blender/makesrna/intern/rna_object.c
branches/soc-2011-carrot/source/blender/makesrna/intern/rna_object_api.c
branches/soc-2011-carrot/source/blender/makesrna/intern/rna_scene.c
branches/soc-2011-carrot/source/blender/modifiers/CMakeLists.txt
branches/soc-2011-carrot/source/blender/modifiers/intern/MOD_cast.c
branches/soc-2011-carrot/source/blender/modifiers/intern/MOD_displace.c
branches/soc-2011-carrot/source/blender/modifiers/intern/MOD_hook.c
branches/soc-2011-carrot/source/blender/modifiers/intern/MOD_meshdeform.c
branches/soc-2011-carrot/source/blender/modifiers/intern/MOD_simpledeform.c
branches/soc-2011-carrot/source/blender/modifiers/intern/MOD_smooth.c
branches/soc-2011-carrot/source/blender/modifiers/intern/MOD_solidify.c
branches/soc-2011-carrot/source/blender/modifiers/intern/MOD_util.c
branches/soc-2011-carrot/source/blender/modifiers/intern/MOD_util.h
branches/soc-2011-carrot/source/blender/modifiers/intern/MOD_warp.c
branches/soc-2011-carrot/source/blender/modifiers/intern/MOD_wave.c
branches/soc-2011-carrot/source/blender/nodes/CMakeLists.txt
branches/soc-2011-carrot/source/blender/nodes/intern/CMP_nodes/CMP_blur.c
branches/soc-2011-carrot/source/blender/nodes/intern/CMP_util.c
branches/soc-2011-carrot/source/blender/nodes/intern/SHD_util.c
branches/soc-2011-carrot/source/blender/python/CMakeLists.txt
branches/soc-2011-carrot/source/blender/python/SConscript
branches/soc-2011-carrot/source/blender/python/generic/CMakeLists.txt
branches/soc-2011-carrot/source/blender/python/generic/bgl.c
branches/soc-2011-carrot/source/blender/python/intern/CMakeLists.txt
branches/soc-2011-carrot/source/blender/python/intern/bpy.c
branches/soc-2011-carrot/source/blender/python/intern/bpy_interface.c
branches/soc-2011-carrot/source/blender/python/intern/bpy_rna.c
branches/soc-2011-carrot/source/blender/quicktime/CMakeLists.txt
branches/soc-2011-carrot/source/blender/render/CMakeLists.txt
branches/soc-2011-carrot/source/blender/render/SConscript
branches/soc-2011-carrot/source/blender/render/intern/source/convertblender.c
branches/soc-2011-carrot/source/blender/render/intern/source/voxeldata.c
branches/soc-2011-carrot/source/blender/windowmanager/CMakeLists.txt
branches/soc-2011-carrot/source/blender/windowmanager/intern/wm_files.c
branches/soc-2011-carrot/source/blender/windowmanager/intern/wm_operators.c
branches/soc-2011-carrot/source/blenderplayer/CMakeLists.txt
branches/soc-2011-carrot/source/blenderplayer/bad_level_call_stubs/CMakeLists.txt
branches/soc-2011-carrot/source/creator/CMakeLists.txt
branches/soc-2011-carrot/source/creator/creator.c
branches/soc-2011-carrot/source/gameengine/BlenderRoutines/CMakeLists.txt
branches/soc-2011-carrot/source/gameengine/Converter/BL_BlenderDataConversion.cpp
branches/soc-2011-carrot/source/gameengine/Converter/CMakeLists.txt
branches/soc-2011-carrot/source/gameengine/Expressions/CMakeLists.txt
branches/soc-2011-carrot/source/gameengine/Expressions/PyObjectPlus.cpp
branches/soc-2011-carrot/source/gameengine/Expressions/PyObjectPlus.h
branches/soc-2011-carrot/source/gameengine/GameLogic/CMakeLists.txt
branches/soc-2011-carrot/source/gameengine/GamePlayer/common/CMakeLists.txt
branches/soc-2011-carrot/source/gameengine/GamePlayer/ghost/CMakeLists.txt
branches/soc-2011-carrot/source/gameengine/Ketsji/CMakeLists.txt
branches/soc-2011-carrot/source/gameengine/Ketsji/KXNetwork/CMakeLists.txt
branches/soc-2011-carrot/source/gameengine/Ketsji/KX_PyMath.h
branches/soc-2011-carrot/source/gameengine/Ketsji/KX_PythonInit.cpp
branches/soc-2011-carrot/source/gameengine/Ketsji/SConscript
branches/soc-2011-carrot/source/gameengine/Network/CMakeLists.txt
branches/soc-2011-carrot/source/gameengine/Network/LoopBackNetwork/CMakeLists.txt
branches/soc-2011-carrot/source/gameengine/Physics/Bullet/CMakeLists.txt
branches/soc-2011-carrot/source/gameengine/Rasterizer/CMakeLists.txt
branches/soc-2011-carrot/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/CMakeLists.txt
branches/soc-2011-carrot/source/gameengine/VideoTexture/CMakeLists.txt
Added Paths:
-----------
branches/soc-2011-carrot/intern/ghost/intern/GHOST_DisplayManagerSDL.cpp
branches/soc-2011-carrot/intern/ghost/intern/GHOST_DisplayManagerSDL.h
branches/soc-2011-carrot/intern/ghost/intern/GHOST_SystemSDL.cpp
branches/soc-2011-carrot/intern/ghost/intern/GHOST_SystemSDL.h
branches/soc-2011-carrot/intern/ghost/intern/GHOST_WindowSDL.cpp
branches/soc-2011-carrot/intern/ghost/intern/GHOST_WindowSDL.h
branches/soc-2011-carrot/release/scripts/templates/batch_export.py
branches/soc-2011-carrot/source/blender/python/mathutils/
branches/soc-2011-carrot/source/blender/python/mathutils/CMakeLists.txt
branches/soc-2011-carrot/source/blender/python/mathutils/mathutils.c
branches/soc-2011-carrot/source/blender/python/mathutils/mathutils.h
branches/soc-2011-carrot/source/blender/python/mathutils/mathutils_Color.c
branches/soc-2011-carrot/source/blender/python/mathutils/mathutils_Color.h
branches/soc-2011-carrot/source/blender/python/mathutils/mathutils_Euler.c
branches/soc-2011-carrot/source/blender/python/mathutils/mathutils_Euler.h
branches/soc-2011-carrot/source/blender/python/mathutils/mathutils_Matrix.c
branches/soc-2011-carrot/source/blender/python/mathutils/mathutils_Matrix.h
branches/soc-2011-carrot/source/blender/python/mathutils/mathutils_Quaternion.c
branches/soc-2011-carrot/source/blender/python/mathutils/mathutils_Quaternion.h
branches/soc-2011-carrot/source/blender/python/mathutils/mathutils_Vector.c
branches/soc-2011-carrot/source/blender/python/mathutils/mathutils_Vector.h
branches/soc-2011-carrot/source/blender/python/mathutils/mathutils_geometry.c
branches/soc-2011-carrot/source/blender/python/mathutils/mathutils_geometry.h
branches/soc-2011-carrot/source/tests/check_deprecated.py
Removed Paths:
-------------
branches/soc-2011-carrot/source/blender/python/generic/mathutils.c
branches/soc-2011-carrot/source/blender/python/generic/mathutils.h
branches/soc-2011-carrot/source/blender/python/generic/mathutils_Color.c
branches/soc-2011-carrot/source/blender/python/generic/mathutils_Color.h
branches/soc-2011-carrot/source/blender/python/generic/mathutils_Euler.c
branches/soc-2011-carrot/source/blender/python/generic/mathutils_Euler.h
branches/soc-2011-carrot/source/blender/python/generic/mathutils_Matrix.c
branches/soc-2011-carrot/source/blender/python/generic/mathutils_Matrix.h
branches/soc-2011-carrot/source/blender/python/generic/mathutils_Quaternion.c
branches/soc-2011-carrot/source/blender/python/generic/mathutils_Quaternion.h
branches/soc-2011-carrot/source/blender/python/generic/mathutils_Vector.c
branches/soc-2011-carrot/source/blender/python/generic/mathutils_Vector.h
branches/soc-2011-carrot/source/blender/python/generic/mathutils_geometry.c
branches/soc-2011-carrot/source/blender/python/generic/mathutils_geometry.h
branches/soc-2011-carrot/source/blender/python/mathutils/CMakeLists.txt
branches/soc-2011-carrot/source/blender/python/mathutils/mathutils.c
branches/soc-2011-carrot/source/blender/python/mathutils/mathutils.h
branches/soc-2011-carrot/source/blender/python/mathutils/mathutils_Color.c
branches/soc-2011-carrot/source/blender/python/mathutils/mathutils_Color.h
branches/soc-2011-carrot/source/blender/python/mathutils/mathutils_Euler.c
branches/soc-2011-carrot/source/blender/python/mathutils/mathutils_Euler.h
branches/soc-2011-carrot/source/blender/python/mathutils/mathutils_Matrix.c
branches/soc-2011-carrot/source/blender/python/mathutils/mathutils_Matrix.h
branches/soc-2011-carrot/source/blender/python/mathutils/mathutils_Quaternion.c
branches/soc-2011-carrot/source/blender/python/mathutils/mathutils_Quaternion.h
branches/soc-2011-carrot/source/blender/python/mathutils/mathutils_Vector.c
branches/soc-2011-carrot/source/blender/python/mathutils/mathutils_Vector.h
branches/soc-2011-carrot/source/blender/python/mathutils/mathutils_geometry.c
branches/soc-2011-carrot/source/blender/python/mathutils/mathutils_geometry.h
Property Changed:
----------------
branches/soc-2011-carrot/
branches/soc-2011-carrot/doc/python_api/rst/bge.constraints.rst
Property changes on: branches/soc-2011-carrot
___________________________________________________________________
Modified: svn:mergeinfo
- /trunk/blender:36828-38281
+ /trunk/blender:36828-38619
Modified: branches/soc-2011-carrot/CMakeLists.txt
===================================================================
--- branches/soc-2011-carrot/CMakeLists.txt 2011-07-22 18:46:59 UTC (rev 38622)
+++ branches/soc-2011-carrot/CMakeLists.txt 2011-07-22 18:51:53 UTC (rev 38623)
@@ -90,6 +90,9 @@
get_blender_version()
# Blender internal features
+option(WITH_BLENDER "Build blender (disable to build only the blender player)" ON)
+mark_as_advanced(WITH_BLENDER)
+
option(WITH_INTERNATIONAL "Enable I18N (International fonts and text)" ON)
option(WITH_PYTHON "Enable Embedded Python API (only disable for development)" ON)
@@ -106,12 +109,21 @@
option(WITH_GAMEENGINE "Enable Game Engine" ON)
option(WITH_PLAYER "Build Player" OFF)
-option(WITH_AUDASPACE "Build with blenders audio library" ON)
-mark_as_advanced(WITH_AUDASPACE)
+# GHOST Windowing Library Options
+option(WITH_GHOST_DEBUG "Enable debugging output for the GHOST library" OFF)
+mark_as_advanced(WITH_GHOST_DEBUG)
+option(WITH_GHOST_SDL "Enable building blender against SDL for windowing rather then the native APIs" OFF)
+mark_as_advanced(WITH_GHOST_SDL)
+
+# Misc...
option(WITH_HEADLESS "Build without graphical support (renderfarm, server mode only)" OFF)
mark_as_advanced(WITH_HEADLESS)
+option(WITH_AUDASPACE "Build with blenders audio library (only disable if you know what you're doing!)" ON)
+mark_as_advanced(WITH_AUDASPACE)
+
+
# (unix defaults to OpenMP On)
if(UNIX AND NOT APPLE)
option(WITH_OPENMP "Enable OpenMP (has to be supported by the compiler)" ON)
@@ -129,6 +141,7 @@
# Modifiers
option(WITH_MOD_FLUID "Enable Elbeem Modifier (Fluid Simulation)" ON)
+option(WITH_MOD_SMOKE "Enable Smoke Modifier (Smoke Simulation)" ON)
option(WITH_MOD_DECIMATE "Enable Decimate Modifier" ON)
option(WITH_MOD_BOOLEAN "Enable Boolean Modifier" ON)
option(WITH_MOD_CLOTH_ELTOPO "Enable Experemental cloth solver" OFF)
@@ -142,6 +155,7 @@
option(WITH_IMAGE_CINEON "Enable CINEON and DPX Image Support" ON)
option(WITH_IMAGE_HDR "Enable HDR Image Support" ON)
option(WITH_IMAGE_REDCODE "Enable RedCode Image Support" OFF)
+option(WITH_IMAGE_FRAMESERVER "Enable image FrameServer Support for rendering" ON)
# Audio/Video format support
option(WITH_CODEC_FFMPEG "Enable FFMPeg Support (http://ffmpeg.org)" OFF)
@@ -201,6 +215,10 @@
#-----------------------------------------------------------------------------
# Check for conflicting/unsupported configurations
+if(NOT WITH_BLENDER AND NOT WITH_PLAYER)
+ message(FATAL_ERROR "At least one of WITH_BLENDER or WITH_PLAYER must be enabled, nothing to do!")
+endif()
+
if(NOT WITH_GAMEENGINE AND WITH_PLAYER)
message(FATAL_ERROR "WITH_PLAYER requires WITH_GAMEENGINE")
endif()
@@ -209,6 +227,10 @@
message(FATAL_ERROR "WITH_OPENAL/WITH_SDL/WITH_JACK/WITH_CODEC_FFMPEG require WITH_AUDASPACE")
endif()
+if(NOT WITH_SDL AND WITH_GHOST_SDL)
+ message(FATAL_ERROR "WITH_GHOST_SDL requires WITH_SDL to be ON")
+endif()
+
if(NOT WITH_IMAGE_OPENJPEG AND WITH_IMAGE_REDCODE)
message(FATAL_ERROR "WITH_IMAGE_REDCODE requires WITH_IMAGE_OPENJPEG")
endif()
@@ -433,7 +455,7 @@
# OpenSuse needs lutil, ArchLinux not, for now keep, can avoid by using --as-needed
set(PLATFORM_LINKLIBS "-lutil -lc -lm -lpthread -lstdc++")
- if(NOT WITH_HEADLESS)
+ if((NOT WITH_HEADLESS) AND (NOT WITH_GHOST_SDL))
find_package(X11 REQUIRED)
find_path(X11_XF86keysym_INCLUDE_PATH X11/XF86keysym.h ${X11_INC_SEARCH_PATH})
mark_as_advanced(X11_XF86keysym_INCLUDE_PATH)
@@ -708,10 +730,14 @@
endif()
if(WITH_PYTHON)
- set(PYTHON_VERSION 3.2)
- set(PYTHON_INCLUDE_DIRS "${LIBDIR}/python/include/python${PYTHON_VERSION}")
- # set(PYTHON_BINARY python) # not used yet
- set(PYTHON_LIBRARIES ${LIBDIR}/python/lib/python32.lib)
+ # normally cached but not since we include them with blender
+ set(PYTHON_VERSION 3.2) # CACHE STRING)
+ set(PYTHON_INCLUDE_DIR "${LIBDIR}/python/include/python${PYTHON_VERSION}") # CACHE PATH)
+ set(PYTHON_LIBRARY "${LIBDIR}/python/lib/python32.lib") #CACHE FILEPATH)
+
+ # uncached vars
+ set(PYTHON_INCLUDE_DIRS "${PYTHON_INCLUDE_DIR}")
+ set(PYTHON_LIBRARIES "${PYTHON_LIBRARY}")
endif()
set(PLATFORM_LINKFLAGS "/SUBSYSTEM:CONSOLE /STACK:2097152 /INCREMENTAL:NO /NODEFAULTLIB:msvcrt.lib /NODEFAULTLIB:msvcmrt.lib /NODEFAULTLIB:msvcurt.lib /NODEFAULTLIB:msvcrtd.lib")
@@ -789,11 +815,8 @@
if(WITH_IMAGE_OPENEXR)
set(OPENEXR ${LIBDIR}/gcc/openexr)
set(OPENEXR_INCLUDE_DIRS ${OPENEXR}/include/OpenEXR)
- set(OPENEXR_LIBRARIES Half IlmImf Imath IlmThread)
+ set(OPENEXR_LIBRARIES Half IlmImf Imath IlmThread Iex)
set(OPENEXR_LIBPATH ${OPENEXR}/lib)
-
- # TODO, gives linking errors, force off
- set(WITH_IMAGE_OPENEXR OFF)
endif()
if(WITH_IMAGE_TIFF)
@@ -814,12 +837,14 @@
endif()
if(WITH_PYTHON)
- set(PYTHON ${LIBDIR}/python)
- set(PYTHON_VERSION 3.2)
- set(PYTHON_INCLUDE_DIRS "${PYTHON}/include/python${PYTHON_VERSION}")
- # set(PYTHON_BINARY python) # not used yet
- set(PYTHON_LIBRARIES ${PYTHON}/lib/python32mw.lib)
- set(PYTHON_LIBPATH ${PYTHON}/lib)
+ # normally cached but not since we include them with blender
+ set(PYTHON_VERSION 3.2) # CACHE STRING)
+ set(PYTHON_INCLUDE_DIR "${LIBDIR}/python/include/python${PYTHON_VERSION}") # CACHE PATH)
+ set(PYTHON_LIBRARY "${LIBDIR}/python/lib/python32mw.lib") # CACHE FILEPATH)
+
+ # uncached vars
+ set(PYTHON_INCLUDE_DIRS "${PYTHON_INCLUDE_DIR}")
+ set(PYTHON_LIBRARIES "${PYTHON_LIBRARY}")
endif()
set(PLATFORM_LINKFLAGS "--stack,2097152")
@@ -870,27 +895,33 @@
set(SNDFILE_LIBPATH ${SNDFILE}/lib ${FFMPEG}/lib) # TODO, deprecate
endif()
- set(PYTHON_VERSION 3.2)
+ if(WITH_PYTHON)
+ set(PYTHON_VERSION 3.2)
+ if(PYTHON_VERSION MATCHES 3.2)
+ # we use precompiled libraries for py 3.2 and up by default
- if(PYTHON_VERSION MATCHES 3.2)
- # we use precompiled libraries for py 3.2 and up by default
+ # normally cached but not since we include them with blender
+ set(PYTHON_INCLUDE_DIR "${LIBDIR}/python/include/python${PYTHON_VERSION}")
+ # set(PYTHON_BINARY "${LIBDIR}/python/bin/python${PYTHON_VERSION}") # not used yet
+ set(PYTHON_LIBRARY python${PYTHON_VERSION})
+ set(PYTHON_LIBPATH "${LIBDIR}/python/lib/python${PYTHON_VERSION}")
+ # set(PYTHON_LINKFLAGS "-u _PyMac_Error") # won't build with this enabled
+ else()
+ # otherwise, use custom system framework
+ # *not used but maintained incase some dev wants to*
- set(PYTHON ${LIBDIR}/python)
- set(PYTHON_INCLUDE_DIRS "${PYTHON}/include/python${PYTHON_VERSION}")
- # set(PYTHON_BINARY "${PYTHON}/bin/python${PYTHON_VERSION}") # not used yet
- set(PYTHON_LIBRARIES python${PYTHON_VERSION})
- set(PYTHON_LIBPATH "${PYTHON}/lib/python${PYTHON_VERSION}")
- # set(PYTHON_LINKFLAGS "-u _PyMac_Error") # won't build with this enabled
- else()
- # otherwise, use custom system framework
+ set(PYTHON "/System/Library/Frameworks/Python.framework/Versions/" CACHE PATH)
+ set(PYTHON_INCLUDE_DIR "${PYTHON}${PYTHON_VERSION}/include/python${PYTHON_VERSION}" CACHE PATH)
+ # set(PYTHON_BINARY ${PYTHON}${PYTHON_VERSION}/bin/python${PYTHON_VERSION}) # not used yet
+ set(PYTHON_LIBRARY "" CACHE FILEPATH)
+ set(PYTHON_LIBPATH "${PYTHON}${PYTHON_VERSION}/lib/python${PYTHON_VERSION}/config" CACHE PATH)
+ set(PYTHON_LINKFLAGS "-u _PyMac_Error -framework System -framework Python" CACHE STRING)
+ unset(PYTHON)
+ endif()
- set(PYTHON /System/Library/Frameworks/Python.framework/Versions/)
- set(PYTHON_VERSION 3.2)
- set(PYTHON_INCLUDE_DIRS "${PYTHON}${PYTHON_VERSION}/include/python${PYTHON_VERSION}")
- # set(PYTHON_BINARY ${PYTHON}${PYTHON_VERSION}/bin/python${PYTHON_VERSION}) # not used yet
- set(PYTHON_LIBRARIES "")
- set(PYTHON_LIBPATH ${PYTHON}${PYTHON_VERSION}/lib/python${PYTHON_VERSION}/config)
- set(PYTHON_LINKFLAGS "-u _PyMac_Error -framework System -framework Python")
+ # uncached vars
+ set(PYTHON_INCLUDE_DIRS "${PYTHON_INCLUDE_DIR}")
+ set(PYTHON_LIBRARIES "${PYTHON_LIBRARY}")
endif()
if(WITH_INTERNATIONAL)
@@ -1185,6 +1216,20 @@
endif()
endif()
+
+# ensure python header is found since detection can fail, this could happen
+# with _any_ library but since we used a fixed python version this tends to
+# be most problematic.
+if(WITH_PYTHON)
+ if(NOT EXISTS "${PYTHON_INCLUDE_DIR}/Python.h")
+ message(FATAL_ERROR "Missing: \"${PYTHON_INCLUDE_DIR}/Python.h\",\n"
+ "Set the cache entry 'PYTHON_INCLUDE_DIR' to point "
+ "to a valid python include path. Containing "
+ "Python.h for python version \"${PYTHON_VERSION}\"")
+ endif()
+endif()
+
+
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${PLATFORM_CFLAGS} ${C_WARNINGS}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${PLATFORM_CFLAGS} ${CXX_WARNINGS}")
@@ -1213,7 +1258,9 @@
#-----------------------------------------------------------------------------
# Blender Application
-add_subdirectory(source/creator)
+if(WITH_BLENDER)
+ add_subdirectory(source/creator)
+endif()
#-----------------------------------------------------------------------------
Modified: branches/soc-2011-carrot/GNUmakefile
===================================================================
--- branches/soc-2011-carrot/GNUmakefile 2011-07-22 18:46:59 UTC (rev 38622)
+++ branches/soc-2011-carrot/GNUmakefile 2011-07-22 18:51:53 UTC (rev 38623)
@@ -73,7 +73,7 @@
@echo
@echo Building Blender ...
- make -C $(BUILD_DIR) -s -j $(NPROCS) install
+ $(MAKE) -C $(BUILD_DIR) -s -j $(NPROCS) install
@echo
@echo edit build configuration with: "$(BUILD_DIR)/CMakeCache.txt" run make again to rebuild.
@echo blender installed, run from: "$(BUILD_DIR)/bin/blender"
@@ -99,15 +99,19 @@
# run pep8 check check on scripts we distribute.
test_pep8:
- python source/tests/pep8.py > test_pep8.log 2>&1
+ python3 source/tests/pep8.py > test_pep8.log 2>&1
@echo "written: test_pep8.log"
# run some checks on our cmakefiles.
test_cmake:
- python build_files/cmake/cmake_consistency_check.py > test_cmake_consistency.log 2>&1
+ python3 build_files/cmake/cmake_consistency_check.py > test_cmake_consistency.log 2>&1
@@ Diff output truncated at 10240 characters. @@
More information about the Bf-blender-cvs
mailing list