Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2013-12-08 13:03:17 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2013-12-08 13:03:17 +0400
commit46f8dba4c783fe5d174bd47a70710f9d7f0aeb07 (patch)
tree7998b9664bb00612501243ca20c0c9ddc7b5a0e9 /source/blender/python/intern/CMakeLists.txt
parent55416f435ab9043df13b23e3e5244003d05d69bf (diff)
Extend system-info with information about OIIO, OCIO and OSL
Summary: Version of those libraries might be useful to know. - OIIO and OCIO is exposed via bpy.app.oiio and bpy.app.ocio. There're "supported", "version" and "version_string" defined in those modules. - OSL is available as _cycles.osl_version and _cycles.osl_version_string. Reviewers: campbellbarton Reviewed By: campbellbarton CC: dingto Differential Revision: http://developer.blender.org/D79
Diffstat (limited to 'source/blender/python/intern/CMakeLists.txt')
-rw-r--r--source/blender/python/intern/CMakeLists.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/blender/python/intern/CMakeLists.txt b/source/blender/python/intern/CMakeLists.txt
index ef5d26dccdc..0605f408348 100644
--- a/source/blender/python/intern/CMakeLists.txt
+++ b/source/blender/python/intern/CMakeLists.txt
@@ -35,6 +35,7 @@ set(INC
../../makesrna
../../windowmanager
../../../../intern/cycles/blender
+ ../../../../intern/opencolorio
../../../../intern/guardedalloc
)
@@ -49,6 +50,8 @@ set(SRC
bpy_app_ffmpeg.c
bpy_app_build_options.c
bpy_app_handlers.c
+ bpy_app_ocio.c
+ bpy_app_oiio.c
bpy_app_translations.c
bpy_driver.c
bpy_interface.c
@@ -73,6 +76,8 @@ set(SRC
bpy_app_ffmpeg.h
bpy_app_build_options.h
bpy_app_handlers.h
+ bpy_app_ocio.h
+ bpy_app_oiio.h
bpy_app_translations.h
bpy_driver.h
bpy_intern_string.h
@@ -242,6 +247,13 @@ if(WITH_OPENCOLORIO)
add_definitions(-DWITH_OCIO)
endif()
+if(WITH_OPENIMAGEIO)
+ add_definitions(-DWITH_OPENIMAGEIO)
+ list(APPEND INC
+ ../../imbuf/intern/oiio
+ )
+endif()
+
if(WITH_PLAYER)
add_definitions(-DWITH_PLAYER)
endif()