rename blenderlib to blender_add_lib
[blender.git] / source / blender / python / generic / CMakeLists.txt
index b698545..aef2438 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
-SET(INC 
+set(INC 
        .
        ../../blenlib
        ../../makesdna
        ../../blenkernel
-       ../../editors/include
        ../../../../intern/guardedalloc
        ../../../../extern/glew/include
        ${PYTHON_INC}
 )
 
-BLENDERLIB(bf_gen_python "${SRC}" "${INC}")
+set(SRC
+       IDProp.c
+       bgl.c
+       blf_py_api.c
+       bpy_internal_import.c
+       mathutils.c
+       mathutils_color.c
+       mathutils_euler.c
+       mathutils_geometry.c
+       mathutils_matrix.c
+       mathutils_quat.c
+       mathutils_vector.c
+       noise.c
+       py_capi_utils.c
+
+       IDProp.h
+       bgl.h
+       blf_py_api.h
+       bpy_internal_import.h
+       mathutils.h
+       mathutils_color.h
+       mathutils_euler.h
+       mathutils_geometry.h
+       mathutils_matrix.h
+       mathutils_quat.h
+       mathutils_vector.h
+       py_capi_utils.h
+)
+
+blender_add_lib(bf_python_ext "${SRC}" "${INC}")