scons: Some pipe drivers are not portable for MSVC
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 1 Nov 2010 14:24:08 +0000 (14:24 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 1 Nov 2010 14:24:08 +0000 (14:24 +0000)
src/gallium/SConscript

index 76f9ffb58ab32f8726e1aa248a4399fb66fc944c..1b41c39a460e843541ad9345249ced4b8903bfe8 100644 (file)
@@ -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([