Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-08-30Finally change SConscript tabs to spaces.Nathan Letwory
2010-08-25rename most scons build targets to match cmakeCampbell Barton
2010-08-16Scons:Joerg Mueller
* Should now build again without problems * Fixed scons having problems to execute makes(d/r)na if build path contains spaces
2010-02-01this restores building on mingw with Collada support, also it restores cross ↵Tom Musgrove
compiling, thanks to Sergey Sharybin for the patch. Note that the icons for linux cross might not be committed here, if not i'll add them in another commit
2010-01-21Added a new notifyer, NC_SPACE_CHANGED, to signal an editor thatJoseph Eagar
replaces another so it can do updates (e.g. dopesheet editor can sync channel selection). Also coded a simple optimization for allocating small objects, based on mempools. It's #ifdef'd out, you can enabled it by defining OPTIMIZE_SMALL_BLOCKS (e.g. adding -DDOPTIMIZE_SMALL_BLOCKS to your compiler flags). We suffer from a great deal of performance loss from the system allocator (vgroups, ghash, edgehash, the singly-linked list implementation in blenlib, editmesh, and likely a great many areas I'm forgetting), and this is the common solution for handling the many-small-objects problem. It's not really production-ready yet (it's long-term memory consequencers need to be profiled first, and the implementation tweaked as necassary), but for people on systems with slow system allocators it's worth trying. Note that since this creates a guardedalloc<->blenlib link, the build systems need to be updated accordingly (I've already done this for scons, though I'm not sure if the player builds).
2009-09-06== SCons ==Nathan Letwory
* makesrna and makesdna now use CFLAGS, CCFLAGS and Linking flags as specified in config. This might help with cross-compile on OSX 10.6 (32bit on 64bit). devroo & jensverwiebe, please test and report.
2009-04-162.5 / SConsNathan Letwory
* make sure makesdna and makesrna work on windows in directories with spaces in them.
2009-03-30editmesh accessor functions. most editmesh access now goes through:Joseph Eagar
EditMesh *EM_GetEditMesh(Mesh *me); void EM_EndEditMesh(Mesh *me, EditMesh *em); as discussed on the mailling list, this is to facilitate migration to bmesh. next step is to merge this this to the bmesh branch. this was done in the 2.5 branch to prevent too great a divergance. also, made makesdna/makesrna work on cygwin/msvc2008/scons.
2008-12-142.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender ↵Brecht Van Lommel
-r17434:HEAD
2008-11-13Merge of trunk into blender 2.5:Brecht Van Lommel
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r12987:17416 Issues: * GHOST/X11 had conflicting changes. Some code was added in 2.5, which was later added in trunk also, but reverted partially, specifically revision 16683. I have left out this reversion in the 2.5 branch since I think it is needed there. http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=16683 * Scons had various conflicting changes, I decided to go with trunk version for everything except priorities and some library renaming. * In creator.c, there were various fixes and fixes for fixes related to the -w -W and -p options. In 2.5 -w and -W is not coded yet, and -p is done differently. Since this is changed so much, and I don't think those fixes would be needed in 2.5, I've left them out. * Also in creator.c: there was code for a python bugfix where the screen was not initialized when running with -P. The code that initializes the screen there I had to disable, that can't work in 2.5 anymore but left it commented as a reminder. Further I had to disable some new function calls. using src/ and python/, as was done already in this branch, disabled function calls: * bpath.c: error reporting * BME_conversions.c: editmesh conversion functions. * SHD_dynamic: disabled almost completely, there is no python/. * KX_PythonInit.cpp and Ketsji/ build files: Mathutils is not there, disabled. * text.c: clipboard copy call. * object.c: OB_SUPPORT_MATERIAL. * DerivedMesh.c and subsurf_ccg, stipple_quarttone. Still to be done: * Go over files and functions that were moved to a different location but could still use changes that were done in trunk.
2008-11-12previous commits showed that the absolute path problem was even deeper. This ↵Nathan Letwory
should fix yet again some of the problems with giving them to BF_BUILDDIR
2008-11-11fix problem with giving absolute paths to BF_BUILDDIRNathan Letwory
2008-11-07=== SCons ===Nathan Letwory
* merge the recent scons changes from trunk, so this means that the same rules now apply: - scons-local available - platform default configs updated - check your user-config.py if you have made a full copy of default config Note: BGE and blenderplayer still not working, but that is normal ;) (so turn them off!)
2008-11-01RNA / Data APIBrecht Van Lommel
This is the first code for the Data API, also known as RNA system in the 2.5 Branch. It does not include a user interface, and only wraps some Scene properties for testing. It is integrated with Scons and Makefiles, and compiles a 'makesrna' program that generates an RNA.c file. http://wiki.blender.org/index.php/BlenderDev/Blender2.5/DataAPI http://wiki.blender.org/index.php/BlenderDev/Blender2.5/RNA The changes are quite local, basically adding a makesrna module which works similar to the makesdna module. The one external change is in moving genfile.c from blenloader to the makesdna module, so that it can be reused by the RNA code. This also meant changing the DNA makefiles. It seems to be doing dependencies correct still in my tests, but if there is an issue with the DNA not being rebuilt this commit might be the one causing it. Also it seems for scons the makesdna and makesrna modules are compiling without warnings. Not a new issue but this should be fixed. The RNA code supports all types as defined in the Data API design, so in that sense it is fairly complete and I hope that aspect will not have to change much. Some obviously missing parts are context related code, notify() functions for updates and user defined / ID properties.
2008-10-31* Minimum SCons version is now 1.0.0Nathan Letwory
- Code has been changed to reflect this (ie. deprecated functions are not anymore used) * clean up the C and C++ compiler flags mess. - in the environment construction of BlenderLib all the compile flag governing options have been split in the *C*, *CC* and *CXX* containing equivalents. C is for C compiler only flags. CC is for C and C++ compiler flags and CXX is for C++ compiler only flags. All the platform default config files need to be double checked and fixed wherever it looks necessary. Either DIY, or send me a note with needed changes. - a start for the BlenderLib parameter list has been made - all the SConscripts need to be checked and modified to hand in flags properly. * A theeth request: make -jN settable in the config file. - I give you BF_NUMJOBS, which is set to 1 by default. In your user-config.py, set BF_NUMJOBS=4 to have 4 parallel jobs handled. Yay.
2008-10-06* use env.Clone() instead of deprecated env.Copy()Nathan Letwory
2008-05-16Remove PLATFORM_LINKFLAGS for makesdna, was breaking debug builds with MSVC8.Ken Hughes
2008-04-29* make makesdna dependant on DNA header files too, instead of relying on ↵Nathan Letwory
makesdna dependency only. Fix through pointer by jaguarandi. Thanks!
2008-04-28Add BF_X264_CONFIG and BF_XVIDCORE_CONFIG flags to scons, to allow passingKen Hughes
configuration info for cross-compiling to ./configure scripts. Also let makesdna use PLATFORM_LINKFLAGS.
2008-02-06It is now possible to compile a profiling build with mingw+scons. Joshua Leung
Here are the changes I've had to make: * Added default settings for BF_PROFILE and BF_PROFILE_FLAGS for mingw * Made makesdna.c link with profiling flags too. This fixes some linking problems related to guardedmalloc for linking it. I'm not sure if this breaks compiling with BF_PROFILE on other platforms.
2008-01-08* tweak linking priorities - should help for GCC usersNathan Letwory
* some lib renaming
2007-03-27=== SCons ===Nathan Letwory
Bugfix #6168 * instead of compiling mallocn manually for makesdna, use the bf_guardedalloc lib that was already created looooooong time ago.
2007-03-05extra space in CCFLAGS was causing problems on some systems.Kent Mein
reported on irc... by bdiego Kent
2007-03-05=== SCons ==Nathan Letwory
* fix by Malcolm Tredinnick for #6148 * some other misc changes by myself.
2006-03-13==SCons==Nathan Letwory
* These changes bring cross-compiling Blender for Windows on Linux one step closer to reality. The 'biggest' change is in makesdna SConscript to make sure a linux native makesdna is built, that can be run, too. Next to that proper checks for env['OURPLATFORM']=='linuxcross' are added in various places. Switch change in pluginapi.c was necessary, and AFAIK it should work like that also on WIN32, if not, slap me. Note: everything *compiles* now nicely, it is just that the final *linking* doesn't work (yet). Anyone who fixes this will be the hero of cross-compilers :)
2006-02-08==SCons==Nathan Letwory
* The only lib that needs change in more than one place (two), and I forgot that, of course.
2006-02-04==SCons==Nathan Letwory
* add REL_CFLAGS and REL_CCFLAGS when not building debug. This adds NDEBUG to compile on Win32 * fix path to makesdna binary
2006-02-04== SCons ==Nathan Letwory
* This commit is all of the rewrite work done on the SCons system. For documentation see doc/blender-scons.txt and doc/blender-scons-dev.txt. Also http://mediawiki.blender.org/index.php/BlenderDev/SconsRefactoring contains valuable information, along with what still needs to be done. - linux, os x and windows compile now. - files are compiled to BF_INSTALLDIR (see config/(platform)-config.py) - NOTE: Jean-Luc P will commit sometime during the weekend proper appit() for OS X. For now, copy the resulting binary to an existing .app bundle. - features: - cleaner structure for better maintenance - cleaner output during compile - better handling of build options - general overall speed increase - see the wiki for more info Cygwin, FreeBSD and Solaris systems still need work. For these systems: 1) copy a config/(platform)-config.py to ie. config/cygwin-config.py 2) set the proper defaults for your platform 3) mail me at jesterking at letwory dot net with you configuration. if you need any modifications to the system, do send a patch, too. I'll be giving first-aid today and tomorrow, after that it'll be all regular development work :) /Nathan
2005-08-04updates to the OS X build system :Jean-Luc Peurière
- XCode project - Scons : scons stopped working for Os X in the last month (dont know when) : * the '.' and '..' keywords in CCPPATH are not recognized anymore for sconscripts compiling files at a sub level * when doing a scons clean, the 3 subdirs in build dir are removed and scons then fail to recreate them (exten, intern, source) this commit solve the first problem as a temp workaround for the latter simply recreate the dirs manually I will investigate that further when on vacations, which i should already be. ;( all 3 build systems are now working on Os X
2005-08-02Added support for compiling BULLET with scons on windowsSimon Clitherow
using bandoler's patch as a basis (thanks!). A couple of notes: - This is for windows only, I did not have a chance to try linux yet. - SConscript for PHY_Bullet may need tweaking (plus support for other platforms), but at least it's in there :) Any problems, shout :)
2005-05-06* integrate bFTGL with SconsNathan Letwory
* add some ENV = os.environ's here and there (help those who have msvc toolkit installed) Note for OSX users: check from your config.opts the correct info for the precompiled ftgl lib is used.
2004-05-16Added #!/usr/bin/python standard script identifier to the start of ↵Kester Maddock
SConscript files. Makes text editors identify SConscripts as Python, and syntax highlight properly.
2004-04-12SCons updates Michel Selten
* Updates to the cygwin build. the dna.c file used to be generated with a full path. Cygwin doesn't like this. The problem was with some cflags and linkflags that are used to build makesdna.exe Hos nicely pointed this out and proposed a solution. Now, these flags are only added to the command when the platform != 'cygwin'. * Updated some variables in SConstruct.
2004-03-16SCons updatesMichel Selten
* Removed win32 specific stuff from the SConscript in makesdna/intern. This stuff is obsolete after yesterdays update.
2004-03-15SCons updatesMichel Selten
* Added the following flags to config.opts: - PYTHON_LINKFLAGS - PLATFORM_LIBS - PLATFORM_LIBPATH - PLATFORM_LINKFLAGS Backup your original config.opts file and run scons again to get these new options. * Use freetype-config instead of pkg-config for determining the freetype2 flags. * The new PYTHON_LINKFLAGS now enable the dynamic linking on Linux and possibly other platforms as well. This should resolve all linking problems reported to the mailing lists. (At least for Linux, I can't test other platforms).
2004-03-01SCons updatesMichel Selten
* Blender static now links. By default this option is disabled on all platforms. Simply set the option in config.opts to 'true'. * Added the following flags to config.opts: - HOST_CC. This is the C compiler for the host platform. This value is the same as TARGET_CC when not cross compiling. - HOST_CXX. This is the C++ compiler for the host platform. This value is the same as TARGET_CXX when not cross compiling. - TARGET_CC. This is the C compiler for the target platform. - TARGET_CXX. This is the C++ compiler for the target platform. - TARGET_AR. This is the linker command for linking libraries. - PATH This is the standard search path All SConscript files have been updated to reflect these changes. Now it's possible to change only the root SConstruct file, and all compiler specific variables are passed automatically to all SConscript files. Of course, this does not apply to makesdna because there the host and target platform is different from all other libraries. To pass a variable that applies to all platforms, all we now have to do is set the correct value in library_env Note: as usual, to get the latest options in the config.opts file, first remove your version.
2004-02-15SCons updatesMichel Selten
* libraries are now generated in [BUILD_DIR]/lib * passed the user_options to all libraries now. This means I could remove a couple of Export/Import lines. * Changed the order in source/blender/src/SConscript and source/gameengine/SConscript. All libraries are now sorted alphabetically. This has no impact on the build process.
2004-02-07SCons updatesMichel Selten
* All output is now generated in a seperate directory. By default this is ../build/ Currently all .lib / .a files are still build in lib/ So, I guess I need to update all SConscript files to build the lib now also in the build_dir. TODO * User configurable options have been added. When running SCons for the first time, a new config.opts file is generated. The defaults are taken from each section currently in SConstruct. Currently implemented options: - VERSION // Blender version. not used at the moment - BUILD_BINARY // release or debug - BUILD_DIR // target directory to build intermediate files - USE_INTERNATIONAL // true or false - BUILD_GAMEENGINE // true or false - USE_PHYSICS // ode or solid - USE_OPENAL // true or false - USE_FMOD // true or false - USE_QUICKTIME // true or false Note that all options are strings, so quotes are necessary (') There's currently some duplicate code in the SConstruct and SConscript files, but this currently works and cleanup can be done in small steps afterwards. * Disabled international support on Linux by default for now. There is something wrong with this currently. I'll fix it in the near future.
2004-01-25SCons updateMichel Selten
* makesdna generates dna.c which in turn should be compiled with nice cflags, linkflags etc. But, a small error slipped in which caused the .c file to be compiled into a nice .o file without those flags. Thanks to Hos for pointing out the error and persisting there indeed was an error.
2004-01-05don't link makesdna against libpng and friends when building with sconsStefan Gartner
2004-01-05Forgot to add some lines and cleanup in the makesdna/intern/SConscript file.Michel Selten
The makesdna tool is SDL 'aware', but I forgot to pass some crucial flags to the build command. While working in that file, did some cleanup to make it more consistent with the other SConscript files.
2004-01-05SCons build system files added.Michel Selten
You'll need SCons (www.scons.org) to build. Platforms currently working: * Linux (me) - options for quicktime, openal and international disabled - uses the system libs and include files for building - no option to build with the precompiled libraries yet. * Windows (jesterKing) - builds with quicktime (optional) - builds with openal (optional) - builds with international support (optional) - Use the DOS box to build - builds with precompiled libraries * Irix (Hos) - Uses default Irix compiler - Not all optimization levels correct yet - options for quicktime, openal and international disabled - builds with precompiled libraries * Cygwin (me) - has a problem in the linking stage - uses free build tools (gcc) - options for quicktime, openal and international disabled - uses the system libs and include files for building - no option to build with the precompiled libraries yet. * MacOS (sgefant) - builds with quicktime (optional) - options for openal and international disabled - builds a nice bundle - builds with precompiled libraries Thanks to IanWill for a bugfix in the Linux build. Note: This is a work in progress. A lot still has to be done - for example the optional parts are only to be enabled by directly setting 'true' or 'false' in the SConstruct file. This needs to be moved to a user config file. Also, the .o/.obj files are stored in the source tree. This needs to be fixed as well. The game engine is not yet built.