diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-04-07 04:49:39 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-04-07 04:49:39 +0400 |
commit | 767db1b71674efb599f03b5892c32d207647acd3 (patch) | |
tree | fc64129bea43fe563bc0ad1448e17405e1b04bb0 /source/blender/makesrna/intern/CMakeLists.txt | |
parent | 88ab62c03189a04f6a74b040ad269e5a901c4af1 (diff) |
RNA: Commit of the API patch by vekoon. This adds Functions to RNA,
which can be defined to call C functions with defined parameters.
* Parameters are RNA properties, with the same types.
* Parameters are stored in a ParameterList, which is like a small
stack with the values. This is then used to call the C function.
* Includes Python integration.
* Only one test function is part of this commit, ID.rename.
* Integration with the editors/ module is not included in this
commit, there's some issues to be worked out for that still.
Diffstat (limited to 'source/blender/makesrna/intern/CMakeLists.txt')
-rw-r--r-- | source/blender/makesrna/intern/CMakeLists.txt | 53 |
1 files changed, 3 insertions, 50 deletions
diff --git a/source/blender/makesrna/intern/CMakeLists.txt b/source/blender/makesrna/intern/CMakeLists.txt index 934e009eebc..ecdc2ca865c 100644 --- a/source/blender/makesrna/intern/CMakeLists.txt +++ b/source/blender/makesrna/intern/CMakeLists.txt @@ -24,55 +24,8 @@ # # ***** END GPL LICENSE BLOCK ***** -SET(DEFSRC - rna_action.c - rna_actuator.c - rna_animation.c - rna_armature.c - rna_brush.c - rna_camera.c - rna_cloth.c - rna_color.c - rna_constraint.c - rna_context.c - rna_controller.c - rna_curve.c - rna_fluidsim.c - rna_group.c - rna_ID.c - rna_image.c - rna_key.c - rna_lamp.c - rna_lattice.c - rna_main.c - rna_material.c - rna_mesh.c - rna_meta.c - rna_modifier.c - rna_nodetree.c - rna_object.c - rna_object_force.c - rna_packedfile.c - rna_particle.c - rna_pose.c - rna_property.c - rna_radio.c - rna_rna.c - rna_scene.c - rna_screen.c - rna_scriptlink.c - rna_sensor.c - rna_sequence.c - rna_sound.c - rna_space.c - rna_text.c - rna_texture.c - rna_timeline.c - rna_userdef.c - rna_vfont.c - rna_vpaint.c - rna_wm.c - rna_world.c) +FILE(GLOB DEFSRC RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.c") +LIST(REMOVE_ITEM DEFSRC rna_access.c rna_define.c makesrna.c) STRING(REGEX REPLACE "rna_([a-zA-Z0-9_-]*).c" "${CMAKE_CURRENT_BINARY_DIR}/rna_\\1_gen.c" GENSRC "${DEFSRC}") @@ -83,7 +36,7 @@ SET(SRC ../../../../intern/guardedalloc/intern/mallocn.c ../../../../intern/guardedalloc/intern/mmap_win.c) -INCLUDE_DIRECTORIES(../../../../intern/guardedalloc .. ../../makesdna ../../blenkernel ../../blenlib ../../windowmanager .) +INCLUDE_DIRECTORIES(../../../../intern/guardedalloc .. ../../makesdna ../../blenkernel ../../blenlib ../../windowmanager ../../editors .) FILE(GLOB INC_FILES ../*.h ../../makesdna/*.h) # Build makesrna executable |