Campbell Barton
35fa581403
BKE_assert(), only prints the error unless cmake define WITH_ASSERT_ABORT is enabled and it will call abort().
...
made this option advanced so people don't enable along with other features.
2010-12-15 10:22:26 +00:00
Campbell Barton
1622385445
pedantic word ordering change.
...
- wm.add_modal_handler -> modal_handler_add
- wm.add_fileselect -> fileselect_add
- ob.add_shape_key -> shape_key_add
- VIEW3D_OT_add_background_image -> VIEW3D_OT_background_image_add (same for remove)
Also made 2 internal cmake vars hidden.
2010-12-08 11:42:11 +00:00
Campbell Barton
cea760ac5a
this change broke building.
2010-12-08 09:50:49 +00:00
Campbell Barton
eb26103822
cmake - mark vars as advanced so they dont show up by default when configuring.
2010-12-08 09:02:08 +00:00
Campbell Barton
afacd18498
use lowercase for cmake builtin names and macros, remove contents in else() and endif() which is no longer needed.
2010-12-08 08:43:06 +00:00
Campbell Barton
d64f46e0bb
CMake: use a global list to store libraries built rather then cmake_blender_libs.txt file.
2010-12-06 10:56:37 +00:00
Campbell Barton
263830f000
Enabled GCC -Wwrite-strings warning for CMake and replaced many 'char's for 'const char's,.
...
Only one functional change where Transform orientations passed "" to BIF_createTransformOrientation() which could then have the value written into.
2010-12-03 17:05:21 +00:00
Campbell Barton
cd97253502
- added GCC warning -Wstrict-prototypes
...
- fixed bug in paste material, exposed by stricter warnings.
- removed/renamed various shadowed vars.
- removed BGE lamp.colour, only allow lamp.color attribute.
2010-12-03 12:30:59 +00:00
Campbell Barton
3e173f4d21
disable redcode support for cmake & scons-freebsd
2010-12-01 07:25:59 +00:00
Campbell Barton
42d6603cae
Add option for CMake to build libredcode, also use CODEC prefix for ffmpeg, quicktime & sndfile options.
2010-11-30 18:52:39 +00:00
Nathan Letwory
a5cecd8284
Remove library specification.
2010-11-24 09:13:59 +00:00
Campbell Barton
5a37554b1e
disallow disabling WITH_SAMPLERATE if any audio outputs are enabled.
2010-11-21 16:32:11 +00:00
Campbell Barton
c85c2746df
WITH_SAMPLERATE option for cmake, without this playback wont behave right so this is mainly intended for developers who build without audio enabled.
2010-11-21 14:32:55 +00:00
Campbell Barton
39b7bfe6bd
- check IF WIN32 AND NOT UNIX (for cygwin)
...
- patch from Mike S to enable OpenMP and xcode
2010-11-21 13:41:43 +00:00
Campbell Barton
cd2ab75b73
- include pthreads for win32 globally (as with opengl).
...
- MSVC CFLAGS were being set by only checking WIN32, (breaking non-msvc win32 builds)
2010-11-21 09:10:50 +00:00
Campbell Barton
a04bbb2374
use CMake's OpenMP built in detection rather then defining flags ourselves.
2010-11-19 11:33:12 +00:00
Campbell Barton
8fee983619
patch from Dan Eicher to support intel C++ compiler for CMake on *nix.
2010-11-15 05:32:49 +00:00
Andrea Weikert
dcda17b3b3
== filebrowser ==
...
Bringing back missing feature: Create new directory by typing a not existing name into the directory button.
Note: Small issue still with autocomplete -> if typing the new directory directly after autocomplete, it doesn't execute the operator yet.
Also fixed some minor compile/cleanup issues with warning about signed/unsigned comparison and missing header.
2010-11-06 16:09:12 +00:00
Campbell Barton
66b274766a
minor c90 compat edits. (no functional changes).
2010-11-05 13:37:18 +00:00
Sergey Sharybin
228ed6f086
Global definition of _LARGEFILE_SOURCE, _FILE_OFFSET_BITS and _LARGEFILE64_SOURCE at linux and win32/mingw platforms
...
Needed to work properly with large files at 32bit system (display correct size in file browser, i.e.)
This will also fix compilation with zlib 1.2.5
2010-11-04 17:02:25 +00:00
Campbell Barton
dba1904f65
bugfix [ #24518 ] Blender wont compile with -Wall -Werror and COLLADA support
...
fix included in report from Martijn Berger (mberger)
made some small changes.
- use ints rather then unsigned long for printing, values are not likely to be very large.
- CMake remove strict flags from collada build dir since I had warnings in the collada headers.
- added xml2 to collada libraries else I couldnt get collada building.
2010-11-03 22:44:39 +00:00
Campbell Barton
6b677a2616
own recent commit broke this python import:
...
from mathutils.geometry import PolyFill
I couldn't find a way for python's inittab to do this so just inserting mathutils.geometry into sys.modules manually.
2010-10-31 13:17:39 +00:00
Campbell Barton
05b297c52f
CMake options to disable Decimate and Boolean Modifiers: WITH_MOD_BOOLEAN, WITH_MOD_DECIMATE, renamed WITH_FLUID to WITH_MOD_FLUID
2010-10-23 15:40:13 +00:00
Nathan Letwory
c4ad3cb5c4
Same warning suppression as with SCons
2010-10-21 07:48:51 +00:00
Nathan Letwory
db74070778
Make C4013 throw a warning
...
-> 'function' undefined; assuming extern returning int
2010-10-19 05:42:31 +00:00
Campbell Barton
799fc68234
cflags, cxxflags & linkflags in buildinfo.
2010-10-18 12:56:14 +00:00
Campbell Barton
6d0d688943
define NDEBUG for release builds so assert() is disabled.
2010-10-18 12:35:40 +00:00
Campbell Barton
58683fa993
enable DEBUG define in CMake and scons, also change booleans debug option to BOP_DEBUG, which was used inconsistently, and had to add a define for superlu.
2010-10-18 11:21:22 +00:00
Campbell Barton
c7c128f03b
remove LCMS option from cmake, this is only testing code. developers who want to work on it can uncomment.
2010-10-17 23:32:48 +00:00
Campbell Barton
952b728578
Test stricter GCC compiler settings, these warnings will now give errors.
...
- implicit function declaration.
- no return type set for a function.
- declaration after statement.
This may be too strict but in general I prefer we don't allow commits with these warnings.
Applies to cmake/gcc and scons/linux.
2010-10-17 08:04:28 +00:00
Campbell Barton
30b79ddcc6
- fixed remaining unused warnings.
...
- omit render code from this warning (cmake only), until render branch is merged.
- moved -Wunused-parameter warning to apply to all C code in blender (not just ./source/blender), (cmake only).
2010-10-17 06:38:56 +00:00
Campbell Barton
271bbf4a0d
fix for own recent unused commit that broke with OpenMP enabled.
...
also build ./source/ first with cmake since testing new changes are most likely to be made here.
2010-10-15 07:26:26 +00:00
Campbell Barton
f0fcf140f8
enable warning for unused args with gcc: -Wunused-parameter
...
- for cmake only apply this to source/blender, will apply globally later.
- ./extern/ ./source/blender/makesrna/intern/ ignore this.
2010-10-15 02:24:48 +00:00
Luca Bonavita
9f05cc59fa
== docs ==
...
- moved files in proper directories and adapted paths where needed
- deleted doc/oldbugs.txt (asked confirmation to jesterking a week ago in irc)
- still working on doxygen files, for now I'll leave them in doc/
- NOTE: while checking if other files were referring to these files, I noted that
"GPL-license.txt" is also used in the files below:
- release/windows/installer/00.sconsblender.nsi
- release/windows/specific.sh
but these files should't be affected by this commit, but please check :)
2010-10-13 14:44:22 +00:00
Campbell Barton
9347dd04a3
bugfix [ #24231 ] outliner not refreshed correctly
...
also made world changes only redraw the 3d view if 'Render Only' option is set.
2010-10-13 01:10:56 +00:00
Campbell Barton
f49fc58df6
enable building the game engine without bullet for scons & cmake
2010-10-10 07:01:56 +00:00
Nathan Letwory
fdadab1006
COLLADA exporter: split camera and light export into own files.
2010-10-06 07:13:42 +00:00
Nathan Letwory
31ff2a6da2
Enable lcms support on Windows.
2010-10-05 13:39:45 +00:00
Campbell Barton
e568ea668e
revert r32284, turns out OpenSuse needs this for forkpty(), also fixed missing import with 3ds export.
2010-10-04 11:42:39 +00:00
Campbell Barton
11acab00b0
cmake/mingw was missing defines.
2010-10-03 23:27:33 +00:00
Campbell Barton
3e3e10668e
linking libutil isnt needed on my system, possibly this is deprecated?,
...
testing this on other linux systems isnt so easy but will hear about it if this breaks.
2010-10-03 18:45:27 +00:00
Campbell Barton
19704f74b1
recent fixes for mingw + cmake broke msvc
2010-09-16 07:26:06 +00:00
Campbell Barton
9b518710c6
update for MingW/CMake
...
- ignore MSVC warnings when FREE_WINDOWS is defined to quiet warnings.
- the CMake flags were not being set correctly making blender have weirdo colors (no -funsigned-char).
2010-09-15 16:13:32 +00:00
Campbell Barton
d5ee95644d
win32 mingw works again with cmake
2010-09-15 14:36:32 +00:00
Campbell Barton
74059891e9
option to disable ITASC IK solver, (will be enabled by default ofcourse)
...
- option only available to cmake, scons and make have this enabled always.
- without this clang/llvm can compile blender
- this was the second biggest internal lib, 192mb -> 172mb for all blenders libs (with debug flags), so gives some speedup to linking.
2010-09-12 12:27:12 +00:00
Campbell Barton
2406ebe1a4
- added back zlib include (needed for win32).
...
- use list append in more places.
- remove non existing include dir.
2010-09-07 01:13:10 +00:00
Campbell Barton
04b0dcd9e5
- use list append in more places (preferred method since its faster)
...
- remove some unused include paths
- remove unused linux path define
2010-09-06 10:15:41 +00:00
Nathan Letwory
3de9aa38cd
* Don't use /ZI when 64bit building on Windows. Use /Zi instead.
...
* Copy files to ${BLENDER_VERSION} instead of .blender/
* Don't try to copy iconv.dll when 64bit building on Windows - it is static for 64bit.
2010-09-01 05:39:26 +00:00
Campbell Barton
6464718083
rename some cmake build targets
2010-08-24 04:29:23 +00:00
Campbell Barton
51c0e9b87c
cmake patch from lux-integ.
2010-08-23 01:17:14 +00:00