[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [45960] branches/smoke2: Merge r45854-r45959 from trunk
Daniel Genrich
daniel.genrich at gmx.net
Wed Apr 25 10:29:43 CEST 2012
Revision: 45960
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=45960
Author: genscher
Date: 2012-04-25 08:29:42 +0000 (Wed, 25 Apr 2012)
Log Message:
-----------
Merge r45854-r45959 from trunk
Revision Links:
--------------
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=45854
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=45959
Modified Paths:
--------------
branches/smoke2/CMakeLists.txt
branches/smoke2/SConstruct
branches/smoke2/build_files/scons/config/win32-mingw-config.py
branches/smoke2/build_files/scons/tools/Blender.py
branches/smoke2/build_files/scons/tools/btools.py
branches/smoke2/doc/python_api/rst/include__bmesh.rst
branches/smoke2/doc/python_api/rst/info_gotcha.rst
branches/smoke2/doc/python_api/sphinx_doc_gen.py
branches/smoke2/extern/bullet2/src/BulletCollision/BroadphaseCollision/btQuantizedBvh.h
branches/smoke2/extern/bullet2/src/BulletSoftBody/btSoftBodyConcaveCollisionAlgorithm.h
branches/smoke2/extern/bullet2/src/SConscript
branches/smoke2/extern/carve/SConscript
branches/smoke2/extern/carve/bundle.sh
branches/smoke2/extern/eltopo/SConscript
branches/smoke2/extern/libmv/SConscript
branches/smoke2/extern/libmv/bundle.sh
branches/smoke2/extern/libmv/libmv/numeric/numeric.h
branches/smoke2/extern/libmv/third_party/glog/src/windows/port.cc
branches/smoke2/extern/libmv/third_party/glog/src/windows/port.h
branches/smoke2/intern/SConscript
branches/smoke2/intern/audaspace/SConscript
branches/smoke2/intern/boolop/SConscript
branches/smoke2/intern/cycles/SConscript
branches/smoke2/intern/cycles/blender/blender_mesh.cpp
branches/smoke2/intern/cycles/kernel/svm/svm_types.h
branches/smoke2/intern/elbeem/intern/ntl_geometrymodel.cpp
branches/smoke2/intern/elbeem/intern/solver_relax.h
branches/smoke2/intern/ghost/SConscript
branches/smoke2/intern/ghost/intern/GHOST_NDOFManagerX11.cpp
branches/smoke2/intern/ghost/intern/GHOST_SystemWin32.cpp
branches/smoke2/intern/guardedalloc/MEM_sys_types.h
branches/smoke2/intern/opennl/SConscript
branches/smoke2/intern/utfconv/SConscript
branches/smoke2/release/scripts/startup/bl_operators/mesh.py
branches/smoke2/release/scripts/startup/bl_operators/object.py
branches/smoke2/release/scripts/startup/bl_operators/uvcalc_follow_active.py
branches/smoke2/release/scripts/startup/bl_operators/uvcalc_lightmap.py
branches/smoke2/release/scripts/startup/bl_operators/uvcalc_smart_project.py
branches/smoke2/release/scripts/startup/bl_ui/properties_data_armature.py
branches/smoke2/release/scripts/startup/bl_ui/space_view3d.py
branches/smoke2/source/SConscript
branches/smoke2/source/blender/blenkernel/BKE_armature.h
branches/smoke2/source/blender/blenkernel/BKE_image.h
branches/smoke2/source/blender/blenkernel/BKE_report.h
branches/smoke2/source/blender/blenkernel/BKE_tessmesh.h
branches/smoke2/source/blender/blenkernel/SConscript
branches/smoke2/source/blender/blenkernel/intern/anim_sys.c
branches/smoke2/source/blender/blenkernel/intern/cdderivedmesh.c
branches/smoke2/source/blender/blenkernel/intern/collision.c
branches/smoke2/source/blender/blenkernel/intern/customdata.c
branches/smoke2/source/blender/blenkernel/intern/depsgraph.c
branches/smoke2/source/blender/blenkernel/intern/dynamicpaint.c
branches/smoke2/source/blender/blenkernel/intern/idprop.c
branches/smoke2/source/blender/blenkernel/intern/image.c
branches/smoke2/source/blender/blenkernel/intern/ipo.c
branches/smoke2/source/blender/blenkernel/intern/library.c
branches/smoke2/source/blender/blenkernel/intern/material.c
branches/smoke2/source/blender/blenkernel/intern/mball.c
branches/smoke2/source/blender/blenkernel/intern/mesh.c
branches/smoke2/source/blender/blenkernel/intern/mesh_validate.c
branches/smoke2/source/blender/blenkernel/intern/packedFile.c
branches/smoke2/source/blender/blenkernel/intern/particle.c
branches/smoke2/source/blender/blenkernel/intern/scene.c
branches/smoke2/source/blender/blenkernel/intern/texture.c
branches/smoke2/source/blender/blenlib/BLI_array.h
branches/smoke2/source/blender/blenlib/BLI_math_vector.h
branches/smoke2/source/blender/blenlib/BLI_winstuff.h
branches/smoke2/source/blender/blenlib/SConscript
branches/smoke2/source/blender/blenlib/intern/fileops.c
branches/smoke2/source/blender/blenlib/intern/math_vector.c
branches/smoke2/source/blender/blenloader/BLO_sys_types.h
branches/smoke2/source/blender/blenloader/intern/readfile.c
branches/smoke2/source/blender/blenpluginapi/SConscript
branches/smoke2/source/blender/bmesh/CMakeLists.txt
branches/smoke2/source/blender/bmesh/SConscript
branches/smoke2/source/blender/bmesh/intern/bmesh_construct.c
branches/smoke2/source/blender/bmesh/intern/bmesh_core.c
branches/smoke2/source/blender/bmesh/intern/bmesh_marking.c
branches/smoke2/source/blender/bmesh/intern/bmesh_marking.h
branches/smoke2/source/blender/bmesh/intern/bmesh_mesh.c
branches/smoke2/source/blender/bmesh/intern/bmesh_mesh.h
branches/smoke2/source/blender/bmesh/intern/bmesh_mesh_conv.c
branches/smoke2/source/blender/bmesh/intern/bmesh_mods.c
branches/smoke2/source/blender/bmesh/intern/bmesh_mods.h
branches/smoke2/source/blender/bmesh/intern/bmesh_opdefines.c
branches/smoke2/source/blender/bmesh/intern/bmesh_operator_api.h
branches/smoke2/source/blender/bmesh/intern/bmesh_operators.h
branches/smoke2/source/blender/bmesh/intern/bmesh_polygon.c
branches/smoke2/source/blender/bmesh/intern/bmesh_polygon.h
branches/smoke2/source/blender/bmesh/intern/bmesh_private.h
branches/smoke2/source/blender/bmesh/intern/bmesh_queries.c
branches/smoke2/source/blender/bmesh/intern/bmesh_queries.h
branches/smoke2/source/blender/bmesh/operators/bmo_dissolve.c
branches/smoke2/source/blender/bmesh/operators/bmo_extrude.c
branches/smoke2/source/blender/bmesh/operators/bmo_inset.c
branches/smoke2/source/blender/bmesh/operators/bmo_primitive.c
branches/smoke2/source/blender/bmesh/operators/bmo_subdivide.c
branches/smoke2/source/blender/bmesh/operators/bmo_subdivide.h
branches/smoke2/source/blender/bmesh/operators/bmo_triangulate.c
branches/smoke2/source/blender/bmesh/operators/bmo_utils.c
branches/smoke2/source/blender/bmesh/tools/BME_bevel.c
branches/smoke2/source/blender/editors/armature/SConscript
branches/smoke2/source/blender/editors/armature/poselib.c
branches/smoke2/source/blender/editors/datafiles/startup.blend.c
branches/smoke2/source/blender/editors/include/BIF_glutil.h
branches/smoke2/source/blender/editors/include/ED_mesh.h
branches/smoke2/source/blender/editors/include/ED_uvedit.h
branches/smoke2/source/blender/editors/include/ED_view3d.h
branches/smoke2/source/blender/editors/include/UI_interface.h
branches/smoke2/source/blender/editors/interface/interface_layout.c
branches/smoke2/source/blender/editors/interface/interface_widgets.c
branches/smoke2/source/blender/editors/mesh/SConscript
branches/smoke2/source/blender/editors/mesh/editmesh_knife.c
branches/smoke2/source/blender/editors/mesh/editmesh_loopcut.c
branches/smoke2/source/blender/editors/mesh/editmesh_rip.c
branches/smoke2/source/blender/editors/mesh/editmesh_select.c
branches/smoke2/source/blender/editors/mesh/editmesh_slide.c
branches/smoke2/source/blender/editors/mesh/editmesh_tools.c
branches/smoke2/source/blender/editors/mesh/editmesh_utils.c
branches/smoke2/source/blender/editors/mesh/mesh_intern.h
branches/smoke2/source/blender/editors/mesh/mesh_ops.c
branches/smoke2/source/blender/editors/object/SConscript
branches/smoke2/source/blender/editors/object/object_group.c
branches/smoke2/source/blender/editors/object/object_relations.c
branches/smoke2/source/blender/editors/object/object_vgroup.c
branches/smoke2/source/blender/editors/physics/SConscript
branches/smoke2/source/blender/editors/render/SConscript
branches/smoke2/source/blender/editors/render/render_preview.c
branches/smoke2/source/blender/editors/screen/SConscript
branches/smoke2/source/blender/editors/screen/glutil.c
branches/smoke2/source/blender/editors/screen/screendump.c
branches/smoke2/source/blender/editors/sculpt_paint/SConscript
branches/smoke2/source/blender/editors/sculpt_paint/paint_image.c
branches/smoke2/source/blender/editors/sculpt_paint/paint_ops.c
branches/smoke2/source/blender/editors/space_file/SConscript
branches/smoke2/source/blender/editors/space_image/SConscript
branches/smoke2/source/blender/editors/space_image/image_ops.c
branches/smoke2/source/blender/editors/space_image/space_image.c
branches/smoke2/source/blender/editors/space_node/SConscript
branches/smoke2/source/blender/editors/space_sequencer/SConscript
branches/smoke2/source/blender/editors/space_sequencer/sequencer_edit.c
branches/smoke2/source/blender/editors/space_text/text_python.c
branches/smoke2/source/blender/editors/space_view3d/SConscript
branches/smoke2/source/blender/editors/space_view3d/drawmesh.c
branches/smoke2/source/blender/editors/space_view3d/drawobject.c
branches/smoke2/source/blender/editors/space_view3d/view3d_draw.c
branches/smoke2/source/blender/editors/space_view3d/view3d_edit.c
branches/smoke2/source/blender/editors/space_view3d/view3d_select.c
branches/smoke2/source/blender/editors/space_view3d/view3d_snap.c
branches/smoke2/source/blender/editors/space_view3d/view3d_view.c
branches/smoke2/source/blender/editors/transform/transform.c
branches/smoke2/source/blender/editors/transform/transform_conversions.c
branches/smoke2/source/blender/editors/transform/transform_generics.c
branches/smoke2/source/blender/editors/transform/transform_manipulator.c
branches/smoke2/source/blender/editors/transform/transform_orientations.c
branches/smoke2/source/blender/editors/util/ed_util.c
branches/smoke2/source/blender/editors/uvedit/uvedit_buttons.c
branches/smoke2/source/blender/editors/uvedit/uvedit_draw.c
branches/smoke2/source/blender/editors/uvedit/uvedit_ops.c
branches/smoke2/source/blender/editors/uvedit/uvedit_smart_stitch.c
branches/smoke2/source/blender/editors/uvedit/uvedit_unwrap_ops.c
branches/smoke2/source/blender/gpu/SConscript
branches/smoke2/source/blender/imbuf/SConscript
branches/smoke2/source/blender/imbuf/intern/jp2.c
branches/smoke2/source/blender/imbuf/intern/tiff.c
branches/smoke2/source/blender/imbuf/intern/util.c
branches/smoke2/source/blender/makesdna/DNA_meshdata_types.h
branches/smoke2/source/blender/makesdna/DNA_scene_types.h
branches/smoke2/source/blender/makesdna/DNA_sequence_types.h
branches/smoke2/source/blender/makesdna/intern/SConscript
branches/smoke2/source/blender/makesrna/RNA_enum_types.h
branches/smoke2/source/blender/makesrna/SConscript
branches/smoke2/source/blender/makesrna/intern/SConscript
branches/smoke2/source/blender/makesrna/intern/rna_curve.c
branches/smoke2/source/blender/makesrna/intern/rna_main_api.c
branches/smoke2/source/blender/makesrna/intern/rna_mesh.c
branches/smoke2/source/blender/makesrna/intern/rna_object.c
branches/smoke2/source/blender/makesrna/intern/rna_object_api.c
branches/smoke2/source/blender/makesrna/intern/rna_sequencer_api.c
branches/smoke2/source/blender/makesrna/intern/rna_userdef.c
branches/smoke2/source/blender/nodes/SConscript
branches/smoke2/source/blender/python/SConscript
branches/smoke2/source/blender/python/bmesh/bmesh_py_types.c
branches/smoke2/source/blender/python/bmesh/bmesh_py_types_customdata.c
branches/smoke2/source/blender/render/SConscript
branches/smoke2/source/blender/render/intern/source/convertblender.c
branches/smoke2/source/blender/windowmanager/SConscript
branches/smoke2/source/blender/windowmanager/WM_api.h
branches/smoke2/source/blender/windowmanager/intern/wm_jobs.c
branches/smoke2/source/blender/windowmanager/intern/wm_operators.c
branches/smoke2/source/creator/CMakeLists.txt
branches/smoke2/source/gameengine/Converter/BL_BlenderDataConversion.cpp
branches/smoke2/source/gameengine/Converter/KX_BlenderSceneConverter.cpp
branches/smoke2/source/gameengine/Converter/SConscript
branches/smoke2/source/gameengine/Expressions/KX_HashedPtr.cpp
branches/smoke2/source/gameengine/Ketsji/KX_GameObject.cpp
branches/smoke2/source/gameengine/Ketsji/KX_IPO_SGController.cpp
branches/smoke2/source/gameengine/Ketsji/KX_PhysicsEngineEnums.h
branches/smoke2/source/gameengine/Ketsji/SConscript
branches/smoke2/source/gameengine/Physics/Bullet/CcdPhysicsController.cpp
branches/smoke2/source/gameengine/VideoTexture/SConscript
branches/smoke2/source/tests/bl_mesh_modifiers.py
branches/smoke2/source/tools/uncrustify_clean.sh
Added Paths:
-----------
branches/smoke2/build_files/scons/config/win64-mingw-config.py
branches/smoke2/doc/python_api/examples/bpy.types.Mesh.py
branches/smoke2/extern/carve/patches/mingw_w64.patch
branches/smoke2/extern/libmv/patches/mingw_w64_support.patch
Property Changed:
----------------
branches/smoke2/
Property changes on: branches/smoke2
___________________________________________________________________
Modified: svn:ignore
- *.pdb
.*
TAGS
cscope.out
sgc.bat
sgd.bat
smc.bat
ssenv.bat
tags
user-config.py
CMakeFiles
CMakeCache.txt
blender.bin
+ *.pdb
.*
TAGS
cscope.out
sgc.bat
sgd.bat
smc.bat
ssenv.bat
tags
user-config.py
CMakeFiles
CMakeCache.txt
blender.bin
blender.kdev4
.kdev4
Modified: svn:mergeinfo
- /branches/soc-2011-cucumber:37517,38166-38167,38177,38179-38180,38187,38242,38384,38387,38403-38404,38407,38968,38970,38973,39045,40845,42997-42998,43439
/branches/soc-2011-tomato:42376,42378-42379,42383,42385,42395,42397-42400,42407,42411,42418,42443-42444,42446,42467,42472,42486,42650-42652,42654-42655,42709-42710,42733-42734,42801,43872,44130,44141,44147-44149,44151-44152,44229-44230
/trunk/blender:45664-45710,45712-45744,45747-45853
+ /branches/soc-2011-cucumber:37517,38166-38167,38177,38179-38180,38187,38242,38384,38387,38403-38404,38407,38968,38970,38973,39045,40845,42997-42998,43439
/branches/soc-2011-tomato:42376,42378-42379,42383,42385,42395,42397-42400,42407,42411,42418,42443-42444,42446,42467,42472,42486,42650-42652,42654-42655,42709-42710,42733-42734,42801,43872,44130,44141,44147-44149,44151-44152,44229-44230
/trunk/blender:45664-45710,45712-45744,45747-45959
Modified: branches/smoke2/CMakeLists.txt
===================================================================
--- branches/smoke2/CMakeLists.txt 2012-04-25 07:23:20 UTC (rev 45959)
+++ branches/smoke2/CMakeLists.txt 2012-04-25 08:29:42 UTC (rev 45960)
@@ -194,12 +194,7 @@
option(WITH_IMAGE_FRAMESERVER "Enable image FrameServer Support for rendering" ON)
# Audio/Video format support
-if(MINGW)
- set(PLATFORM_DEFAULT ON)
-else()
- set(PLATFORM_DEFAULT OFF)
-endif()
-option(WITH_CODEC_FFMPEG "Enable FFMPeg Support (http://ffmpeg.org)" ${PLATFORM_DEFAULT})
+option(WITH_CODEC_FFMPEG "Enable FFMPeg Support (http://ffmpeg.org)" OFF)
unset(PLATFORM_DEFAULT)
option(WITH_CODEC_SNDFILE "Enable libsndfile Support (http://www.mega-nerd.com/libsndfile)" OFF)
@@ -233,6 +228,8 @@
option(WITH_INSTALL_PORTABLE "Install redistributeable runtime, otherwise install into CMAKE_INSTALL_PREFIX" ON)
endif()
option(WITH_PYTHON_INSTALL "Copy system python into the blender install folder" ON)
+option(WITH_MINGW64 "Use the 64-bit version of MinGW" OFF)
+mark_as_advanced(WITH_MINGW64)
# Cycles
option(WITH_CYCLES "Enable cycles Render Engine" ON)
@@ -370,6 +367,10 @@
"because it is currently unsupported, remove this "
"line if youre a developer who wants to add support.")
endif()
+
+ if((WITH_MINGW64) AND (WITH_OPENCOLLADA OR WITH_CODEC_FFMPEG))
+ message(FATAL_ERROR "MINGW64 still doesn't support: WITH_OPENCOLLADA/WITH_CODEC_FFMPEG")
+ endif()
endif()
TEST_SSE_SUPPORT(COMPILER_SSE_FLAG COMPILER_SSE2_FLAG)
@@ -735,14 +736,24 @@
# this file is included anyway when building under Windows with cl.exe
# include(${CMAKE_ROOT}/Modules/Platform/Windows-cl.cmake)
- set(LIBDIR ${CMAKE_SOURCE_DIR}/../lib/windows)
+ if(CMAKE_COMPILER_IS_GNUCC)
+ set(LIBDIR ${CMAKE_SOURCE_DIR}/../lib/mingw32)
- # Setup 64bit and 64bit windows systems
- if(CMAKE_CL_64)
- message("64 bit compiler detected.")
- set(LIBDIR ${CMAKE_SOURCE_DIR}/../lib/win64)
+ # Setup 64bit and 64bit windows systems
+ if(WITH_MINGW64)
+ message("Set 64 bit compiler for MinGW.")
+ set(LIBDIR ${CMAKE_SOURCE_DIR}/../lib/mingw64)
+ endif()
+ else()
+ set(LIBDIR ${CMAKE_SOURCE_DIR}/../lib/windows)
+
+ # Setup 64bit and 64bit windows systems
+ if(CMAKE_CL_64)
+ message("64 bit compiler detected.")
+ set(LIBDIR ${CMAKE_SOURCE_DIR}/../lib/win64)
+ endif()
endif()
-
+
add_definitions(-DWIN32)
if(WITH_INTERNATIONAL)
@@ -990,29 +1001,41 @@
set(PLATFORM_LINKFLAGS_DEBUG "/NODEFAULTLIB:libcmt.lib /NODEFAULTLIB:libc.lib")
- else()
- # keep GCC specific stuff here
- if(CMAKE_COMPILER_IS_GNUCC)
- set(PLATFORM_LINKLIBS "-lshell32 -lshfolder -lgdi32 -lmsvcrt -lwinmm -lmingw32 -lm -lws2_32 -lz -lstdc++ -lole32 -luuid -lwsock32 -lpsapi")
- set(PLATFORM_CFLAGS "-pipe -funsigned-char -fno-strict-aliasing")
+ elseif(CMAKE_COMPILER_IS_GNUCC)
+ # keep GCC specific stuff here
+ set(PLATFORM_LINKLIBS "-lshell32 -lshfolder -lgdi32 -lmsvcrt -lwinmm -lmingw32 -lm -lws2_32 -lz -lstdc++ -lole32 -luuid -lwsock32 -lpsapi")
+ set(PLATFORM_CFLAGS "-pipe -funsigned-char -fno-strict-aliasing")
- add_definitions(-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE)
+ if(WITH_MINGW64)
+ #Yes, the point for MinGW64 is moar optimization by default :)
+ set(PLATFORM_CFLAGS "${PLATFORM_CFLAGS} -mmmx -msse -msse2 -ftree-vectorize")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive")
+ set(PLATFORM_LINKLIBS "${PLATFORM_LINKLIBS} -lpthread")
+
+ add_definitions(-DFREE_WINDOWS64 -DMS_WIN64)
endif()
+ add_definitions(-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE)
+
+
add_definitions(-DFREE_WINDOWS)
if(WITH_INTERNATIONAL)
- set(GETTEXT ${LIBDIR}/gcc/gettext)
+ set(GETTEXT ${LIBDIR}/gettext)
set(GETTEXT_INCLUDE_DIRS ${GETTEXT}/include)
set(GETTEXT_LIBPATH ${GETTEXT}/lib)
set(GETTEXT_LIBRARIES intl)
endif()
- set(PNG "${LIBDIR}/gcc/png")
+ set(PNG "${LIBDIR}/png")
set(PNG_INCLUDE_DIR "${PNG}/include")
set(PNG_LIBPATH ${PNG}/lib) # not cmake defined
- set(JPEG_LIBRARIES libjpeg)
+ if(WITH_MINGW64)
+ set(JPEG_LIBRARIES jpeg)
+ else()
+ set(JPEG_LIBRARIES libjpeg)
+ endif()
set(PNG_LIBRARIES png)
set(ZLIB ${LIBDIR}/zlib)
@@ -1020,31 +1043,34 @@
set(ZLIB_LIBPATH ${ZLIB}/lib)
set(ZLIB_LIBRARIES z)
- set(PTHREADS ${LIBDIR}/pthreads)
- set(PTHREADS_INCLUDE_DIRS ${PTHREADS}/include)
- set(PTHREADS_LIBPATH ${PTHREADS}/lib)
- set(PTHREADS_LIBRARIES pthreadGC2)
-
- set(FREETYPE ${LIBDIR}/gcc/freetype)
+ #comes with own pthread library
+ if(NOT WITH_MINGW64)
+ set(PTHREADS ${LIBDIR}/pthreads)
+ set(PTHREADS_INCLUDE_DIRS ${PTHREADS}/include)
+ set(PTHREADS_LIBPATH ${PTHREADS}/lib)
+ set(PTHREADS_LIBRARIES pthreadGC2)
+ endif()
+
+ set(FREETYPE ${LIBDIR}/freetype)
set(FREETYPE_INCLUDE_DIRS ${FREETYPE}/include ${FREETYPE}/include/freetype2)
set(FREETYPE_LIBPATH ${FREETYPE}/lib)
set(FREETYPE_LIBRARY freetype)
if(WITH_FFTW3)
- set(FFTW3 ${LIBDIR}/gcc/fftw3)
+ set(FFTW3 ${LIBDIR}/fftw3)
set(FFTW3_LIBRARIES fftw3)
set(FFTW3_INCLUDE_DIRS ${FFTW3}/include)
set(FFTW3_LIBPATH ${FFTW3}/lib)
endif()
if(WITH_OPENCOLLADA)
- set(OPENCOLLADA ${LIBDIR}/gcc/opencollada)
+ set(OPENCOLLADA ${LIBDIR}/opencollada)
set(OPENCOLLADA_INCLUDE_DIRS
- ${LIBDIR}/gcc/opencollada/include/COLLADAStreamWriter/include
- ${LIBDIR}/gcc/opencollada/include/COLLADABaseUtils/include
- ${LIBDIR}/gcc/opencollada/include/COLLADAFramework/include
- ${LIBDIR}/gcc/opencollada/include/COLLADASaxFrameworkLoader/include
- ${LIBDIR}/gcc/opencollada/include/GeneratedSaxParser/include
+ ${LIBDIR}/opencollada/include/COLLADAStreamWriter/include
+ ${LIBDIR}/opencollada/include/COLLADABaseUtils/include
+ ${LIBDIR}/opencollada/include/COLLADAFramework/include
+ ${LIBDIR}/opencollada/include/COLLADASaxFrameworkLoader/include
+ ${LIBDIR}/opencollada/include/GeneratedSaxParser/include
)
set(OPENCOLLADA_LIBPATH ${OPENCOLLADA}/lib ${OPENCOLLADA}/lib)
set(OPENCOLLADA_LIBRARIES OpenCOLLADAStreamWriter OpenCOLLADASaxFrameworkLoader OpenCOLLADAFramework OpenCOLLADABaseUtils GeneratedSaxParser UTF MathMLSolver expat pcre buffer ftoa)
@@ -1059,14 +1085,14 @@
endif()
if(WITH_IMAGE_OPENEXR)
- set(OPENEXR ${LIBDIR}/gcc/openexr)
+ set(OPENEXR ${LIBDIR}/openexr)
set(OPENEXR_INCLUDE_DIRS ${OPENEXR}/include/OpenEXR)
set(OPENEXR_LIBRARIES Half IlmImf Imath IlmThread Iex)
set(OPENEXR_LIBPATH ${OPENEXR}/lib)
endif()
if(WITH_IMAGE_TIFF)
- set(TIFF ${LIBDIR}/gcc/tiff)
+ set(TIFF ${LIBDIR}/tiff)
set(TIFF_LIBRARY tiff)
set(TIFF_INCLUDE_DIR ${TIFF}/include)
set(TIFF_LIBPATH ${TIFF}/lib)
@@ -1096,19 +1122,24 @@
if(WITH_BOOST)
set(BOOST ${LIBDIR}/boost)
set(BOOST_INCLUDE_DIR ${BOOST}/include)
- set(BOOST_POSTFIX "mgw46-mt-s-1_47")
- set(BOOST_DEBUG_POSTFIX "mgw46-mt-sd-1_47")
+ if(WITH_MINGW64)
+ set(BOOST_POSTFIX "mgw47-mt-s-1_49")
+ set(BOOST_DEBUG_POSTFIX "mgw47-mt-sd-1_49")
+ else()
+ set(BOOST_POSTFIX "mgw46-mt-s-1_47")
+ set(BOOST_DEBUG_POSTFIX "mgw46-mt-sd-1_47")
+ endif()
set(BOOST_LIBRARIES
optimized boost_date_time-${BOOST_POSTFIX} boost_filesystem-${BOOST_POSTFIX}
boost_regex-${BOOST_POSTFIX} boost_system-${BOOST_POSTFIX} boost_thread-${BOOST_POSTFIX}
debug boost_date_time-${BOOST_DEBUG_POSTFIX} boost_filesystem-${BOOST_DEBUG_POSTFIX}
boost_regex-${BOOST_DEBUG_POSTFIX} boost_system-${BOOST_DEBUG_POSTFIX} boost_thread-${BOOST_DEBUG_POSTFIX})
- set(BOOST_LIBPATH ${BOOST}/lib/gcc)
+ set(BOOST_LIBPATH ${BOOST}/lib)
set(BOOST_DEFINITIONS "-DBOOST_ALL_NO_LIB -DBOOST_THREAD_USE_LIB ")
endif()
if(WITH_OPENIMAGEIO)
- set(OPENIMAGEIO ${LIBDIR}/gcc/openimageio)
+ set(OPENIMAGEIO ${LIBDIR}/openimageio)
set(OPENIMAGEIO_INCLUDE_DIRS ${OPENIMAGEIO}/include)
set(OPENIMAGEIO_LIBRARIES OpenImageIO)
set(OPENIMAGEIO_LIBPATH ${OPENIMAGEIO}/lib)
Modified: branches/smoke2/SConstruct
===================================================================
--- branches/smoke2/SConstruct 2012-04-25 07:23:20 UTC (rev 45959)
+++ branches/smoke2/SConstruct 2012-04-25 08:29:42 UTC (rev 45960)
@@ -170,7 +170,7 @@
if env['CC'] in ['cl', 'cl.exe']:
platform = 'win64-vc' if bitness == 64 else 'win32-vc'
elif env['CC'] in ['gcc']:
- platform = 'win32-mingw'
+ platform = 'win64-mingw' if bitness == 64 else 'win32-mingw'
env.SConscriptChdir(0)
@@ -782,6 +782,34 @@
windlls = env.Install(dir=env['BF_INSTALLDIR'], source = dllsources)
allinstall += windlls
+if env['OURPLATFORM'] == 'win64-mingw':
+ dllsources = []
+
+ if env['WITH_BF_PYTHON']:
+ if env['BF_DEBUG']:
+ dllsources.append('${BF_PYTHON_LIBPATH}/${BF_PYTHON_DLL}_d.dll')
+ else:
+ dllsources.append('${BF_PYTHON_LIBPATH}/${BF_PYTHON_DLL}.dll')
+
+ if env['WITH_BF_FFMPEG']:
+ dllsources += env['BF_FFMPEG_DLL'].split()
+
+ if env['WITH_BF_OPENAL']:
@@ Diff output truncated at 10240 characters. @@
More information about the Bf-blender-cvs
mailing list