diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-04-08 20:40:46 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-04-08 20:40:46 +0400 |
commit | 9b3b52dfd6229d5456d818e2b919acae9d6ab47b (patch) | |
tree | 32d2c028986cb56b921da16b5fffbd20ae56a49f /source/blender/editors/interface/SConscript | |
parent | 4b2072bec302c9e0b38337eebd0ba9ad9933841a (diff) |
RNA:
* Added the build system code to compile files named
editors/*/*_api.c into the makesrna preprocessing.
The reason to do this is to keep operators and API
close together, but it doesn't fit well with the build
system, especially Makefiles use an ugly hack here.
* Some fixes to pass an RNA AnyType through the API,
this will give a PointerRNA, for use in the interface
code for example.
* Added RNA wrapping of some UI template code as a test.
Diffstat (limited to 'source/blender/editors/interface/SConscript')
-rw-r--r-- | source/blender/editors/interface/SConscript | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/interface/SConscript b/source/blender/editors/interface/SConscript index 38cb876beb7..fa89cd4891c 100644 --- a/source/blender/editors/interface/SConscript +++ b/source/blender/editors/interface/SConscript @@ -3,6 +3,9 @@ Import ('env') sources = env.Glob('*.c') +for source in env.Glob('*_api.c'): + sources.remove(source) + incs = '../include ../../blenlib ../../blenfont ../../blenkernel ../../makesdna ../../imbuf' incs += ' ../../makesrna ../../windowmanager #/intern/guardedalloc #intern/bmfont' incs += ' #/extern/glew/include' |