[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [33352] branches/soc-2008-mxcurioni: Merged changes in the trunk up to revision 33348.

Tamito Kajiyama rd6t-kjym at asahi-net.or.jp
Sat Nov 27 13:48:35 CET 2010


Revision: 33352
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=33352
Author:   kjym3
Date:     2010-11-27 13:48:35 +0100 (Sat, 27 Nov 2010)

Log Message:
-----------
Merged changes in the trunk up to revision 33348.

Revision Links:
--------------
    http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=33348

Modified Paths:
--------------
    branches/soc-2008-mxcurioni/CMakeLists.txt
    branches/soc-2008-mxcurioni/build_files/cmake/macros.cmake
    branches/soc-2008-mxcurioni/doc/python_api/sphinx_doc_gen.py
    branches/soc-2008-mxcurioni/intern/audaspace/CMakeLists.txt
    branches/soc-2008-mxcurioni/intern/audaspace/SConscript
    branches/soc-2008-mxcurioni/intern/audaspace/intern/AUD_DefaultMixer.cpp
    branches/soc-2008-mxcurioni/intern/boolop/intern/BOP_BSPNode.cpp
    branches/soc-2008-mxcurioni/intern/boolop/intern/BOP_BSPNode.h
    branches/soc-2008-mxcurioni/intern/ghost/CMakeLists.txt
    branches/soc-2008-mxcurioni/intern/guardedalloc/CMakeLists.txt
    branches/soc-2008-mxcurioni/intern/guardedalloc/intern/mmap_win.c
    branches/soc-2008-mxcurioni/intern/smoke/intern/WAVELET_NOISE.h
    branches/soc-2008-mxcurioni/intern/smoke/intern/WTURBULENCE.cpp
    branches/soc-2008-mxcurioni/release/scripts/io/netrender/ui.py
    branches/soc-2008-mxcurioni/release/scripts/modules/bpy/__init__.py
    branches/soc-2008-mxcurioni/release/scripts/modules/bpy/ops.py
    branches/soc-2008-mxcurioni/release/scripts/modules/bpy/utils.py
    branches/soc-2008-mxcurioni/release/scripts/modules/extensions_framework/__init__.py
    branches/soc-2008-mxcurioni/release/scripts/modules/extensions_framework/engine.py
    branches/soc-2008-mxcurioni/release/scripts/modules/extensions_framework/outputs/xml_output.py
    branches/soc-2008-mxcurioni/release/scripts/modules/extensions_framework/plugin.py
    branches/soc-2008-mxcurioni/release/scripts/modules/extensions_framework/ui.py
    branches/soc-2008-mxcurioni/release/scripts/modules/extensions_framework/util.py
    branches/soc-2008-mxcurioni/release/scripts/modules/extensions_framework/validate.py
    branches/soc-2008-mxcurioni/release/scripts/op/console_python.py
    branches/soc-2008-mxcurioni/release/scripts/op/io_anim_bvh/__init__.py
    branches/soc-2008-mxcurioni/release/scripts/op/io_mesh_ply/__init__.py
    branches/soc-2008-mxcurioni/release/scripts/op/io_scene_3ds/__init__.py
    branches/soc-2008-mxcurioni/release/scripts/op/io_scene_3ds/import_3ds.py
    branches/soc-2008-mxcurioni/release/scripts/op/io_scene_fbx/__init__.py
    branches/soc-2008-mxcurioni/release/scripts/op/io_scene_fbx/export_fbx.py
    branches/soc-2008-mxcurioni/release/scripts/op/io_scene_obj/__init__.py
    branches/soc-2008-mxcurioni/release/scripts/op/io_scene_obj/export_obj.py
    branches/soc-2008-mxcurioni/release/scripts/op/io_scene_x3d/__init__.py
    branches/soc-2008-mxcurioni/release/scripts/op/io_shape_mdd/__init__.py
    branches/soc-2008-mxcurioni/release/scripts/op/object_align.py
    branches/soc-2008-mxcurioni/release/scripts/op/uvcalc_smart_project.py
    branches/soc-2008-mxcurioni/release/scripts/op/wm.py
    branches/soc-2008-mxcurioni/release/scripts/templates/operator_uv.py
    branches/soc-2008-mxcurioni/release/scripts/ui/properties_data_modifier.py
    branches/soc-2008-mxcurioni/release/scripts/ui/properties_material.py
    branches/soc-2008-mxcurioni/release/scripts/ui/properties_object_constraint.py
    branches/soc-2008-mxcurioni/release/scripts/ui/properties_particle.py
    branches/soc-2008-mxcurioni/release/scripts/ui/properties_physics_smoke.py
    branches/soc-2008-mxcurioni/release/scripts/ui/properties_scene.py
    branches/soc-2008-mxcurioni/release/scripts/ui/space_sequencer.py
    branches/soc-2008-mxcurioni/release/scripts/ui/space_userpref.py
    branches/soc-2008-mxcurioni/release/scripts/ui/space_view3d.py
    branches/soc-2008-mxcurioni/release/scripts/ui/space_view3d_toolbar.py
    branches/soc-2008-mxcurioni/source/blender/avi/AVI_avi.h
    branches/soc-2008-mxcurioni/source/blender/avi/intern/avi.c
    branches/soc-2008-mxcurioni/source/blender/blenfont/BLF_api.h
    branches/soc-2008-mxcurioni/source/blender/blenfont/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/blender/blenfont/intern/blf.c
    branches/soc-2008-mxcurioni/source/blender/blenfont/intern/blf_glyph.c
    branches/soc-2008-mxcurioni/source/blender/blenfont/intern/blf_internal.h
    branches/soc-2008-mxcurioni/source/blender/blenkernel/BKE_armature.h
    branches/soc-2008-mxcurioni/source/blender/blenkernel/BKE_blender.h
    branches/soc-2008-mxcurioni/source/blender/blenkernel/BKE_bvhutils.h
    branches/soc-2008-mxcurioni/source/blender/blenkernel/BKE_context.h
    branches/soc-2008-mxcurioni/source/blender/blenkernel/BKE_curve.h
    branches/soc-2008-mxcurioni/source/blender/blenkernel/BKE_customdata.h
    branches/soc-2008-mxcurioni/source/blender/blenkernel/BKE_exotic.h
    branches/soc-2008-mxcurioni/source/blender/blenkernel/BKE_fcurve.h
    branches/soc-2008-mxcurioni/source/blender/blenkernel/BKE_font.h
    branches/soc-2008-mxcurioni/source/blender/blenkernel/BKE_group.h
    branches/soc-2008-mxcurioni/source/blender/blenkernel/BKE_idprop.h
    branches/soc-2008-mxcurioni/source/blender/blenkernel/BKE_image.h
    branches/soc-2008-mxcurioni/source/blender/blenkernel/BKE_key.h
    branches/soc-2008-mxcurioni/source/blender/blenkernel/BKE_lattice.h
    branches/soc-2008-mxcurioni/source/blender/blenkernel/BKE_library.h
    branches/soc-2008-mxcurioni/source/blender/blenkernel/BKE_material.h
    branches/soc-2008-mxcurioni/source/blender/blenkernel/BKE_mball.h
    branches/soc-2008-mxcurioni/source/blender/blenkernel/BKE_mesh.h
    branches/soc-2008-mxcurioni/source/blender/blenkernel/BKE_object.h
    branches/soc-2008-mxcurioni/source/blender/blenkernel/BKE_packedFile.h
    branches/soc-2008-mxcurioni/source/blender/blenkernel/BKE_particle.h
    branches/soc-2008-mxcurioni/source/blender/blenkernel/BKE_scene.h
    branches/soc-2008-mxcurioni/source/blender/blenkernel/BKE_sequencer.h
    branches/soc-2008-mxcurioni/source/blender/blenkernel/BKE_sound.h
    branches/soc-2008-mxcurioni/source/blender/blenkernel/BKE_text.h
    branches/soc-2008-mxcurioni/source/blender/blenkernel/BKE_unit.h
    branches/soc-2008-mxcurioni/source/blender/blenkernel/BKE_world.h
    branches/soc-2008-mxcurioni/source/blender/blenkernel/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/anim.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/anim_sys.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/armature.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/blender.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/bvhutils.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/constraint.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/context.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/curve.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/customdata.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/exotic.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/fcurve.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/font.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/group.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/idprop.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/image.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/image_gen.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/key.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/lattice.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/library.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/material.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/mball.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/mesh.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/multires.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/object.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/packedFile.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/particle.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/particle_system.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/pointcache.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/scene.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/seqcache.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/seqeffects.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/sequencer.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/smoke.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/sound.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/text.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/unit.c
    branches/soc-2008-mxcurioni/source/blender/blenkernel/intern/world.c
    branches/soc-2008-mxcurioni/source/blender/blenlib/BLI_fileops.h
    branches/soc-2008-mxcurioni/source/blender/blenlib/BLI_math_matrix.h
    branches/soc-2008-mxcurioni/source/blender/blenlib/BLI_math_vector.h
    branches/soc-2008-mxcurioni/source/blender/blenlib/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/blender/blenlib/intern/fileops.c
    branches/soc-2008-mxcurioni/source/blender/blenlib/intern/math_matrix.c
    branches/soc-2008-mxcurioni/source/blender/blenlib/intern/math_vector_inline.c
    branches/soc-2008-mxcurioni/source/blender/blenloader/BLO_readfile.h
    branches/soc-2008-mxcurioni/source/blender/blenloader/intern/readblenentry.c
    branches/soc-2008-mxcurioni/source/blender/blenloader/intern/readfile.c
    branches/soc-2008-mxcurioni/source/blender/blenloader/intern/readfile.h
    branches/soc-2008-mxcurioni/source/blender/blenpluginapi/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/blender/collada/ImageExporter.cpp
    branches/soc-2008-mxcurioni/source/blender/editors/animation/anim_channels_defines.c
    branches/soc-2008-mxcurioni/source/blender/editors/animation/anim_draw.c
    branches/soc-2008-mxcurioni/source/blender/editors/animation/keyframing.c
    branches/soc-2008-mxcurioni/source/blender/editors/animation/keyingsets.c
    branches/soc-2008-mxcurioni/source/blender/editors/armature/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/blender/editors/armature/editarmature.c
    branches/soc-2008-mxcurioni/source/blender/editors/armature/editarmature_generate.c
    branches/soc-2008-mxcurioni/source/blender/editors/armature/editarmature_retarget.c
    branches/soc-2008-mxcurioni/source/blender/editors/curve/curve_intern.h
    branches/soc-2008-mxcurioni/source/blender/editors/curve/curve_ops.c
    branches/soc-2008-mxcurioni/source/blender/editors/curve/editcurve.c
    branches/soc-2008-mxcurioni/source/blender/editors/curve/editfont.c
    branches/soc-2008-mxcurioni/source/blender/editors/include/ED_anim_api.h
    branches/soc-2008-mxcurioni/source/blender/editors/include/ED_armature.h
    branches/soc-2008-mxcurioni/source/blender/editors/include/ED_curve.h
    branches/soc-2008-mxcurioni/source/blender/editors/include/ED_info.h
    branches/soc-2008-mxcurioni/source/blender/editors/include/ED_keyframing.h
    branches/soc-2008-mxcurioni/source/blender/editors/include/ED_mball.h
    branches/soc-2008-mxcurioni/source/blender/editors/include/ED_mesh.h
    branches/soc-2008-mxcurioni/source/blender/editors/include/ED_object.h
    branches/soc-2008-mxcurioni/source/blender/editors/include/ED_particle.h
    branches/soc-2008-mxcurioni/source/blender/editors/include/ED_screen.h
    branches/soc-2008-mxcurioni/source/blender/editors/include/ED_util.h
    branches/soc-2008-mxcurioni/source/blender/editors/include/ED_view3d.h
    branches/soc-2008-mxcurioni/source/blender/editors/include/UI_interface.h
    branches/soc-2008-mxcurioni/source/blender/editors/include/UI_interface_icons.h
    branches/soc-2008-mxcurioni/source/blender/editors/interface/interface.c
    branches/soc-2008-mxcurioni/source/blender/editors/interface/interface_anim.c
    branches/soc-2008-mxcurioni/source/blender/editors/interface/interface_handlers.c
    branches/soc-2008-mxcurioni/source/blender/editors/interface/interface_icons.c
    branches/soc-2008-mxcurioni/source/blender/editors/interface/interface_intern.h
    branches/soc-2008-mxcurioni/source/blender/editors/interface/interface_layout.c
    branches/soc-2008-mxcurioni/source/blender/editors/interface/interface_ops.c
    branches/soc-2008-mxcurioni/source/blender/editors/interface/interface_regions.c
    branches/soc-2008-mxcurioni/source/blender/editors/interface/interface_style.c
    branches/soc-2008-mxcurioni/source/blender/editors/interface/interface_templates.c
    branches/soc-2008-mxcurioni/source/blender/editors/mesh/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/blender/editors/mesh/editmesh.c
    branches/soc-2008-mxcurioni/source/blender/editors/mesh/editmesh_tools.c
    branches/soc-2008-mxcurioni/source/blender/editors/metaball/mball_edit.c
    branches/soc-2008-mxcurioni/source/blender/editors/object/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/blender/editors/object/object_add.c
    branches/soc-2008-mxcurioni/source/blender/editors/object/object_edit.c
    branches/soc-2008-mxcurioni/source/blender/editors/object/object_lattice.c
    branches/soc-2008-mxcurioni/source/blender/editors/object/object_modifier.c
    branches/soc-2008-mxcurioni/source/blender/editors/object/object_relations.c
    branches/soc-2008-mxcurioni/source/blender/editors/object/object_vgroup.c
    branches/soc-2008-mxcurioni/source/blender/editors/physics/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/blender/editors/physics/particle_edit.c
    branches/soc-2008-mxcurioni/source/blender/editors/physics/particle_object.c
    branches/soc-2008-mxcurioni/source/blender/editors/render/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/blender/editors/render/render_internal.c
    branches/soc-2008-mxcurioni/source/blender/editors/render/render_opengl.c
    branches/soc-2008-mxcurioni/source/blender/editors/render/render_preview.c
    branches/soc-2008-mxcurioni/source/blender/editors/screen/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/blender/editors/screen/area.c
    branches/soc-2008-mxcurioni/source/blender/editors/screen/screen_ops.c
    branches/soc-2008-mxcurioni/source/blender/editors/sculpt_paint/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/blender/editors/sculpt_paint/paint_image.c
    branches/soc-2008-mxcurioni/source/blender/editors/sculpt_paint/sculpt.c
    branches/soc-2008-mxcurioni/source/blender/editors/space_action/action_edit.c
    branches/soc-2008-mxcurioni/source/blender/editors/space_buttons/space_buttons.c
    branches/soc-2008-mxcurioni/source/blender/editors/space_console/console_draw.c
    branches/soc-2008-mxcurioni/source/blender/editors/space_file/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/blender/editors/space_graph/graph_draw.c
    branches/soc-2008-mxcurioni/source/blender/editors/space_graph/graph_edit.c
    branches/soc-2008-mxcurioni/source/blender/editors/space_graph/graph_ops.c
    branches/soc-2008-mxcurioni/source/blender/editors/space_graph/graph_utils.c
    branches/soc-2008-mxcurioni/source/blender/editors/space_image/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/blender/editors/space_image/SConscript
    branches/soc-2008-mxcurioni/source/blender/editors/space_image/image_buttons.c
    branches/soc-2008-mxcurioni/source/blender/editors/space_image/image_ops.c
    branches/soc-2008-mxcurioni/source/blender/editors/space_info/info_ops.c
    branches/soc-2008-mxcurioni/source/blender/editors/space_info/textview.c
    branches/soc-2008-mxcurioni/source/blender/editors/space_node/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/blender/editors/space_outliner/outliner.c
    branches/soc-2008-mxcurioni/source/blender/editors/space_script/script_edit.c
    branches/soc-2008-mxcurioni/source/blender/editors/space_sequencer/sequencer_draw.c
    branches/soc-2008-mxcurioni/source/blender/editors/space_text/text_draw.c
    branches/soc-2008-mxcurioni/source/blender/editors/space_view3d/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/blender/editors/space_view3d/drawmesh.c
    branches/soc-2008-mxcurioni/source/blender/editors/space_view3d/drawobject.c
    branches/soc-2008-mxcurioni/source/blender/editors/space_view3d/space_view3d.c
    branches/soc-2008-mxcurioni/source/blender/editors/space_view3d/view3d_buttons.c
    branches/soc-2008-mxcurioni/source/blender/editors/space_view3d/view3d_draw.c
    branches/soc-2008-mxcurioni/source/blender/editors/space_view3d/view3d_edit.c
    branches/soc-2008-mxcurioni/source/blender/editors/space_view3d/view3d_fly.c
    branches/soc-2008-mxcurioni/source/blender/editors/space_view3d/view3d_intern.h
    branches/soc-2008-mxcurioni/source/blender/editors/space_view3d/view3d_toolbar.c
    branches/soc-2008-mxcurioni/source/blender/editors/space_view3d/view3d_view.c
    branches/soc-2008-mxcurioni/source/blender/editors/transform/transform.c
    branches/soc-2008-mxcurioni/source/blender/editors/transform/transform.h
    branches/soc-2008-mxcurioni/source/blender/editors/transform/transform_conversions.c
    branches/soc-2008-mxcurioni/source/blender/editors/transform/transform_generics.c
    branches/soc-2008-mxcurioni/source/blender/editors/transform/transform_snap.c
    branches/soc-2008-mxcurioni/source/blender/editors/util/editmode_undo.c
    branches/soc-2008-mxcurioni/source/blender/editors/util/undo.c
    branches/soc-2008-mxcurioni/source/blender/gpu/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/blender/gpu/GPU_extensions.h
    branches/soc-2008-mxcurioni/source/blender/gpu/intern/gpu_buffers.c
    branches/soc-2008-mxcurioni/source/blender/gpu/intern/gpu_draw.c
    branches/soc-2008-mxcurioni/source/blender/gpu/intern/gpu_extensions.c
    branches/soc-2008-mxcurioni/source/blender/imbuf/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/blender/imbuf/IMB_imbuf.h
    branches/soc-2008-mxcurioni/source/blender/imbuf/intern/IMB_filetype.h
    branches/soc-2008-mxcurioni/source/blender/imbuf/intern/anim_movie.c
    branches/soc-2008-mxcurioni/source/blender/imbuf/intern/bmp.c
    branches/soc-2008-mxcurioni/source/blender/imbuf/intern/cineon/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/blender/imbuf/intern/cineon/SConscript
    branches/soc-2008-mxcurioni/source/blender/imbuf/intern/cineon/cineon_dpx.c
    branches/soc-2008-mxcurioni/source/blender/imbuf/intern/dds/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/blender/imbuf/intern/dds/SConscript
    branches/soc-2008-mxcurioni/source/blender/imbuf/intern/dds/dds_api.cpp
    branches/soc-2008-mxcurioni/source/blender/imbuf/intern/dds/dds_api.h
    branches/soc-2008-mxcurioni/source/blender/imbuf/intern/iris.c
    branches/soc-2008-mxcurioni/source/blender/imbuf/intern/jp2.c
    branches/soc-2008-mxcurioni/source/blender/imbuf/intern/jpeg.c
    branches/soc-2008-mxcurioni/source/blender/imbuf/intern/openexr/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/blender/imbuf/intern/openexr/SConscript
    branches/soc-2008-mxcurioni/source/blender/imbuf/intern/openexr/openexr_api.cpp
    branches/soc-2008-mxcurioni/source/blender/imbuf/intern/openexr/openexr_api.h
    branches/soc-2008-mxcurioni/source/blender/imbuf/intern/png.c
    branches/soc-2008-mxcurioni/source/blender/imbuf/intern/radiance_hdr.c
    branches/soc-2008-mxcurioni/source/blender/imbuf/intern/targa.c
    branches/soc-2008-mxcurioni/source/blender/imbuf/intern/tiff.c
    branches/soc-2008-mxcurioni/source/blender/imbuf/intern/util.c
    branches/soc-2008-mxcurioni/source/blender/imbuf/intern/writeimage.c
    branches/soc-2008-mxcurioni/source/blender/makesdna/DNA_curve_types.h
    branches/soc-2008-mxcurioni/source/blender/makesdna/DNA_image_types.h
    branches/soc-2008-mxcurioni/source/blender/makesdna/DNA_scene_types.h
    branches/soc-2008-mxcurioni/source/blender/makesdna/DNA_screen_types.h
    branches/soc-2008-mxcurioni/source/blender/makesdna/DNA_sensor_types.h
    branches/soc-2008-mxcurioni/source/blender/makesdna/DNA_smoke_types.h
    branches/soc-2008-mxcurioni/source/blender/makesdna/DNA_space_types.h
    branches/soc-2008-mxcurioni/source/blender/makesdna/DNA_userdef_types.h
    branches/soc-2008-mxcurioni/source/blender/makesdna/DNA_view3d_types.h
    branches/soc-2008-mxcurioni/source/blender/makesdna/intern/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/blender/makesrna/RNA_access.h
    branches/soc-2008-mxcurioni/source/blender/makesrna/RNA_enum_types.h
    branches/soc-2008-mxcurioni/source/blender/makesrna/RNA_types.h
    branches/soc-2008-mxcurioni/source/blender/makesrna/SConscript
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/Makefile
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/SConscript
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/makesrna.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_access.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_action.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_actuator.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_animation.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_armature.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_armature_api.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_boid.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_camera.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_constraint.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_curve.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_fluidsim.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_image.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_image_api.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_main_api.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_material.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_mesh.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_meta.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_modifier.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_nodetree.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_object.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_object_api.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_particle.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_rna.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_scene.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_scene_api.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_screen.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_sculpt_paint.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_sensor.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_sequencer.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_space.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_ui_api.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_userdef.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_wm.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_wm_api.c
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_world.c
    branches/soc-2008-mxcurioni/source/blender/modifiers/intern/MOD_armature.c
    branches/soc-2008-mxcurioni/source/blender/modifiers/intern/MOD_fluidsim_util.c
    branches/soc-2008-mxcurioni/source/blender/modifiers/intern/MOD_particlesystem.c
    branches/soc-2008-mxcurioni/source/blender/nodes/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/blender/nodes/intern/SHD_nodes/SHD_material.c
    branches/soc-2008-mxcurioni/source/blender/python/BPY_extern.h
    branches/soc-2008-mxcurioni/source/blender/python/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/blender/python/generic/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/blender/python/generic/IDProp.c
    branches/soc-2008-mxcurioni/source/blender/python/generic/IDProp.h
    branches/soc-2008-mxcurioni/source/blender/python/generic/bgl.h
    branches/soc-2008-mxcurioni/source/blender/python/generic/mathutils_color.c
    branches/soc-2008-mxcurioni/source/blender/python/generic/mathutils_euler.c
    branches/soc-2008-mxcurioni/source/blender/python/generic/mathutils_geometry.c
    branches/soc-2008-mxcurioni/source/blender/python/generic/mathutils_matrix.c
    branches/soc-2008-mxcurioni/source/blender/python/generic/mathutils_matrix.h
    branches/soc-2008-mxcurioni/source/blender/python/generic/mathutils_quat.c
    branches/soc-2008-mxcurioni/source/blender/python/generic/mathutils_vector.c
    branches/soc-2008-mxcurioni/source/blender/python/intern/bpy_app.c
    branches/soc-2008-mxcurioni/source/blender/python/intern/bpy_app.h
    branches/soc-2008-mxcurioni/source/blender/python/intern/bpy_driver.c
    branches/soc-2008-mxcurioni/source/blender/python/intern/bpy_interface.c
    branches/soc-2008-mxcurioni/source/blender/python/intern/bpy_operator.c
    branches/soc-2008-mxcurioni/source/blender/python/intern/bpy_props.c
    branches/soc-2008-mxcurioni/source/blender/python/intern/bpy_rna.c
    branches/soc-2008-mxcurioni/source/blender/python/intern/bpy_rna_callback.c
    branches/soc-2008-mxcurioni/source/blender/python/intern/bpy_util.c
    branches/soc-2008-mxcurioni/source/blender/python/intern/stubs.c
    branches/soc-2008-mxcurioni/source/blender/quicktime/apple/qtkit_import.m
    branches/soc-2008-mxcurioni/source/blender/quicktime/apple/quicktime_import.c
    branches/soc-2008-mxcurioni/source/blender/quicktime/quicktime_import.h
    branches/soc-2008-mxcurioni/source/blender/render/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/blender/render/extern/include/RE_pipeline.h
    branches/soc-2008-mxcurioni/source/blender/render/intern/source/convertblender.c
    branches/soc-2008-mxcurioni/source/blender/render/intern/source/pipeline.c
    branches/soc-2008-mxcurioni/source/blender/render/intern/source/rayshade.c
    branches/soc-2008-mxcurioni/source/blender/render/intern/source/shadeoutput.c
    branches/soc-2008-mxcurioni/source/blender/render/intern/source/texture.c
    branches/soc-2008-mxcurioni/source/blender/render/intern/source/voxeldata.c
    branches/soc-2008-mxcurioni/source/blender/windowmanager/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/blender/windowmanager/WM_api.h
    branches/soc-2008-mxcurioni/source/blender/windowmanager/WM_types.h
    branches/soc-2008-mxcurioni/source/blender/windowmanager/intern/wm_dragdrop.c
    branches/soc-2008-mxcurioni/source/blender/windowmanager/intern/wm_draw.c
    branches/soc-2008-mxcurioni/source/blender/windowmanager/intern/wm_event_system.c
    branches/soc-2008-mxcurioni/source/blender/windowmanager/intern/wm_files.c
    branches/soc-2008-mxcurioni/source/blender/windowmanager/intern/wm_init_exit.c
    branches/soc-2008-mxcurioni/source/blender/windowmanager/intern/wm_keymap.c
    branches/soc-2008-mxcurioni/source/blender/windowmanager/intern/wm_operators.c
    branches/soc-2008-mxcurioni/source/blenderplayer/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/blenderplayer/bad_level_call_stubs/stubs.c
    branches/soc-2008-mxcurioni/source/creator/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/creator/creator.c
    branches/soc-2008-mxcurioni/source/gameengine/BlenderRoutines/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/gameengine/BlenderRoutines/SConscript
    branches/soc-2008-mxcurioni/source/gameengine/Converter/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/gameengine/Converter/KX_BlenderSceneConverter.cpp
    branches/soc-2008-mxcurioni/source/gameengine/Converter/SConscript
    branches/soc-2008-mxcurioni/source/gameengine/Expressions/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/gameengine/Expressions/KX_Python.h
    branches/soc-2008-mxcurioni/source/gameengine/Expressions/SConscript
    branches/soc-2008-mxcurioni/source/gameengine/GameLogic/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/gameengine/GameLogic/SConscript
    branches/soc-2008-mxcurioni/source/gameengine/GamePlayer/common/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/gameengine/GamePlayer/common/SConscript
    branches/soc-2008-mxcurioni/source/gameengine/GamePlayer/ghost/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/gameengine/GamePlayer/ghost/SConscript
    branches/soc-2008-mxcurioni/source/gameengine/Ketsji/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/gameengine/Ketsji/KXNetwork/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/gameengine/Ketsji/KX_Camera.cpp
    branches/soc-2008-mxcurioni/source/gameengine/Ketsji/KX_RadarSensor.cpp
    branches/soc-2008-mxcurioni/source/gameengine/Ketsji/KX_RaySensor.cpp
    branches/soc-2008-mxcurioni/source/gameengine/Ketsji/KX_Scene.cpp
    branches/soc-2008-mxcurioni/source/gameengine/Ketsji/SConscript
    branches/soc-2008-mxcurioni/source/gameengine/Network/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/gameengine/Network/LoopBackNetwork/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/gameengine/Network/LoopBackNetwork/SConscript
    branches/soc-2008-mxcurioni/source/gameengine/Network/SConscript
    branches/soc-2008-mxcurioni/source/gameengine/Physics/Bullet/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/gameengine/Physics/Bullet/SConscript
    branches/soc-2008-mxcurioni/source/gameengine/Physics/Dummy/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/gameengine/Physics/Dummy/SConscript
    branches/soc-2008-mxcurioni/source/gameengine/Physics/common/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/gameengine/Physics/common/SConscript
    branches/soc-2008-mxcurioni/source/gameengine/Rasterizer/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/SConscript
    branches/soc-2008-mxcurioni/source/gameengine/Rasterizer/SConscript
    branches/soc-2008-mxcurioni/source/gameengine/SceneGraph/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/gameengine/SceneGraph/SConscript
    branches/soc-2008-mxcurioni/source/gameengine/VideoTexture/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/gameengine/VideoTexture/SConscript
    branches/soc-2008-mxcurioni/source/kernel/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/kernel/SConscript
    branches/soc-2008-mxcurioni/source/kernel/gen_system/SYS_SingletonSystem.cpp
    branches/soc-2008-mxcurioni/source/kernel/gen_system/SYS_SingletonSystem.h

Added Paths:
-----------
    branches/soc-2008-mxcurioni/release/scripts/templates/operator_export.py
    branches/soc-2008-mxcurioni/source/blender/python/intern/CMakeLists.txt
    branches/soc-2008-mxcurioni/source/blender/python/intern/bpy_rna_array.c

Removed Paths:
-------------
    branches/soc-2008-mxcurioni/release/scripts/templates/operator.py
    branches/soc-2008-mxcurioni/source/blender/python/intern/bpy_array.c
    branches/soc-2008-mxcurioni/source/kernel/gen_system/GEN_DataCache.h
    branches/soc-2008-mxcurioni/source/kernel/gen_system/GEN_Matrix4x4.cpp
    branches/soc-2008-mxcurioni/source/kernel/gen_system/GEN_Matrix4x4.h
    branches/soc-2008-mxcurioni/source/kernel/gen_system/GEN_SmartPtr.h

Modified: branches/soc-2008-mxcurioni/CMakeLists.txt
===================================================================
--- branches/soc-2008-mxcurioni/CMakeLists.txt	2010-11-27 12:06:30 UTC (rev 33351)
+++ branches/soc-2008-mxcurioni/CMakeLists.txt	2010-11-27 12:48:35 UTC (rev 33352)
@@ -96,9 +96,9 @@
 # Audio format support
 OPTION(WITH_FFMPEG        "Enable FFMPeg Support (http://ffmpeg.mplayerhq.hu/)" OFF)
 OPTION(WITH_SNDFILE       "Enable libsndfile Support (http://www.mega-nerd.com/libsndfile)" OFF)
-IF(APPLE OR WIN32)
+IF(APPLE OR (WIN32 AND NOT UNIX))
 	OPTION(WITH_QUICKTIME     "Enable Quicktime Support" OFF)
-ENDIF(APPLE OR WIN32)
+ENDIF(APPLE OR (WIN32 AND NOT UNIX))
 
 # 3D format support
 # disable opencollada on non-apple unix because opencollada has no package for debian
@@ -112,6 +112,7 @@
 OPTION(WITH_SDL           "Enable SDL for sound and joystick support" ON)
 OPTION(WITH_OPENAL        "Enable OpenAL Support (http://www.openal.org)" ON)
 OPTION(WITH_JACK          "Enable Jack Support (http://www.jackaudio.org)" OFF)
+OPTION(WITH_SAMPLERATE    "Enable samplerate conversion" ON)
 
 # Compression
 OPTION(WITH_LZO           "Enable fast LZO compression (used for pointcache)" ON)
@@ -140,6 +141,10 @@
 	MESSAGE("WARNING: WITH_PYTHON_INSTALL needs WITH_INSTALL")
 ENDIF(NOT WITH_INSTALL AND WITH_PYTHON_INSTALL)
 
+IF(NOT WITH_SAMPLERATE AND (WITH_OPENAL OR WITH_SDL OR WITH_JACK))
+	MESSAGE(FATAL_ERROR "WITH_OPENAL/WITH_SDL/WITH_JACK need WITH_SAMPLERATE")
+ENDIF(NOT WITH_SAMPLERATE AND (WITH_OPENAL OR WITH_SDL OR WITH_JACK))
+
 TEST_SSE_SUPPORT()
 
 # disabled for now, not supported
@@ -279,10 +284,12 @@
 		SET(FFTW3_LIBPATH ${FFTW3}/lib)
 	ENDIF(WITH_FFTW3)
 
-	SET(LIBSAMPLERATE /usr)
-	SET(LIBSAMPLERATE_INC ${LIBSAMPLERATE}/include)
-	SET(LIBSAMPLERATE_LIB samplerate)
-	SET(LIBSAMPLERATE_LIBPATH ${LIBSAMPLERATE}/lib)
+	IF(WITH_SAMPLERATE)
+		SET(LIBSAMPLERATE /usr)
+		SET(LIBSAMPLERATE_INC ${LIBSAMPLERATE}/include)
+		SET(LIBSAMPLERATE_LIB samplerate)
+		SET(LIBSAMPLERATE_LIBPATH ${LIBSAMPLERATE}/lib)
+	ENDIF(WITH_SAMPLERATE)
 
 	IF (WITH_OPENCOLLADA)
 		SET(OPENCOLLADA /usr/local/opencollada CACHE FILEPATH "OpenCollada Directory")
@@ -318,12 +325,6 @@
 
 	# GNU Compiler
 	IF(CMAKE_COMPILER_IS_GNUCC)
-		IF(WITH_OPENMP)
-			LIST(APPEND LLIBS -lgomp)
-			SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fopenmp")
-			SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fopenmp")
-		ENDIF(WITH_OPENMP)
-
 		SET(PLATFORM_CFLAGS "-pipe -fPIC -funsigned-char -fno-strict-aliasing")
 	
 		# Better warnings
@@ -333,12 +334,6 @@
 
 	# Intel C++ Compiler
 	ELSEIF(CMAKE_C_COMPILER_ID MATCHES "Intel")
-		IF(WITH_OPENMP)
-			LIST(APPEND LLIBS -lgomp)
-			SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -openmp")
-			SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -openmp")
-		ENDIF(WITH_OPENMP)
-
 		# think these next two are broken
 		FIND_PROGRAM(XIAR xiar) 
 		IF(XIAR) 
@@ -364,11 +359,9 @@
 
 		SET(PLATFORM_LINKFLAGS "${PLATFORM_LINKFLAGS} -static-intel")
 	ENDIF(CMAKE_COMPILER_IS_GNUCC)
-ENDIF(UNIX AND NOT APPLE)
 
+ELSEIF(WIN32)
 
-IF(WIN32)
-
 	# this file is included anyway when building under Windows with cl.exe
 	#  INCLUDE(${CMAKE_ROOT}/Modules/Platform/Windows-cl.cmake)
 
@@ -389,10 +382,12 @@
 		SET(ICONV_LIBPATH ${ICONV}/lib)
 	ENDIF(WITH_INTERNATIONAL)
 
-	SET(LIBSAMPLERATE ${LIBDIR}/samplerate)
-	SET(LIBSAMPLERATE_INC ${LIBSAMPLERATE}/include)
-	SET(LIBSAMPLERATE_LIB libsamplerate)
-	SET(LIBSAMPLERATE_LIBPATH ${LIBSAMPLERATE}/lib)
+	IF(WITH_SAMPLERATE)
+		SET(LIBSAMPLERATE ${LIBDIR}/samplerate)
+		SET(LIBSAMPLERATE_INC ${LIBSAMPLERATE}/include)
+		SET(LIBSAMPLERATE_LIB libsamplerate)
+		SET(LIBSAMPLERATE_LIBPATH ${LIBSAMPLERATE}/lib)
+	ENDIF(WITH_SAMPLERATE)
 
 	SET(PNG "${LIBDIR}/png")
 	SET(PNG_INC "${PNG}/include")
@@ -462,12 +457,7 @@
 		SET(CMAKE_C_FLAGS_RELEASE "/O2 /Ob2 /DNDEBUG /EHsc /MT /W3 /nologo /J" CACHE STRING "MSVC MT flags " FORCE)
 		SET(CMAKE_C_FLAGS_MINSIZEREL "/O1 /Ob1 /DNDEBUG /EHsc /MT /W3 /nologo /J" CACHE STRING "MSVC MT flags " FORCE)
 		SET(CMAKE_C_FLAGS_RELWITHDEBINFO "/O2 /Ob1 /DNDEBUG /EHsc /MT /W3 /nologo /Zi /J" CACHE STRING "MSVC MT flags " FORCE)
-		
-		IF(WITH_OPENMP)
-			SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /openmp ")
-			SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /openmp ")
-		ENDIF(WITH_OPENMP)
-		
+
 		IF(WITH_INTERNATIONAL)
 			SET(GETTEXT ${LIBDIR}/gettext)
 			SET(GETTEXT_INC ${GETTEXT}/include)
@@ -573,7 +563,7 @@
 
 		# MSVC only, Mingw doesnt need
 		IF(CMAKE_CL_64)
-			SET(PLATFORM_LINKFLAGS "/MACHINE:X64 /NODEFAULTLIB:libc.lib;MSVCRT.lib ")
+			SET(PLATFORM_LINKFLAGS "/MACHINE:X64 /NODEFAULTLIB:libc.lib ")
 		ELSE(CMAKE_CL_64)
 			SET(PLATFORM_LINKFLAGS "/NODEFAULTLIB:libc.lib ")
 		ENDIF(CMAKE_CL_64)
@@ -589,12 +579,6 @@
 			# Better warnings
 			SET(C_WARNINGS "-Wall -Wno-char-subscripts -Wpointer-arith -Wcast-align -Wdeclaration-after-statement -Wno-unknown-pragmas")
 			SET(CXX_WARNINGS "-Wall -Wno-invalid-offsetof -Wno-sign-compare")
-			
-			IF(WITH_OPENMP)
-				SET(LLIBS "${LLIBS} -lgomp")
-				SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fopenmp")
-				SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fopenmp")
-			ENDIF(WITH_OPENMP)
 
 			SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE")
 			SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE")
@@ -690,10 +674,11 @@
 
 	ENDIF(MSVC)
 
-ENDIF(WIN32)
+	# used in many places so include globally, like OpenGL
+	INCLUDE_DIRECTORIES(${PTHREADS_INC})
 
+ELSEIF(APPLE)
 
-IF(APPLE)
 	IF(WITH_LIBS10.5)
 		SET(LIBDIR ${CMAKE_SOURCE_DIR}/../lib/darwin-9.x.universal)
 	ELSE(WITH_LIBS10.5)
@@ -800,10 +785,12 @@
 		SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D__STDC_CONSTANT_MACROS")
 	ENDIF(WITH_FFMPEG)
 
-	SET(LIBSAMPLERATE ${LIBDIR}/samplerate)
-	SET(LIBSAMPLERATE_INC ${LIBSAMPLERATE}/include)
-	SET(LIBSAMPLERATE_LIB samplerate)
-	SET(LIBSAMPLERATE_LIBPATH ${LIBSAMPLERATE}/lib)
+	IF(WITH_SAMPLERATE)
+		SET(LIBSAMPLERATE ${LIBDIR}/samplerate)
+		SET(LIBSAMPLERATE_INC ${LIBSAMPLERATE}/include)
+		SET(LIBSAMPLERATE_LIB samplerate)
+		SET(LIBSAMPLERATE_LIBPATH ${LIBSAMPLERATE}/lib)
+	ENDIF(WITH_SAMPLERATE)
 
 	SET(LLIBS stdc++ SystemStubs)
 
@@ -825,12 +812,6 @@
 		SET(PLATFORM_LINKFLAGS "-fexceptions -framework CoreServices -framework Foundation -framework IOKit -framework AppKit -framework Carbon -framework AGL -framework AudioUnit -framework AudioToolbox -framework CoreAudio -framework QuickTime")
 	ENDIF (WITH_COCOA)
 
-	IF(WITH_OPENMP)
-		SET(LLIBS "${LLIBS} -lgomp")
-		SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fopenmp")
-		SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fopenmp")
-	ENDIF(WITH_OPENMP)
-
 	IF (WITH_OPENCOLLADA)
 		SET(OPENCOLLADA ${LIBDIR}/opencollada)
 		SET(OPENCOLLADA_INC ${OPENCOLLADA}/include)
@@ -887,7 +868,7 @@
 	SET(C_WARNINGS "-Wall -Wno-char-subscripts -Wpointer-arith -Wcast-align -Wdeclaration-after-statement -Wno-unknown-pragmas")
 	SET(CXX_WARNINGS "-Wall -Wno-invalid-offsetof -Wno-sign-compare")
 
-ENDIF(APPLE)
+ENDIF(UNIX AND NOT APPLE)
 
 
 # buildinfo
@@ -955,6 +936,22 @@
 # UNSET(OPENGL_xmesa_INCLUDE_DIR CACHE) # not compat with older cmake 
 
 #-----------------------------------------------------------------------------
+# Configure OpenMP.
+IF(WITH_OPENMP)
+	FIND_PACKAGE(OpenMP)	
+	IF(OPENMP_FOUND)
+		SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
+		SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
+
+		IF(APPLE AND ${CMAKE_GENERATOR} MATCHES "Xcode")
+			SET(CMAKE_XCODE_ATTRIBUTE_ENABLE_OPENMP_SUPPORT "YES")
+		ENDIF(APPLE AND ${CMAKE_GENERATOR} MATCHES "Xcode")
+	ELSE(OPENMP_FOUND)
+		SET(WITH_OPENMP OFF)
+	ENDIF(OPENMP_FOUND)
+ENDIF(WITH_OPENMP) 
+
+#-----------------------------------------------------------------------------
 # Extra compile flags
 
 IF((NOT WIN32) AND (NOT MSVC))

Modified: branches/soc-2008-mxcurioni/build_files/cmake/macros.cmake
===================================================================
--- branches/soc-2008-mxcurioni/build_files/cmake/macros.cmake	2010-11-27 12:06:30 UTC (rev 33351)
+++ branches/soc-2008-mxcurioni/build_files/cmake/macros.cmake	2010-11-27 12:48:35 UTC (rev 33352)
@@ -55,8 +55,8 @@
 		CMAKE_POLICY(SET CMP0003 NEW)
 	endif(COMMAND cmake_policy)
 	
-	LINK_DIRECTORIES(${JPEG_LIBPATH} ${PNG_LIBPATH} ${ZLIB_LIBPATH} ${FREETYPE_LIBPATH} ${LIBSAMPLERATE_LIBPATH})
-	
+	LINK_DIRECTORIES(${JPEG_LIBPATH} ${PNG_LIBPATH} ${ZLIB_LIBPATH} ${FREETYPE_LIBPATH})
+
 	IF(WITH_PYTHON)
 		LINK_DIRECTORIES(${PYTHON_LIBPATH})
 	ENDIF(WITH_PYTHON)
@@ -91,6 +91,9 @@
 	IF(WITH_SNDFILE)
 		LINK_DIRECTORIES(${SNDFILE_LIBPATH})
 	ENDIF(WITH_SNDFILE)
+	IF(WITH_SAMPLERATE)
+		LINK_DIRECTORIES(${LIBSAMPLERATE_LIBPATH})
+	ENDIF(WITH_SAMPLERATE)
 	IF(WITH_FFTW3)
 		LINK_DIRECTORIES(${FFTW3_LIBPATH})
 	ENDIF(WITH_FFTW3)
@@ -100,9 +103,9 @@
 		LINK_DIRECTORIES(${EXPAT_LIBPATH})
 	ENDIF(WITH_OPENCOLLADA)
 
-	IF(WIN32)
+	IF(WIN32 AND NOT UNIX)
 		LINK_DIRECTORIES(${PTHREADS_LIBPATH})
-	ENDIF(WIN32)
+	ENDIF(WIN32 AND NOT UNIX)
 ENDMACRO(SETUP_LIBDIRS)
 
 MACRO(SETUP_LIBLINKS
@@ -115,23 +118,23 @@
 	IF(WITH_PYTHON)
 		TARGET_LINK_LIBRARIES(${target} ${PYTHON_LINKFLAGS})
 
-		IF(WIN32)
+		IF(WIN32 AND NOT UNIX)
 			TARGET_LINK_LIBRARIES(${target} debug ${PYTHON_LIB}_d)
 			TARGET_LINK_LIBRARIES(${target} optimized ${PYTHON_LIB})
-		ELSE(WIN32)
+		ELSE(WIN32 AND NOT UNIX)
 			TARGET_LINK_LIBRARIES(${target} ${PYTHON_LIB})
-		ENDIF(WIN32)
+		ENDIF(WIN32 AND NOT UNIX)
 	ENDIF(WITH_PYTHON)
 
 	TARGET_LINK_LIBRARIES(${target} ${OPENGL_glu_LIBRARY} ${JPEG_LIB} ${PNG_LIB} ${ZLIB_LIB})
-	TARGET_LINK_LIBRARIES(${target} ${FREETYPE_LIBRARY} ${LIBSAMPLERATE_LIB})
+	TARGET_LINK_LIBRARIES(${target} ${FREETYPE_LIBRARY})
 
 	IF(WITH_INTERNATIONAL)
 		TARGET_LINK_LIBRARIES(${target} ${GETTEXT_LIB})
 
-		IF(WIN32)
+		IF(WIN32 AND NOT UNIX)
 			TARGET_LINK_LIBRARIES(${target} ${ICONV_LIB})
-		ENDIF(WIN32)
+		ENDIF(WIN32 AND NOT UNIX)
 	ENDIF(WITH_INTERNATIONAL)
 
 	IF(WITH_OPENAL)
@@ -146,6 +149,9 @@
 	IF(WITH_SNDFILE)
 		TARGET_LINK_LIBRARIES(${target} ${SNDFILE_LIB})
 	ENDIF(WITH_SNDFILE)
+	IF(WITH_SAMPLERATE)
+		TARGET_LINK_LIBRARIES(${target} ${LIBSAMPLERATE_LIB})
+	ENDIF(WITH_SAMPLERATE)	
 	IF(WITH_SDL)
 		TARGET_LINK_LIBRARIES(${target} ${SDL_LIBRARY})
 	ENDIF(WITH_SDL)
@@ -156,14 +162,14 @@
 		TARGET_LINK_LIBRARIES(${target} ${TIFF_LIBRARY})
 	ENDIF(WITH_IMAGE_TIFF)
 	IF(WITH_IMAGE_OPENEXR)
-		IF(WIN32)
+		IF(WIN32 AND NOT UNIX)
 			FOREACH(loop_var ${OPENEXR_LIB})
 				TARGET_LINK_LIBRARIES(${target} debug ${loop_var}_d)

@@ Diff output truncated at 10240 characters. @@




More information about the Bf-blender-cvs mailing list