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:
authorMartin Poirier <theeth@yahoo.com>2009-05-17 20:19:13 +0400
committerMartin Poirier <theeth@yahoo.com>2009-05-17 20:19:13 +0400
commit7eeb8ac01cea69fc8dbf3e4a58179b1026fc6198 (patch)
treebb1fda3f9be548369ebaa8742ba0129080257bb8 /tools/Blender.py
parent351086dbb83fa42d393a8a4f64287c2b90e23d97 (diff)
Color proofing support with lcms (http://www.littlecms.com/).
Enable with WITH_LCMS (options have been added for scons). lcms is very common on linux package managers, so no need to add in extern (IMHO). Libs for windows can be added to /lib Code is mostly a proof of concept with hardcoded path for icc profile (taken from the lcms test suite). Adding this now to svn so it doesn't rot on my hard drive. People interested in pushing it forward should feel free to dig in the code or poke me about it.
Diffstat (limited to 'tools/Blender.py')
-rw-r--r--tools/Blender.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/Blender.py b/tools/Blender.py
index 6ffc0b8d76d..ce5570ebd45 100644
--- a/tools/Blender.py
+++ b/tools/Blender.py
@@ -188,6 +188,9 @@ def setup_syslibs(lenv):
syslibs += Split(lenv['BF_OPENGL_LIB'])
if lenv['OURPLATFORM'] in ('win32-vc', 'win32-mingw','linuxcross', 'win64-vc'):
syslibs += Split(lenv['BF_PTHREADS_LIB'])
+ if lenv['WITH_BF_LCMS']:
+ syslibs.append(lenv['BF_LCMS_LIB'])
+
syslibs += lenv['LLIBS']