Campbell Barton
83a2f02a78
cleanup endian handling
...
- define __BIG_ENDIAN__ or __LITTLE_ENDIAN__ with cmake & scons.
- ENDIAN_ORDER is now a define rather than a global short.
- replace checks like this with single ifdef: #if defined(__sgi) || defined (__sparc) || defined (__sparc__) || defined (__PPC__) || defined (__ppc__) || defined (__hppa__) || defined (__BIG_ENDIAN__)
- remove BKE_endian.h which isn't used
2011-09-19 08:02:17 +00:00
Guillermo S. Romero
43259c978e
SVN maintenance.
2011-09-16 17:18:12 +00:00
Campbell Barton
d87fcb0760
- fix for memory leak in findFreeNavPolyIndex()
...
- also correct own script for running cppcheck.
2011-09-16 14:02:44 +00:00
Campbell Barton
2222f536f8
use replace 0 with NULL for pointers, set some functions static
...
also fixed own errors in recent static check commit.
2011-09-16 08:20:21 +00:00
Campbell Barton
0849eaebbf
new convenience makefile targets for static source code cheching: check_splint/check_sparse/check_cppcheck
2011-09-16 06:58:20 +00:00
Sergey Sharybin
86d05b3144
Update build rules to deal with new gettext libraries.
2011-09-15 11:37:42 +00:00
Campbell Barton
dd2a2ec699
removed nodes from CMake's BLENDER_LINK_LIBS, rewrote find-pcre using own template.
2011-09-14 01:23:17 +00:00
Campbell Barton
21253def7c
- removed some duplicate library links from cmake (which were needed because of bad level calls)
...
- FindXML2 we had copied from another project was always running and not using cached value, rewrote based on template used for most of our other find modules which makes use of 'FindPackageHandleStandardArgs'
- mark statuc collada libs as advanced.
2011-09-14 01:02:57 +00:00
Sergey Sharybin
a47144a8d2
Enable FFTW3 library for buildslaves
2011-09-13 16:52:42 +00:00
Campbell Barton
297f14a1d6
fix for error linking opencollada on linux.
2011-09-12 13:58:13 +00:00
Sergey Sharybin
899bd19c71
Forgot to add FFmpeg DLLs list to linuxcross config.
2011-09-08 19:05:52 +00:00
Campbell Barton
c61827ed25
patch from Uncle_Entity on IRC for fedora/collada
2011-09-08 03:57:11 +00:00
Jens Verwiebe
7983627500
OSX: revert default compile to i386, for it breakes QTKit-condition for some unknown reason
2011-09-07 14:44:52 +00:00
Campbell Barton
47ffe63c86
remove -Wundef for code we don't maintain & generated code.
2011-09-06 13:00:46 +00:00
Antony Riakiotakis
aabd702dbd
fix link issues with MinGW - a substitute declaration(correctByteOrder) for itoln that was not present in MinGW was being used. Duplicated the declaration from <winsock2.h>(tried including but gave some errors) and added the appropriate link library, wsock32, according to MinGW documentation.
2011-09-06 11:17:29 +00:00
Jens Verwiebe
d8394b9d67
set OSX default python to static
2011-08-31 14:46:27 +00:00
Jens Verwiebe
5e8d191930
OSX/scons: fix compile with static python, my patch was a bit outdates, sorry
2011-08-31 14:15:14 +00:00
Jens Verwiebe
2457c2134a
OSX: additionally choice to link against python-framework again
2011-08-30 23:52:12 +00:00
Nathan Letwory
24ea5fe424
Enable libsndfile by default on win32 too.
2011-08-30 12:40:15 +00:00
Jens Verwiebe
3b1192431f
OSX/scons: don´t link to system stubs with 10.7 sdk
2011-08-25 09:41:36 +00:00
Campbell Barton
81a8f3e885
part of a patch from Dan Eicher for cmake packaging.
2011-08-24 18:23:21 +00:00
Campbell Barton
18d66643f4
this should finally fix collada & ubuntu building with cmake
2011-08-24 18:13:11 +00:00
Campbell Barton
242035fa2d
attempt to fix issue with opencollada + ubuntu ppa
2011-08-24 17:09:25 +00:00
Campbell Barton
9ad6434c4e
opencollada find module. hopefully solves the problem where includes can in an /include
subdir or not.
2011-08-24 16:04:35 +00:00
Campbell Barton
82e622f158
fix [ #28356 ] Import export STL files, problem in script in version r39307
...
& correct some bad comments.
2011-08-24 14:22:41 +00:00
Sergey Sharybin
0e3b8ff6a5
Update rules for linux cross and mingw: list of DLLs for FFmpeg should be defined there.
2011-08-22 19:27:54 +00:00
Sergey Sharybin
e39cb8a040
Forgot this in previous commit
2011-08-22 19:00:32 +00:00
Sergey Sharybin
a33a26ca07
FFmpeg library update:
...
- Update scons/cmake rules to use new versions of libs/dlls.
- Update rules for buildbot.
2011-08-22 18:49:42 +00:00
Campbell Barton
7d316b70b8
rename NAN_BUILDINFO --> WITH_BUILDINFO
2011-08-22 16:54:26 +00:00
Campbell Barton
817273931a
buildinfo is now quoted from the build systems, avoids stripping quotes on startup.
...
tested with linux/cmake linux/scons windows/cmake/mingw windows/cmake/msvc
2011-08-22 12:24:14 +00:00
Sergey Sharybin
36f20f162c
Fix #28154 : linux3-config.py doesn't exist
...
Change OURPLATFORM from "linux<major_version>" to simple "linux".
Since new policy for linux kernel versions that major version in
platform doesn't make much sense for building rules so the same
rules could be used for both of linux2 and linux3 now/
Tested on both of linux2 and linux3 systems.
2011-08-21 13:31:46 +00:00
Campbell Barton
93f135cfda
added cmake configureation presets, so on *nix systems you can do...
...
# minal blender with debug info
make debug lite
# blender with no ui
make headless
# blender as a python module
make bpy
2011-08-16 09:36:15 +00:00
Nathan Letwory
3359b7d7b7
use correct libdir for buildbot win64.
2011-08-11 16:43:36 +00:00
Sergey Sharybin
c9216e390c
Commiting patch from jensverwiebe for NDOF support on OSX
2011-08-11 15:59:19 +00:00
Campbell Barton
349c838996
add missing header to cmake files (else some IDE's wont index it)
2011-08-08 05:43:04 +00:00
Thomas Dinges
fad243a4bf
Mac Compile fix for ndof, by jensverwiebe. Thanks!
2011-08-07 22:48:04 +00:00
Campbell Barton
577293569a
scons patch from jensverwiebe
...
fix a silly bug in version detection, - added an OSX sdk-check
jensverwiebe, needs to get commit access!, but will apply his patches for now.
2011-08-07 16:54:40 +00:00
Mike Erwin
6a0bbfd0e4
fixed ndof library detect for Mac SCons, ndof enabled by default (disabled if lib not found), minor cleanup
2011-08-07 16:29:05 +00:00
Mike Erwin
6c821f4078
stricter NDOF guards for Windows (forgot in earlier commit)
2011-08-06 23:13:36 +00:00
Kent Mein
7368298a45
Messed up char was causing problems on windows even though it was in the
...
comments.
Kent
2011-08-05 19:55:36 +00:00
Campbell Barton
a6b677c81d
patch from jensverwiebe to scons to be compatible with gcc llvm. people who copy the darwin-config.py to their user-config.py should update.
2011-08-05 12:07:05 +00:00
Nathan Letwory
d795a78cb7
Default to False for WITH_BF_3DMOUSE, since needs separate package installed.
2011-08-03 14:04:48 +00:00
Nathan Letwory
289ef16fcf
Add win64_scons builder
2011-08-03 13:00:11 +00:00
Nathan Letwory
36887bbc82
Add BF_BITNESS for win32/win64
2011-08-03 12:57:38 +00:00
Sergey Sharybin
aac8bab172
Fixing terrible typo.
2011-08-03 12:20:07 +00:00
Sergey Sharybin
f1fb54e126
Switch slave_pack to use new FFmpeg for windows.
2011-08-03 11:47:03 +00:00
Sergey Sharybin
df6dfb93b2
Switch windows buildbot to new FFmpeg 0.8.1.
...
Hope it'll work because i haven't got buildbot slave by hand.
2011-08-03 11:10:19 +00:00
Sergey Sharybin
2c4357c1e1
- Move list of FFmpeg DLLs to be installed from SConstruct
...
to conficuration variable BF_FFMPEG_DDL.
This would allow to use different FFmpeg in buildbot.
- Added some 3DMOUSE variables to list of command line options.
Now 3dmouse related-settings can be set from command line.
2011-08-03 10:50:21 +00:00
Sergey Sharybin
fd35ee8422
- Switch linux buildbot to FFmpeg-0.8.1
...
- Enable FFmpeg for blenderplayer for linux buildbot.
2011-08-03 09:07:30 +00:00
Nathan Letwory
5c36b75324
Simple argument to be able to explicitely tell the bitness you want to build Blender in.
...
python scons\scons.py BF_BITNESS=32
python scons\scons.py BF_BITNESS=64
So from now on for Windows you don't have to run a specific win32 or win64 Python version
to get the Blender version you want. If you omit the BF_BITNESS flag the bitness as per
Python version will be used as before.
Note that this is an argument, so works *only* on the command-line, not in your user-config.py
2011-08-02 18:33:39 +00:00