diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-12-03 19:51:55 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-12-03 20:46:56 +0300 |
commit | 627f27502f931c298dd42137c58be51b06a1de36 (patch) | |
tree | 8ae38b14435068c7e9c29450432cf4aac5315871 /intern/cycles | |
parent | f96fd4430a74e79ac1536f5aff8748a8721cdb8f (diff) |
Cycles: Support logging when building with SCons
Basically, title says ti all, the option is called WITH_BF_CYCLES_LOGGING
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/SConscript | 10 |
1 files changed, 10 insertions, 0 deletions
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()) |