diff options
Diffstat (limited to 'source/blender/python/CMakeLists.txt')
-rw-r--r-- | source/blender/python/CMakeLists.txt | 29 |
1 files changed, 10 insertions, 19 deletions
diff --git a/source/blender/python/CMakeLists.txt b/source/blender/python/CMakeLists.txt index 63a1e67236e..d15970e1df4 100644 --- a/source/blender/python/CMakeLists.txt +++ b/source/blender/python/CMakeLists.txt @@ -1,4 +1,3 @@ -# $Id$ # ***** BEGIN GPL LICENSE BLOCK ***** # # This program is free software; you can redistribute it and/or @@ -24,35 +23,27 @@ # # ***** END GPL LICENSE BLOCK ***** -FILE(GLOB SRC api2_2x/*.c) -SET(SRC ${SRC} - BPY_interface.c - BPY_menus.c -) +FILE(GLOB SRC intern/*.c) SET(INC - api2_2x ../blenkernel ../blenlib ../blenloader - ../render/extern/include ../radiosity/extern/include - ../makesdna ../../../intern/guardedalloc ../../../intern/bmfont ../imbuf ../include - ${PYTHON_INC} ../../../extern/glew/include ../gpu + . ../../../intern/guardedalloc ../blenlib ../makesdna ../makesrna + ../blenkernel ../editors/include ../windowmanager ${PYTHON_INC} ) +IF(WITH_OPENEXR) + ADD_DEFINITIONS(-DWITH_OPENEXR) +ENDIF(WITH_OPENEXR) + IF(WITH_QUICKTIME) SET(INC ${INC} ${QUICKTIME_INC}) ADD_DEFINITIONS(-DWITH_QUICKTIME) ENDIF(WITH_QUICKTIME) -IF(WITH_OPENEXR) - ADD_DEFINITIONS(-DWITH_OPENEXR) -ENDIF(WITH_OPENEXR) - IF(WITH_FFMPEG) + SET(INC ${INC} ${FFMPEG_INC}) ADD_DEFINITIONS(-DWITH_FFMPEG) ENDIF(WITH_FFMPEG) -IF(BF_BUILDINFO) - ADD_DEFINITIONS(-DNAN_BUILDINFO) -ENDIF(BF_BUILDINFO) +ADD_DEFINITIONS(-DWITH_CCGSUBSURF) -BLENDERLIB_NOLIST(blender_python "${SRC}" "${INC}") -#env.BlenderLib ( libname='blender_python', sources = Split(sources), includes = Split(incs), defines = defs, libtype=['core','game2'], priority = [60,115] ) +BLENDERLIB(bf_python "${SRC}" "${INC}") |