From: José Fonseca Date: Mon, 1 Nov 2010 14:24:08 +0000 (+0000) Subject: scons: Some pipe drivers are not portable for MSVC X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ab9ca6caa8e8b0c886317fce694460ea23bcf8b9;p=mesa.git scons: Some pipe drivers are not portable for MSVC --- diff --git a/src/gallium/SConscript b/src/gallium/SConscript index 76f9ffb58ab..1b41c39a460 100644 --- a/src/gallium/SConscript +++ b/src/gallium/SConscript @@ -14,16 +14,21 @@ SConscript([ 'drivers/failover/SConscript', 'drivers/galahad/SConscript', 'drivers/i915/SConscript', - 'drivers/i965/SConscript', 'drivers/identity/SConscript', 'drivers/llvmpipe/SConscript', 'drivers/rbug/SConscript', - 'drivers/r300/SConscript', 'drivers/softpipe/SConscript', 'drivers/svga/SConscript', 'drivers/trace/SConscript', ]) +if not env['msvc']: + # These drivers do not build on MSVC compilers + SConscript([ + 'drivers/i965/SConscript', + 'drivers/r300/SConscript', + ]) + if env['dri']: # These drivers depend on drm headers SConscript([