From 46f8dba4c783fe5d174bd47a70710f9d7f0aeb07 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Sun, 8 Dec 2013 15:03:17 +0600 Subject: 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 --- source/blender/python/intern/CMakeLists.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'source/blender/python/intern/CMakeLists.txt') 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() -- cgit v1.2.3