Commit Graph

1289 Commits

Author SHA1 Message Date
Campbell Barton 58c5fd7066 Added WITH_PYTHON as a cmake option 2008-12-31 05:20:35 +00:00
Nicholas Bishop d1e836f75c Finally got CMake compilation to work.
Made sdna and srna work more like how the scons build system is doing it, with separate bf_rna and bf_dna libs being built.
2008-12-31 04:47:01 +00:00
Benoit Bolsee 04ef5be177 FFmpeg upgrade to revision 12758 (avformat version 52.13): support libavdevice for video capture in VideoTexture module (BGE). Makefile, CMake, scons updated. FFmpeg binaries will have to be rebuilt for certain OS (irix), win32 binaries already up to date. You MUST do a clean rebuild after this patch. Scons users: pay attention that the config/<os>-config.py files have changed, adapt your user-config.py in consequence 2008-12-17 20:52:39 +00:00
Enrico Fracasso 719e30f70a Disable completely OpenAL if WITH_OPENAL is OFF 2008-11-02 15:16:17 +00:00
Kent Mein 705a248c75 Updated cmake so it has the option to use WITH_DDS
Kent
2008-10-28 18:33:34 +00:00
Enrico Fracasso d8758e32a0 WebPlugin
fix:
* web plugin works on opera too

sandboxing:
* added AppArmor configuration
* enabled privilege separation for the web plugin: the blender player can run as a lower privileged user, xauth token is generated on the fly .

testing:
* web plugin tested on ubuntu 32/64bit, fedora and FreeBSD

Changed only cmake build script: AppArmor is enabled by default, if you want to enable privilege separation instead, you have to change the cmake variable WEBPLUGIN_SANDBOX_MODE to privsep (or none to 
disable it).

Warning: source/gameengine/GamePlayer/xembed/blenderplayer-wrapper.c must be setuid root in order to change user successfully
2008-10-07 17:13:35 +00:00
Daniel Genrich 70e6241c9b Do not include manifest file for x64 + Windows, was creating errors on other system 2008-09-29 18:10:42 +00:00
Benoit Bolsee f305bb22b7 Patch 17508: Blender Web Plugin - XEmbed. Enable XEmbed integration of blenderplayer, using -i as input parameter to pass embedder window id. create a minimal web plugin to embed blenderplayer on web pages (using gecko/mozilla as browser). Only for *nix. 2008-09-09 21:15:30 +00:00
Daniel Genrich 9818b8a95c Fix for win64 building (gettextlib had wrong name) 2008-08-31 01:57:53 +00:00
Campbell Barton 1ffede8872 SCA_PythonController.cpp - Made errors in python print the controller name, useful when blender crashes on printing the python error which happens frequently.
buttons_logic.c - NULL checks for game logic buttons, linking in groups with some logic links to objects outsude the group could crash blender. There are NULL checks for this case elsewhere so I assume it should be supported.
CMakeLists.txt - remove YESIAMSTUPID option, is not used anymore.
2008-08-16 00:06:51 +00:00
Chris Want 5539d57b1a Fixed a warning due to a change in policy between cmake 2.4 and
cmake 2.6. (Other warnings still exist, but are harder to fix.)
2008-08-06 19:47:52 +00:00
Daniel Genrich 8a19adeb58 Win64 fix: if you disable enough things in CMakeList.txt blender compiles on win64 now using cmake --> *BUT* it doesn't say anything about if it works with MEM>4GB (that's next thing to explore!) 2008-07-13 18:29:07 +00:00
Nathan Letwory be303d0f8e * add MSVC9 check for lib_vs2008. (CMake users, please verify. Provided by zebulon). 2008-05-01 18:20:00 +00:00
Brecht Van Lommel 3fcc7095e8 Fix for bug #9687: crash with FSA when compiling with openexr support.
FSA requires exr, so I've disabled the buttons too in that case. I also
noticed CMake doesn't enable openexr by default, but a lot of the render
code relies on it, so I've enabled it by default now.
2008-04-28 12:14:30 +00:00
Andrea Weikert 003b7cc1fe == cmake win32 ==
- fixed CMAKE files for Win32 for new ffmpeg libs
- ignore libc in debug build. 
TODO: debug build with OpenEXR still fails with unresolved externals due to /MTd flag.
2008-04-24 19:18:46 +00:00
Chris Want 5d0a207ecb Patch from GSR that a) fixes a whole bunch of GPL/BL license
blocks that were previously missed; and b) greatly increase my
ohloh stats!
2008-04-16 22:40:48 +00:00
Daniel Genrich 7a7a52226f makes bullet independant from gameengine for cmake, introduces esc-key during sim, disables collisions when no bullet there 2008-01-29 23:13:31 +00:00
Daniel Genrich 77685023ca Initial commit of cloth modifier from branch rev 13453 2008-01-29 21:01:12 +00:00
Chris Want 659316e4f4 Fixes for CMake. 2008-01-22 05:34:53 +00:00
Kent Mein 320ac3f0e2 Fixing makefiles for binreloc I made it use flags like other
things default on for linux.  ideasman helped me get scons working.
Cmake still needs some love...

Kent
2008-01-18 21:39:47 +00:00
Matt Ebb 96935a6c5d Reverting mistaken CMakeLists.txt commit, woops! 2007-12-29 05:29:08 +00:00
Matt Ebb 02b00e2fd7 * Displacement map baking
This is an extension on the work Brecht already did to implement normal map baking. I've updated the release notes page here with info and pics:

http://www.blender.org/development/current-projects/changes-since-244/render-baking/
2007-12-29 05:16:00 +00:00
Kent Mein 9c33c9522f Tweak for MSVC2005 people:
http://www.blender.org/forum/viewtopic.php?t=12408

Kent
2007-11-05 16:46:48 +00:00
Chris Want 0de1b7c651 Change by Martin Capitanio to find Freetype2 on gentoo 2007-06-18 20:02:18 +00:00
Chris Want 70a72d4133 Test commit: Changes to CMake for Python 2.5 under windows
from Eugene.
2007-05-15 21:24:19 +00:00
Chris Want 2cd4fca2ef I need to use the 64-bit Linux blender, but I don't want to accidentally
commit creator.c, so if this file is compiled and the macro YESIAMSTUPID
is defined, the executable will run, with a mean warning printed to stdout.
Enable in cmake by setting YESIAMSTUPID to On, or with make by putting
"export NAN_YESIAMSTUPID=true" in user-def.mk.
2007-01-23 20:08:23 +00:00
Chris Want 0092c55595 Added IlmThread to the list of OpenEXR libs for WIN32 by request of
Eugene Riley. Untested, and I hope the capitalization is correct
-- please test!
2007-01-04 01:56:31 +00:00
Chris Want 26a7d5fe6b The OpenEXR include path needed to be a bit more elaborate... oddly
cmake always says OPENEXR_INC not found despite the fact that I have
the headers and it finds them correctly during building.

<digression>
There seems to be some conflict between setting, configuring as an
option, and autofinding files for some of the dependencies, and I don't
know how to resolve this.
</digression>
2006-12-18 01:22:38 +00:00
Chris Want f0adb2cd40 Make 'WITH_OPENAL' a configurable option. This is mostly cosmetic
because it gets set to one value or another on most platforms.
On windows, only link to DirectX if WITH_OPENAL is set to ON
(it isn't needed otherwise). This OpenAL stuff is pretty confusing!
2006-12-13 18:31:54 +00:00
Jacques Beuarain 16b51f5097 CMake: Give error on attempts to generate within the sources with
instructions on how to do it out-of-source
2006-12-13 02:57:57 +00:00
Jacques Beuarain 25172166d8 CMake: Remove odbc32 odbccp32 libs from Windows linking, these came from the SCons configs and are apparently not needed. They cause problems on VS Express C++ builds. 2006-12-10 12:12:05 +00:00
Jacques Beuarain bd1fe441d4 CMake: Move genrated dna.c and cmake_blender_libs.txt to binary directories to keep source dir pristine. Also flag removed libraries as status and not "error" messages. 2006-12-07 00:18:57 +00:00
Jacques Beuarain cad803951a CMake: Provide better control over Python versions and library locations for both Mac and Unix and add to documentation 2006-12-06 08:52:43 +00:00
Jacques Beuarain 01ab6d6f75 CMake: Detect PPC compilation on Mac OSX and use correct libs. Also add OpenEXR thread lib because it may be needed on Intel compiles for people not using the libs in CVS. 2006-11-30 11:59:59 +00:00
Erwin Coumans 2e4e4b4943 CMake enabled game engine+Bullet 2.x. tested only on Mac OS X. 2006-11-21 06:39:19 +00:00
Erwin Coumans 4bbbabd049 Step 1 of Bullet 2.x upgrade:
Temporarily disabled game engine for CMake

CMake for all platform, scons for Darwin, Linux, BSD3, SunOS5, Win32, and Makefiles should not compile game engine right now.
MSVC needs still disabling of game engine.
2006-11-21 00:17:11 +00:00
Jacques Beuarain b861f9b9a6 CMake: Turn special features off by default to increase the compile
out-of-the-box chances for most devs.
2006-11-19 14:30:31 +00:00
Jacques Beuarain 6e4b94ff51 CMake: Prepare for ffmpeg introduction in CMake system (CMake and Windows). Also fix release with debug info builds for MS builds. 2006-11-18 02:44:43 +00:00
Jacques Beuarain 24f4440d05 CMake lists initial submission. Documentationand further verification for different platforms will follow soon. This was just tested against current CVS on MSVC 2005 with Verse, QuickTime, OpenEXR, Player all on. 2006-11-17 02:27:12 +00:00