diff options
Diffstat (limited to 'source/blender/python/generic/CMakeLists.txt')
-rw-r--r-- | source/blender/python/generic/CMakeLists.txt | 38 |
1 files changed, 32 insertions, 6 deletions
diff --git a/source/blender/python/generic/CMakeLists.txt b/source/blender/python/generic/CMakeLists.txt index 1a91abfbec8..58d69db4a0e 100644 --- a/source/blender/python/generic/CMakeLists.txt +++ b/source/blender/python/generic/CMakeLists.txt @@ -18,17 +18,43 @@ # # ***** END GPL LICENSE BLOCK ***** -FILE(GLOB SRC *.c) - -SET(INC +set(INC . ../../blenlib ../../makesdna ../../blenkernel - ../../editors/include ../../../../intern/guardedalloc ../../../../extern/glew/include - ${PYTHON_INC} + ${PYTHON_INCLUDE_DIRS} +) + +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 ) -BLENDERLIB(bf_python_ext "${SRC}" "${INC}") +blender_add_lib(bf_python_ext "${SRC}" "${INC}") |