Campbell Barton
13dfd82997
changes for materials to treat them as shorts not int/chars (since they are stored as shorts intermally)
...
- converting nurbs to mesh was casting the material to unsigned char.
- subsurf was casting to char, then int -> short in a loop.
- have material functions take & return shorts.
2011-09-20 06:25:15 +00:00
Campbell Barton
b2e97edc35
remove unused arg & some style edits on radish merge, also reverted odd change that somehow got in to cmake preset.
2011-09-19 16:41:29 +00:00
Brecht Van Lommel
153e4cad4b
Cycles: svn merge -r40266:40358 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-09-19 14:20:15 +00:00
Campbell Barton
08d52fcc85
added FindOpenImageIO cmake module.
2011-09-18 04:55:22 +00:00
Campbell Barton
96ada15d79
svn merge -r40197:40311 ^/trunk/blender
2011-09-18 02:35:26 +00:00
Brecht Van Lommel
f4a9215d7c
Cycles: svn merge -r39870:r40266 https://svn.blender.org/svnroot/bf-blender/trunk/blender
...
Merging the node changes required a lot of conflict resolution, fixed the
issues I could find but if you want stability you might want to wait a bit
before updating.
2011-09-17 13:28:40 +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
Campbell Barton
ac51152ec5
svn merge -r40179:40195 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-09-14 01:32:59 +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
Campbell Barton
7d02e66256
svn merge -r40000:40179 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-09-13 10:05:30 +00:00
Campbell Barton
92089e3c4d
svn merge -r39900:40000 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-09-13 09:07:20 +00:00
Campbell Barton
b310a76a1b
svn merge -r39558:39800 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-09-13 06:39:17 +00:00
Campbell Barton
297f14a1d6
fix for error linking opencollada on linux.
2011-09-12 13:58:13 +00:00
Campbell Barton
c61827ed25
patch from Uncle_Entity on IRC for fedora/collada
2011-09-08 03:57:11 +00:00
Campbell Barton
47ffe63c86
remove -Wundef for code we don't maintain & generated code.
2011-09-06 13:00:46 +00:00
Brecht Van Lommel
b56ffd2cdb
Cycles: svn merge -r39669:39870 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-09-02 12:33:29 +00:00
Brecht Van Lommel
d48e4fc92b
Cycles: fix linux build issue, link order was wrong.
2011-08-25 12:50:52 +00:00
Brecht Van Lommel
88481246f0
Cycles: small fix for last commit, don't know what's going on here
...
exactly but this solves it for now.
2011-08-24 19:31:14 +00:00
Brecht Van Lommel
dc557b7440
Cycles: linux build tweaks to allow static oiio/boost build.
...
Wiki build instructions have been updated to do static linking now:
http://wiki.blender.org/index.php/Dev:2.5/Source/Render/Cycles/Building
2011-08-24 19:21:04 +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
Brecht Van Lommel
29bdf37f9d
Cycles: svn merge -r39457:39669 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-08-24 09:44:08 +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
Brecht Van Lommel
c7fce6be2e
Cycles: svn merge -r39132:39457 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-08-16 18:59:45 +00:00
Brecht Van Lommel
360fcd73fe
Cycles:
...
* add some (disabled) test code for using OpenImageIO in imbuf
* link cycles, openimageio and boost into blender instead of a shared library
* some cmakefile changes to simplify the code and follow conventions better
* this may solve running cycles problems on windows XP, or give a different
and hopefully more useful error message
2011-08-16 16:15:34 +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
Campbell Barton
349c838996
add missing header to cmake files (else some IDE's wont index it)
2011-08-08 05:43:04 +00:00
Campbell Barton
baa37b1b46
more cmake/x11 edits
...
- added includes for spnav
- added FindSpacenav.cmake which allows using spacenav from a nonstandard path.
- remove NDOF_LIBPATH, use a full library path instead.
2011-08-02 06:32:53 +00:00
Campbell Barton
fcd7d2b486
NDOF related edits
...
- fix for building without NDOF on X11
- quiet some warnings
2011-08-02 05:52:27 +00:00
Mike Erwin
dc2609da3d
svn merge -r38814:38905 https://svn.blender.org/svnroot/bf-blender/trunk/blender .
2011-08-02 01:01:56 +00:00
Campbell Barton
f4293067c1
py api: sphinx doc corrections, pep8 cleanup and style edits, also added __all__ to some modules which were missing it.
2011-07-31 03:15:37 +00:00
Nathan Letwory
24def76ac8
svn merge -r38753:38813 https://svn.blender.org/svnroot/bf-blender/trunk/blender .
2011-07-29 07:58:03 +00:00
Campbell Barton
2658949752
pep8 cleanup, also print message when attempting to run in animation player mode.
2011-07-29 01:24:03 +00:00
Mike Erwin
6cd4716d1a
enable CMake builds with spacenav (contributed by Kevin Cozens)
2011-07-21 21:34:28 +00:00
Campbell Barton
c7532c5b81
update to cmake checker script to also check if our include paths are ok
2011-07-17 12:42:03 +00:00
Campbell Barton
2c66ab12e9
minor pep8 edits
2011-07-01 12:33:34 +00:00
Campbell Barton
c0a83d24e9
cleanup for cmake msvc build options, reference some libs directly, fix conflicting flags /Ob1 and /Zi for debug
2011-06-28 02:49:49 +00:00
Campbell Barton
4b1cceddbd
fix for building with msvc/cmake take 2 (think its correct this time)
...
also sync build flags with scons.
2011-06-26 17:18:37 +00:00
Campbell Barton
418bce9341
fix for building with MSVC release, some edits I made didnt work as I expected but still built for debug
2011-06-25 14:10:46 +00:00
Campbell Barton
be94dc10c1
split cmake check configuration out
2011-06-22 05:30:06 +00:00
Campbell Barton
eaae38551f
pep8 compliance
2011-06-21 17:17:51 +00:00
Campbell Barton
d33b63c5d8
update cmake checker to ignore file list and add some headers to the source list.
2011-06-21 17:00:34 +00:00
Campbell Barton
78ea4561a4
fix for python ABI search, was missing 'd'
2011-06-20 09:39:14 +00:00
Campbell Barton
97a85fe100
- add example for python rna property update
...
- edit the copyright for blender specific cmake find modules
2011-06-20 02:54:56 +00:00
Campbell Barton
c6eaa2300a
cmake: add find jack module
2011-06-19 15:03:50 +00:00
Campbell Barton
a8d4c1f8a9
cmake: add find jemalloc module
2011-06-19 14:55:51 +00:00
Campbell Barton
6790dbe9db
cmake: fix for recent break in msvc+collada, also dont cache duplicate python include/library variables.
2011-06-19 13:06:21 +00:00
Campbell Barton
e7c8169086
add back PYTHON_LIBPATH, needed for installing on python
2011-06-19 11:04:15 +00:00
Campbell Barton
def6bcd4e5
cmake add module for finding fftw3.
...
also allow debug blender to build with non debug python
2011-06-19 08:57:34 +00:00
Campbell Barton
167bcc2b67
cmake: add libsamplerate find module
2011-06-19 08:20:02 +00:00
Campbell Barton
b15a2b0ffc
cmake: added FindOpenJPEG module.
2011-06-19 07:46:24 +00:00
Campbell Barton
145944d66f
cmake:
...
new macro file_list_suffix() for adding a suffix to every file in a path before the file extension.
useful to create names for debug libs on windows.
2011-06-19 06:57:56 +00:00
Campbell Barton
2c68bdb03e
cmake: make python search into a find package module.
2011-06-18 15:53:47 +00:00
Campbell Barton
5e59d0c8bb
make better use of cmake builtin funcitons for finding python library/header
2011-06-18 15:15:31 +00:00
Campbell Barton
968b2a8afb
rename cmake include/libraries to conform with suggested cmake names
2011-06-18 14:12:54 +00:00
Campbell Barton
549c2c58a1
added FindSndFile cmake module to replace inline checks.
2011-06-18 12:12:19 +00:00
Campbell Barton
82216030e9
py-api: store frequently used strings as unicode PyObject's to avoid creating/distroying every time.
...
also fix for cmake warning
2011-06-18 08:45:45 +00:00
Campbell Barton
2e8ca6d196
include some extra search paths for cmake openexr
2011-06-16 02:55:26 +00:00
Campbell Barton
0575c05eb0
fix to FindOpenEXR pointed out by Sergey Sharybin,
...
also added check for IlmThread and marked individual library cache variables as advanced.
2011-06-16 02:48:07 +00:00
Campbell Barton
04c5f054d8
error in recent commit
2011-06-15 14:00:50 +00:00
Campbell Barton
c02121b708
use full library paths for openexr & msvc, also remove unneeded exr includes
2011-06-15 13:54:57 +00:00
Campbell Barton
bb6e0834e0
cmake: combine debug/optimized into one target_link_libraries() call.
2011-06-15 13:42:02 +00:00
Campbell Barton
4f3936083a
replace own inline cmake include search logic for a typical FindXXX.cmake module.
2011-06-15 12:09:02 +00:00
Campbell Barton
1243992f27
cmake: correct uninitialized vars
2011-06-14 00:24:50 +00:00
Campbell Barton
fedc811014
minor updates to the cmake checker
2011-06-13 03:09:14 +00:00
Campbell Barton
c2e1f3a1e2
fix for using system includes, the include macro wasn't un-setting the previous include list so system includes could be mixed up with non system includes.
...
Also workaround for CMake 2.8.4 & GNU-Make which doesn't set CMAKE_INCLUDE_SYSTEM_FLAG_C
2011-06-11 06:00:28 +00:00
Campbell Barton
9cf0bbb95c
added a check to console auto-compleation for pythons struct_seq type, so bpy.app and sys.float_info autocompleate their attributes rather then bring treated as a typle.
2011-06-10 09:44:27 +00:00
Campbell Barton
09da9d4393
cmake maintenance
...
blender_add_lib now takes a separate include argument to suppress warnings in system includes (mostly ffmpeg & python).
also only build wm_apple.c on apple+carbon configuration.
2011-05-31 01:15:44 +00:00
Campbell Barton
20ae95422e
include ffmpeg_compat header in cmake source list.
2011-05-28 04:53:17 +00:00
Campbell Barton
26252bb315
correct spelling error and some pep8 changes.
2011-05-26 09:33:51 +00:00
Campbell Barton
b69c1e8f1a
CMake changes
...
- 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.
2011-05-23 14:56:14 +00:00
Campbell Barton
0858904571
fix [ #27414 ] no-material renders differently in View3D vs BGE
...
when a texface layer exists this still overrides the default material.
2011-05-17 02:44:52 +00:00
Brecht Van Lommel
b434e7f933
LCMS code removed, was an experiment but never finished.
2011-05-16 13:34:42 +00:00
Campbell Barton
5cfc13a11d
fixed incorrect jemalloc library & updated netbeans project to ignore __pycache__.
2011-05-16 10:34:40 +00:00
Guillermo S. Romero
9b236a7a12
SVN maintenance.
2011-05-16 06:11:14 +00:00
Campbell Barton
0460a68ae7
made generic module for generating project files from cmake,
...
added netbeans project file generator.
2011-05-16 04:04:06 +00:00
Campbell Barton
424a0cca27
option to link with jemalloc on *nix, off by default.
2011-05-12 11:16:32 +00:00
Campbell Barton
2e3538cf24
patch from Dan Eicher for cpack rpms
2011-05-10 21:59:11 +00:00
Campbell Barton
770119d16f
patch from Dan Eicher, CPack/RPM working again
2011-05-06 23:59:15 +00:00
Campbell Barton
f0b45cc1fb
- fix for cmake when there is no version character.
...
- link to release docs correctly from the splash page.
2011-04-12 16:20:41 +00:00
Campbell Barton
a42bf45333
revert Joseph Eagar's eltopo commits r36073, 36075 (& some minor edits)
...
discussed with Janne, Ton, Nathan and we agreed this kind of change at least needs discussion with module owners.
Its also too close to release to be making these kinds of changes.
commands used:
# reverse merge
svn merge -r36073:36072 .
# for some reason this gave a lot of property changes
svn revert `svn st | grep "^ M" | awk '{print $2}'`
# reverse merging didn't work here, removing while dir.
svn rm extern/eltopo/
# manually fixed conflict in
# ./source/blenderplayer/CMakeLists.txt
#
# also manually removed 2 lines from
# ./CMakeLists.txt
2011-04-12 11:09:10 +00:00
Campbell Barton
28594bc742
minor pep8 edits, also added 'test_pep8' & 'test_cmake' to the GNUmakefile for convenience.
2011-04-10 10:45:56 +00:00
Joseph Eagar
0a60bc14d6
=cloth collisions=
...
Plugged the eltopo library into the cloth solver.
I was playing with it earlier, and it's so easy to
use I decided to quickly put it in (trunk's) cloth.
See http://www.cs.ubc.ca/labs/imager/tr/2009/eltopo/eltopo.html
. The authors are on the bleeding edge of continuous collision
detection (one of them did ILM's cloth sim).
I
don't really have to time to plug it into softbody, particles,
bullet, fluid, etc, but doing so would be pretty straightforward.
I'll leave that up to someone else.
To use, turn on USE_ELTOPO (in cmake) or WITH_BF_ELTOPO in scons.
2011-04-09 23:19:11 +00:00
Campbell Barton
5c7bed92d4
fix for cmake glew includes (tested with mingw), also made qtcreator project generator work with mingw again
2011-04-06 03:02:40 +00:00
Guillermo S. Romero
d00501dfd0
SVN maintenance.
2011-04-06 00:22:44 +00:00
Campbell Barton
ca254dd37b
add option WITH_BUILTIN_GLEW, so linux packagers can disable to use their own glew library.
2011-04-05 23:31:01 +00:00
Campbell Barton
162d02bf50
quiet warning & minor pep8 edits.
2011-04-04 22:42:43 +00:00
Campbell Barton
744a3b9cb2
fix cmake for when BLENDER_VERSION_CHAR is not set.
2011-04-03 07:48:33 +00:00
Campbell Barton
c8652b301f
pep8 checker, mostly pedantic style changes but also found an error in mesh_utils.mesh_linked_faces()
2011-04-01 02:41:15 +00:00
Campbell Barton
aa2269e065
remove DEBUG flag from OpenNL with cmake, was giving too many prints in the console when unwrapping.
2011-03-29 11:50:37 +00:00
Campbell Barton
50a06eccff
pep8 cleanup
2011-03-27 05:23:14 +00:00
Campbell Barton
f08a227f93
include gcc builtin defines in qtcreator project file (__VERSION__, __x86_64__, __linux__ etc)
2011-03-25 12:42:33 +00:00
Campbell Barton
19819dcbc7
write project files into the build dir.
2011-03-24 10:54:42 +00:00
M.G. Kishalmi
0c9488b2f3
the script is now creating 2 project files:
...
Blender.creator
Blender_Python.creator
.glsl files have been added to the former
latter contains everything .py
2011-03-24 08:33:42 +00:00
Campbell Barton
c210b3991a
support for blender as a module on win32.
2011-03-24 00:14:49 +00:00
Brecht Van Lommel
f0d7fbc4b7
CMake package_archive target to create a .zip/.tar.bz2 package on mac/unix,
...
to be used by buildbot.
2011-03-21 16:42:21 +00:00
Brecht Van Lommel
bcee2343ea
Mac OS X cmake changes and bundle fixes
...
For cmake users, you should now use "make install" instead of "make". This was
already changed for Linux and Windows. Same for Xcode, use the install target.
Changes:
* CMake install mechanism, resulting bundle was verified to be indentical here.
* For cmake, include Info.plist in bundle using builtin mechanism for that.
There was some code in packaging.cmake, but it wasn't correct as these
properties need to be set on the executable.
* For scons, fix app bundle version, was still using removed release/VERSION.
* Remove unused blendercreator.app and blenderpublisher.app.
* Fix Info.plist being set as a binary file in svn, should be plain text.
2011-03-16 15:44:17 +00:00
Campbell Barton
82783cd0cd
pep8 edits and remove commented code from last commit.
2011-03-14 23:17:52 +00:00
Campbell Barton
60fe23b100
cmake, search $HOME/py32 for python now too.
2011-03-12 04:39:43 +00:00
Campbell Barton
f3a455fd22
CMake should find python now without manual options being set on linux.
...
cmake on *nix detects python ABI flags for debug and release mode.
searches /usr /usr/local /opt/py32
2011-03-10 00:25:35 +00:00
Campbell Barton
e7bf671e25
se BLI_snprintf() for msvc compat, cleanup CMake file, some bad comments left in.
...
also on only try build RPM's on linux.
2011-03-07 03:57:04 +00:00
Campbell Barton
3326c0ca75
fix for invalid empty string check in uniquename callback.
2011-03-03 17:23:59 +00:00
Campbell Barton
aec6020376
added support for windows/mingw
2011-03-03 15:38:29 +00:00
Campbell Barton
c7dc8ddf7d
fix error in qtcreator project file arg checking and check for cmake files.
2011-03-03 11:22:54 +00:00
Campbell Barton
fa42cf671a
git users complain this breaks for them
2011-02-28 19:48:56 +00:00
Campbell Barton
f73c993b16
- use Py_CLEAR for python internally referencing other PyObjects (supposed to be safer).
...
- detect includes for qtcreator projects as well as the ones from cmake (it didnt return all of the right paths).
2011-02-27 04:01:58 +00:00
Campbell Barton
61235fcc8a
fix for 'live edit', running python scripts as you type
...
- errors would jump to the line which gets in the way.
- the window wouldn't always redraw.
2011-02-26 15:30:38 +00:00
Campbell Barton
34abccc0ab
qtcreator project generator now includes defines and correct include paths.
2011-02-26 11:18:36 +00:00
Campbell Barton
6a25ecb799
recent changes to svn broke rpm builder, also include rpm version info
2011-02-26 06:27:54 +00:00
Campbell Barton
e06eea4fba
fix for scons with recent change to how BINRELOC is enabled via cmake.
...
also add WITH_PYTHON define to qtcreator project generator until we get a way to add them properly.
2011-02-25 14:45:45 +00:00
Guillermo S. Romero
5005853d40
Fix buildinfo, as pointed by IRIE Shinsuke.
...
Added a note about doubtful "copy if different".
2011-02-25 06:03:01 +00:00
Guillermo S. Romero
aa9c91f01a
Make buildinfo not fail with git-svn as suggested by Nicholas Bishop.
...
Improve formating and comments a bit.
2011-02-25 04:02:58 +00:00
Guillermo S. Romero
4b4281f2e2
SVN maintenance.
2011-02-25 00:02:08 +00:00
Campbell Barton
b8e3f4ee30
fix for cmake not having the correct svn revision in buildinfo, now generate a header every build with the time, date, svn revision.
2011-02-24 17:57:35 +00:00
Campbell Barton
12e4c52c5a
cmake was using dna source list with the variable out of scope, possibly causing dependency problems.
2011-02-22 06:23:07 +00:00
Campbell Barton
72d5d692ea
better macro for getting the blender version from BKE_blender.h, also re-run CMake if BKE_blender.h changes.
2011-02-21 08:31:00 +00:00
Campbell Barton
ff84ad3151
fix for cmake with last commit.
2011-02-21 05:28:22 +00:00
Campbell Barton
7809d7d0c8
fix [ #26152 ] Blender File for Image too Small
...
disallow 0% rendersize.
also mark new cmake vars as advanced: RPMBUILD, X11_XF86keysym_INCLUDE_PATH
2011-02-21 01:02:30 +00:00
Campbell Barton
c30149991c
Experimental option to build blender as a python module, rather then blender 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()
2011-02-20 23:39:29 +00:00
Campbell Barton
0927ad8f4c
CMake: remove workaround for cmake 2.8.3 problem testing -Werror=strict-prototypes flag (now 2.8.4 is out).
...
This is harmless, CMake 2.8.3 just wont build with -Werror=strict-prototypes which is nice for picky devs.
2011-02-17 11:38:02 +00:00
Campbell Barton
812f238494
pep8 cleanup and remove unused vars/imports
2011-02-17 04:35:41 +00:00
Campbell Barton
fee5363912
bugfix [ #26094 ] Going to Bone Roll menu brings up python error
...
also correct for pep8 warnings.
2011-02-16 02:25:03 +00:00
Campbell Barton
c461a7ea4d
patch from IRIE Shinsuke, use systems openjpeg on *nix.
2011-02-15 19:04:51 +00:00
Campbell Barton
52c08fa4d3
CPack packaging support from Dan Eicher, tested to build redhat RPM's, a Mac bundle also defined.
2011-02-15 18:33:05 +00:00
Campbell Barton
736a7b7a22
pep8 cleanup
2011-02-04 09:27:25 +00:00
Campbell Barton
7a23193811
cmake attempted fix before didnt work (I cant test on OSX), this should fix.
2011-01-26 07:34:17 +00:00
Campbell Barton
fb08dc11e3
missed this when updating cmake files
2011-01-26 04:48:37 +00:00
Campbell Barton
1bd0db59f4
use cmake defined names for jpeg, png, zlib and python libs, building on *nix with non-standard libjpeg/png/zlib locations was broken.
...
in the case of python this makes it easier to move to find_package(PythonLibs) when 3.x is supported.
2011-01-25 14:43:13 +00:00
Campbell Barton
da2b490198
cmake maintenance, was missing 2 headers and made some minor improvements to cmake_consistency_check.py.
...
also converted GHOST_SystemWin32.cpp to utf8.
2011-01-25 08:35:10 +00:00
Campbell Barton
f6d54bd1ee
correction to own cmake error checking script.
2011-01-21 11:52:56 +00:00
Campbell Barton
5e382eb8e5
rename blenderlib to blender_add_lib
2010-12-22 23:09:30 +00:00
Guillermo S. Romero
29799bf09c
Compact -I paths in makefiles for more readble files/output.
...
Also some white space cleaning and removal of redundant parameter.
2010-12-22 22:15:20 +00:00
Campbell Barton
7006491451
bugfix [ #24469 ] Cannot add keyframes on custom properties in IDPropertyGroups
2010-12-21 11:40:12 +00:00
Campbell Barton
9d289c602d
better make_quiet.sh filter with threaded builds.
2010-12-21 04:55:46 +00:00
Campbell Barton
0d9ead00f8
fix for cmake flag detection, was not caching the resulting variable so the test ran each time.
...
also cache SSE, SSE2 checks.
2010-12-21 03:32:51 +00:00
Campbell Barton
71202e26ff
simple make wrapper to give quiet output. (more like nan-makefiles)
2010-12-20 11:21:29 +00:00
Campbell Barton
6afe713d57
script to generate qtcreator project files, advantage is they include all source which is nicer for refactoring.
2010-12-16 21:32:56 +00:00
Campbell Barton
b978bf39e3
fix for error in testing C/C++ flags
2010-12-16 17:54:00 +00:00
Campbell Barton
566bda734a
last commit to fix warnings didnt set them at all, not it works as it should.
...
also made cmakes output a lot quieter, messages can be uncommented for debugging or added back if other devs need this for some reason.
2010-12-16 12:48:30 +00:00
Campbell Barton
ed4e7271f1
CMake now tests warnings are supported, GCC 4.0 wasn't working because of unsupported warnings.
...
this can work for other compilers too, currently intel and gcc use this.
2010-12-16 09:55:35 +00:00
Campbell Barton
acd7b81c2d
bugfix [ #25230 ] Quick extrude Ctrl-LMB : wrong behaviour of 'RotateSource' option.
...
Problem is is with operator redo which click-extrude exposed.
Check if redo operator can run, otherwise lock the UI and add a label that the operator doesn't support redo.
This is clunky but IMHO better then failing silently and leaving the user confused.
- Merged redo functions into ED_undo_operator_repeat(), code was duplicated in a few places.
- added WM_operator_repeat_check to check if WM_operator_repeat() can run, avoids an undo call when redo work.
Unrelated changes
- GHOST_SystemWin32.cpp set to utf8 encoding.
- cmake_consistency_check.py now checks source files are utf8.
2010-12-15 04:06:19 +00:00
Campbell Barton
996bc87793
update for changes in cmake files.
2010-12-14 08:35:56 +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
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
Guillermo S. Romero
7286b7a7ca
SVN maintenance.
2010-11-29 17:09:33 +00:00
Campbell Barton
e8397e6193
include headers in cmake source, added a script to check for consistency, reporting missing headers & C files.
...
this is important so IDE's using CMake integration always get blender headers. - QtCreator & MSVC for eg, probably others too.
2010-11-29 04:35:56 +00:00
Campbell Barton
94e17ff01e
fix for cmake if build flags are not defined.
2010-11-22 23:06:57 +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
741d5a6c06
fix for CMake file grouping with MSVC project files.
2010-11-08 06:31:45 +00:00
Campbell Barton
36b8ebceb5
added back include file globbing for cmake, thought this was needed for MSVC only but turns out QtCreator also needs this else it wont index headers.
2010-11-05 04:18:53 +00:00
Campbell Barton
c7ff23cc34
Added CMake macro REMOVE_STRICT_FLAGS(), this means developers can build with -Werror in their CMAKE_C_FLAGS_DEBUG (so all warnings give errors).
...
but external libs which we don't maintain & generated code will have -Werror removed.
This is GCC only, MSVC can be added easily.
2010-10-24 03:57:07 +00:00
Campbell Barton
f4415ce84a
- CMake now only uses SOURCE_GROUP with MSVC lib configuration, saves recursive header search when not using msvc.
...
- uv layout export wasn't setting the default filename.
2010-10-23 04:18:53 +00:00
Nathan Letwory
31ff2a6da2
Enable lcms support on Windows.
2010-10-05 13:39:45 +00:00
Campbell Barton
115b256738
ran through pep8 checker
2010-09-07 15:17:42 +00:00
Campbell Barton
70e99a3476
make quicky wrapper for cmake.
...
works like scons where using a subset of the targets name is enough.
make_quicky.py py
...expands into
make bf_python bf_python_ext blender/fast
arguments like -j4 are passed on.
2010-08-24 05:24:37 +00:00
Campbell Barton
e588e8e741
bugfix [ #23257 ] cmake tests for SSE, but SSE2 gets enabled
...
patch from Vinay Pawar, some minor changes by me.
2010-08-11 08:23:48 +00:00
Campbell Barton
957976882d
build options to disable image formats WITH_CINEON, WITH_HDR.
...
- updated cmake, make & scons.
- renamed CMake build options WITH_TIFF -> WITH_IMAGE_TIFF, same for DDS, OPENJPEG etc.
2010-08-03 11:25:34 +00:00
Campbell Barton
7bd687ea58
cmake
...
- more strict warnings for gcc/unix, still <50 for a clean build.
- install files to /usr/local/share/blender/2.53 rather then /usr/local/share/blender/.blender
2010-08-02 16:23:58 +00:00
Guillermo S. Romero
2f96ac8b9f
SVN maintenance.
2010-07-15 20:30:31 +00:00
Campbell Barton
7fc9eee08a
- updated man page from --help output.
...
- cmake now installs the man page.
- added cmake_linux_install.sh, shell script which downloads and builds blender.
2010-07-15 19:58:23 +00:00
Campbell Barton
1bb789956d
CMake patch from Ralf Hölzemer (cheleb)
...
[#22849 ] Fix cmake install target on linux
--- from the tracker ---
This patch fixes the install target for the linux platform. Since the new configuration path changes are in effect, files have to be installed in the correct places instead of just copying the local installation to $PREFIX/share/blender.
It also provides a new macro to determine the correct blender version values.
Changes in this patch include:
- the .desktop menu file is installed in $PREFIX/share/applications and points to the svg icon instead of a png one, which is also installed in $PREFIX/share/pixmaps
- docs are installed in $PREFIX/share/doc/blender
- scripts are installed in in $PREFIX/share/blender/x.xx/
- locales are installed in in $PREFIX/share/blender/x.xx/datafiles
- a new cmake macro determines and sets the correct values for BLENDER_VERSION_MAJOR, BLENDER_VERSION_MINOR, BLENDER_SUBVERSION, BLENDER_VERSION, BLENDER_MINVERSION_MAJOR, BLENDER_MINVERSION_MINOR, BLENDER_MINSUBVERSION and BLENDER_MINVERSION by parsing source/blender/blenkernel/BKE_blender.h and calculating major/minor values. This replaces the hardcoded value in the top CMakeLists file and is used by all platforms.
2010-07-14 20:26:46 +00:00
Campbell Barton
d80d6e2812
re-arrange build files so scons "config" dir isnt confused with ~/.blender/2.52/config
2010-07-12 18:26:35 +00:00