aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/vs2010backend.py
diff options
context:
space:
mode:
authorGustavoLCR <gugulcr@gmail.com>2020-05-03 20:21:20 -0300
committerGitHub <noreply@github.com>2020-05-04 02:21:20 +0300
commit27bbf37cf016d138c287278272a058950f15e7db (patch)
tree3dd16126e7dcb7e735343c21d327493be90142db /mesonbuild/backend/vs2010backend.py
parent9a6e79dc6887890ffa6f7198032788caa065a959 (diff)
downloadmeson-27bbf37cf016d138c287278272a058950f15e7db.zip
meson-27bbf37cf016d138c287278272a058950f15e7db.tar.gz
meson-27bbf37cf016d138c287278272a058950f15e7db.tar.bz2
Fix incremental debug builds in VS
Diffstat (limited to 'mesonbuild/backend/vs2010backend.py')
-rw-r--r--mesonbuild/backend/vs2010backend.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/backend/vs2010backend.py b/mesonbuild/backend/vs2010backend.py
index 80ff910..b5803bf 100644
--- a/mesonbuild/backend/vs2010backend.py
+++ b/mesonbuild/backend/vs2010backend.py
@@ -1192,7 +1192,8 @@ class Vs2010Backend(backends.Backend):
# /nologo
ET.SubElement(link, 'SuppressStartupBanner').text = 'true'
# /release
- ET.SubElement(link, 'SetChecksum').text = 'true'
+ if not self.environment.coredata.get_builtin_option('debug'):
+ ET.SubElement(link, 'SetChecksum').text = 'true'
meson_file_group = ET.SubElement(root, 'ItemGroup')
ET.SubElement(meson_file_group, 'None', Include=os.path.join(proj_to_src_dir, build_filename))