Age | Commit message (Collapse) | Author |
|
* CC and CXX for linux2
|
|
* If you look quickly somewhere else, you won't notice the missing ''s
|
|
* Begin of the week, so I wanted to fill my commit quota right off the bat.
Add CC and CXX defaults for mingw, too. Unless we have invisible configs
this should be the last one :S
|
|
* added default compilers for darwin and win32-vc. Sorry orangers :) (Note:
this was not slapping opportunity related to cross-compile)
/Nathan
|
|
* 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 :)
|
|
Important note : for gcc3 linking you may have to remove -fexceptions
from LINKFLAGS but this is mandatory for gcc4
|
|
* a comma was missing from a list :S
|
|
* change CCFLAGS to CXXFLAGS and CFLAGS to CCFLAGS to be better
for SCons
- removed old cruft from ancient system
|
|
+ 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.
|
|
* Use same warning flags as with linux2, greatly reducing noise in
output during compile. Also for developers using win32/mingw now
in effect: correct *each* and *every* warning in your code. I
command you to!
|
|
* Warning flags I had dutifully copied from sirdudes yet unpublished
make rewrite turned out to be the Paranoia flags, causing the flood
of warnings. Using better flags instead (like current Makefile level 1).
All developers on Linux that use SCons for building - (new) code you write is
supposed to be *entirely* warning-free from now on (Ton said so!)
|
|
* accidently left WITH_BF_STATICOPENGL enabled for non-linux. tsktsk.
|
|
* 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.
|
|
A working configuration file for win32/mingw, provided by Rehno Lindeque.
Thanks!
|
|
* cleaning cruft away
|
|
* remove useless BF_TIFF* options. Upon closer inspection of code, only
path to headers is needed
|
|
|
|
|
|
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
|
|
lukep, I didn't touch darwin-config.py yet, because you're still
working on it. But if you could see and make similar changes as
I did to the rest.
|
|
propagates to related options:
In (platform)-config.py
BF_PYTHON_VERSION = '2.4'
BF_PYTHON_INC = '/usr/include/python${BF_PYTHON_VERSION}'
In user-config.py
BF_PYTHON_VERSION = '2.3'
This will now have BF_PYTHON_INC evaluate actually to
'/usr/include/python2.3' and not to '/usr/include/python2.4' as with
the old way. Reported by Chris Want.
Todo: also use in other platform configurations.
|
|
- python 2.3 if you want python 2.4 add the 2 following lines in
user-config.py :
BF_PYTHON = '2.3'
BF_PYTHON = '/library.Frameworks/Python.framework/Versions/'
- disabled libtiff by default. new scons force lib linking & it shouldnt
will work on that
- added SystemStubs lib that 10.4 require in some circumstances.
10.3 users may have to remove it with this line :
LLIBS = 'stdc++'
additional notes :
OpenEXR libs and includes are searched in /usr/local
use by preference gcc3.3 gcc4 need some new libs i will commit shortly
you get in final an unpackaged binary. take a previous blender app and use
show package content command to navigate to Contents/MacOs. replace the
binary there by new one, and voila, you have a working new app.
will commit shortly the automatic packager
|
|
* wrong format of two vars made darwin compile barf
|
|
* 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
|