From 627f27502f931c298dd42137c58be51b06a1de36 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Wed, 3 Dec 2014 21:51:55 +0500 Subject: Cycles: Support logging when building with SCons Basically, title says ti all, the option is called WITH_BF_CYCLES_LOGGING --- intern/cycles/SConscript | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'intern/cycles') diff --git a/intern/cycles/SConscript b/intern/cycles/SConscript index 0d35ebfbc11..15a02881ec2 100644 --- a/intern/cycles/SConscript +++ b/intern/cycles/SConscript @@ -62,6 +62,16 @@ if env['WITH_BF_CYCLES_OSL']: if env['WITH_BF_CYCLES_DEBUG']: defs.append('WITH_CYCLES_DEBUG') +if env['WITH_BF_CYCLES_LOGGING']: + defs.append('WITH_CYCLES_LOGGING') + defs.append('GOOGLE_GLOG_DLL_DECL=') + if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'): + incs.append('#extern/libmv/third_party/glog/src/windows') + incs.append('#extern/libmv/third_party/gflags') + else: + incs.append('#extern/libmv/third_party/glog/src') + incs.append('#extern/libmv/third_party/gflags') + incs.extend('. bvh render device kernel kernel/osl kernel/svm util subd'.split()) incs.extend('#intern/guardedalloc #source/blender/makesrna #source/blender/makesdna #source/blender/blenlib'.split()) incs.extend('#source/blender/blenloader ../../source/blender/makesrna/intern'.split()) -- cgit v1.2.3