r600: Dump a few more variables when requested
[mesa.git] / meson.build
index 9184b69ea8ac9ef0479a9b08d90420fa068b667c..3623d3dc0fd403e22b05fb1b79937f73875b6d35 100644 (file)
@@ -1030,11 +1030,16 @@ if host_machine.system() == 'windows'
   if cc.get_id() == 'msvc'
     add_project_link_arguments(
       '/fixed:no',
-      '/incremental:no',
       '/dynamicbase',
       '/nxcompat',
       language : ['c', 'cpp'],
     )
+    if get_option('buildtype') != 'debug'
+      add_project_link_arguments(
+        '/incremental:no',
+        language : ['c', 'cpp'],
+      )
+    endif
   else
     add_project_link_arguments(
       '-Wl,--nxcompat',