[Bf-committers] Make Quicky (for CMake)

Campbell Barton ideasman42 at gmail.com
Wed Aug 25 02:13:20 CEST 2010


One of the things missing from cmake is that make and scons can be
configured to do partial rebuilds (also stopping Ton from switching to
CMake!).

I looked into this for cmake and you can do this too but it works a
bit differently.

You can make a build target like this...
 make bf_kernel

But this doesn't re-link the blender executable so its not that useful.

You need to do...
 make blender/fast bf_kernel

This does a fast rebuild without checking for changes elsewhere but
its a big cumbersome. So I wrote a python script which scans the
Makefile for targets and runs make.

Its in SVN - ./build_files/cmake/example_scripts/make_quicky.py

I made an alias for quicker access
 mk='../blender/build_files/cmake/example_scripts/make_quicky.py'

Added a section to this wiki page.
 http://wiki.blender.org/index.php/User:Ideasman42/CMakeQTCreatorLinux#Partial_Rebuilds

-- 
- Campbell


More information about the Bf-committers mailing list