Age | Commit message (Collapse) | Author |
|
It adds read only dds support. (Writing will come later)
Kent
|
|
python installs without the subprocess module. This is useful on win32 with mingw only anyway.
|
|
* Finally cleaned up the NSIS installer creation process
This is now a proper action and command, with simple printout
The 'nsis' target (only on Windows) now properly depends on
all the build process, and will be done as very last.
* Make LZMA (Solid) default compressor for installer (= the best)
|
|
FINALLY! With this commit command-length problems are History. Thanks go to xuru from #scons for giving the nice pointer.
src is now again one lib, and further libsplitting should be rather unnecessary, unless we somehow reach the 37K limit (for internally used CreateProcess, by subprocess module)
|
|
|
|
CXXFLAGS defaults to CCFLAGS which was causing duplicated or
extra compile flags being set for g++. Fix is to use
env.Replace() rather than .Append() the first time we
set CXXFLAGS in the build environment.
|
|
* enable TWEAK_MODE with BF_TWEAK_MODE=1 on cmd-line. Can also be specified in user-config.py
|
|
To use:
Make sure NSIS is in your %PATH% and type 'scons nsis'
It doesn't currently compile blender first, so make sure you do a
normal 'scons' before this.
|
|
* link against debug library of python on win32
|
|
- cleanup for wintab library headers
- properly define BF_WINTAB and BF_WINTAB_INC
|
|
Kent
|
|
(default for BF_DEBUG=1) will have .bsc generated, but this takes an awful long time, so BF_BSC=0 will skip that step.
|
|
* Source Browser support. When BF_DEBUG=1 .bsc-files will be created in BF_BUILDDIR. .pdb-files are in the root source dir
|
|
* Add WITH_BF_YAFRAY, which per default is 'true', so no visible changes for developers (and users).
Set WITH_BF_YAFRAY to 'false', and you'll save some major compile time :) Also handy if you're strapped for memory and compilation fails on yafray compilation due
to this.
- this commit also has a few whitespace changes and
- made BF_NO_ELBEEM a proper BoolOption. This will be renamed to WITH_BF_ELBEEM in the near future...
|
|
* removed unused options BF_VERSE_LIBPATH, BF_VERSE, BF_VERSE_LIBS, since they are not used at all.
* some whitespace mods
There should be no more issues with "libverse.lib" not being found (or anything like
that).
|
|
there is no need to bundle the verse binary.
Blenderplayer build is still broken. Verse maintener please add
the needed stubs for it
|
|
- this patch adds verse support for SCons, which can be enabled by
giving WITH_BF_VERSE=1, ie. on command-line
- this patch also adds a custom lib dir possibility. From the patch description:
"To set a custom ../lib dir, put LCGDIR="path to lib dir, including the platform folder name!" in your user-config.py."
* Fixed win32-vc-config.py so that it links to the proper library. Reported by Brandano.
|
|
of the fluidsim can now be disabled with the
flag: BF_NO_ELBEEM='true', e.g. for irix systems.
(The number of ifdefs from the original
patch was reduced, and the defines are now
only necessary when elbeem is switched off.)
- particle generation option is available again
|
|
Submitted by Joseph Eagar (joeedh). windows/gcc ffmpeg library may need recompiling to support all codecs necessary (ie. H264 doesn't work).
|
|
(I have one small problem with linking python's static library but
other than that this should work)
Kent
|
|
statically-linked python releases won't work otherwise. Bugfixes for #4676
and #4486.
|
|
according to artificer.
all the other py files were unix so this is the odd one out.
|
|
generator which were making garbage of some sub-menus.
generated fresh .mo files
added a missing copy in appit for Os X
|
|
* Applied patch #4012 by Joseph Eagar. The patch provides a way to quickly assign a list
of libraries to build with debug symbols. Usage:
scons BF_QUICKDEBUG=src,bf_blenkernel,bf_blenlib
|
|
properly when they have multiple options.
|
|
* 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 :)
|
|
* actually add CC and CXX to option handling, so they get also read in
from (platform)-config.py and user-config.py
|
|
+ Joseph Eagar provided a patch that re-enables the application icon for Blender. Hurray!
|
|
* change CCFLAGS to CXXFLAGS and CFLAGS to CCFLAGS to be better
for SCons
- removed old cruft from ancient system
|
|
* BF_DEBUG_FLAGS was missing for the allowed cmd-line arguments. Oops!
|
|
+ SCons support for pthreads-win32. Library will be committed shortly into
lib/windows, so be sure to check commit list and update that as well
when the pthread lib is available.
|
|
+ When giving CC and CXX on the command-line you can specify what compiler
to use:
scons CC=gcc-3.3 CXX=g++-3.3
|
|
* when WITH_BF_STATICOPENGL=1 on Linux Blender will be statically linked
against GL libraries. NOTE: I used values that worked on my machine -
platform managers and people who have better knowledge about this, please
modify config/linux2-config.py accordingly.
|
|
*remove double WITH_BF_FFMPEG
|
|
always statically (you have to force it to build a dynamic library) the
resulting binary is redistributable.
The code is made ffmpeg-version independent using #ifdef's.
|
|
* Add WITH_BF_FFMPEG to scons system. Needs to be added to (platform)-config.py
still. Otherwise defaults to 'false'.
|
|
* make sure PLATFORM_LINKFLAGS are used on Cygwin, too
|
|
* remove useless BF_TIFF* options. Upon closer inspection of code, only
path to headers is needed
|
|
|
|
* typo in adding BF_OPENAL_LIBPATH, resulting in it not being added at all
|
|
|
|
Important note, the install target install only the binary not the
packaged bunde for the moment
|
|
+ WITH_BF_OPENAL actually enables or disables use of OpenAL
+ WITH_BF_OPENEXR removes openexr libs from linking if disabled
|
|
* BF_PROFILE_FLAGS to list form
|
|
+ BF_BUILDINFO=1 (by default) for build info in splash
- remove redundant renderconverter include dir
* check for win32-vc instead of only win32, so MingW compile goes ok
|
|
* If you set C_WARN=[] and CC_WARN=[] in your user-config.py, no complaints
whatsoever should show. Otherwise a lot of warnings are shown.
|
|
* add REL_CFLAGS and REL_CCFLAGS when not building debug. This adds NDEBUG
to compile on Win32
* fix path to makesdna binary
|
|
* 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
|
|
|
|
These should make it so that other people can compile with OpenEXR support.
(I also added the OPENAL fix erwin commited to bf-blender since I
need it for my machine, and this syncs up the file)
Kent
|