Age | Commit message (Collapse) | Author |
|
|
|
- don't allow building if the LIBDIR is not found on mac/windows.
- by default use -O2 rather then -O3 for GCC release flags, was crashing some GCC versions and blender releases are supposed to use -O2.
|
|
|
|
__pycache__.
|
|
|
|
|
|
|
|
Recommitted eltopo collision code (but disabled by default)
with Genscher's permission.
To use, you need to install liblapack and libblas
|
|
Nothing is changed by default but some linux distributions want to have executing python be opt-in.
This keeps the same functionality but disables auto-run from factory settings and in background mode unless its enabled as a command line argument.
This CMake option is marked as advanced and wont show in the regular options list so its less likely to be enabled by people that like to turn everything ON without reading descriptions :)
|
|
- remove some warnings
- fix typos
- cmake allow in-source build (when WITH_IN_SOURCE_BUILD is defined)
- cmake, use an explicit list of rna files (don't glob)
|
|
- also fix own bad assert from yesterday & remove testing cmake print.
|
|
This fixes linking errors occurred recently for me (kinda of SDL
and registry stuff)
Now it works perfectly, thanks to Campbell for tip :)
|
|
|
|
|
|
CMAKE_CXX_STANDARD_LIBRARIES.
if not defined (first run) these are now set blank but can be defined later.
the problem is that scons & cmake builds would link against different libraries since cmake added its own defaults.
now, by default, scons & cmake have the same libraries.
This fixes an obscure crash in MinGW where cmakes default linking with -ladvapi32 would crash on string formatting which used float precision as an argument, eg:
printf("%.*f", 3, value);
...without giving a useful backtrace or pointing to the line of code doing the string formatting.
|
|
also made WITH_PYTHON advanced.
|
|
own glew library.
|
|
gives warnings with variable length args.
|
|
-Wdouble-promotion -Wno-error=double-promotion
-Wno-error=unused-but-set-variable
|
|
this way portable builds wont find scripts in /usr/share.
|
|
|
|
|
|
WITH_MOD_FLUID until there supported.
possibly allows builing with Xcode4.
|
|
from cache.
|
|
|
|
external headers cause this.
|
|
|
|
|
|
Reported by Jan Hohoho
Running the unwrap causes stack to overflow. Double the size from default 1MB.
|
|
'== "win32"' & avoid importing platform.
also add some notes to CMake options.
|
|
cmake on *nix detects python ABI flags for debug and release mode.
searches /usr /usr/local /opt/py32
|
|
give a CMake error if Python.h isn't found.
|
|
- for new shadow only enum, use humanly readable RNA enum values.
- update cmake unix example for custom python.
|
|
x86_64 (also used to select the python dynlibs that'll be bundled with the application).
Set deployment target to be 10.5 by default.
Fix broken build introduced by recent source/creator/CMakeList.txt cleanup
|
|
for building py3.2 on *nix see:
http://wiki.blender.org/index.php?title=Dev:2.5/Doc/Building_Blender/Linux/Troubleshooting#Python
also fixed possible buffer overrun with getting the fake filepath for a blender textblock.
|
|
need to run 'make install', for MSVC the 'INSTALL' target needs to be enabled in the project file
|
|
use 'install' target rather then copying files with post-build commands.
Main change is that you need to run 'make install', which copies files to ./bin by default
unless WITH_INSTALL_PORTABLE is OFF, where CMAKE_INSTALL_PREFIX is used for a typical unix-system install.
|
|
|
|
compile time option which enables extra safety checks.
since this is noticeably slower I rather not enable by default yet.
|
|
a header every build with the time, date, svn revision.
|
|
|
|
causing dependency problems.
|
|
|
|
disallow 0% rendersize.
also mark new cmake vars as advanced: RPMBUILD, X11_XF86keysym_INCLUDE_PATH
|
|
embedding python.
CMake build option WITH_PYTHON_MODULE, will build ./bin/bpy.so
This allows 'bpy' to be imported from python or other applications/IDE's which embed python, eg:
python -c "import bpy ; bpy.ops.render.render(write_still=True)"
This runs in background mode and has similar restrictions to running a script:
blender --background --python test.py
TODO:
- install to site-packages with blender scripts
- add support for imp.reload()
|
|
|
|
also set minimum cmake version to 2.8
|
|
|
|
bundle also defined.
|
|
- rename rna collection structs Main prefix to BlendData: eg, MainObjects --> BlendDataObjects
- printing python collection now prints its type (when available)
- renamed shadowed vars in bpy_rna.c.
- when making functions static I also made debugging/test functions static, reverse and add definitions to headers instead.
|