Add debug CRT to WiX installer when building Debug configuration

This commit is contained in:
Andrew Nelless 2017-02-08 17:25:55 +00:00
parent 39e0974f71
commit 31680ee252
1 changed files with 5 additions and 1 deletions

View File

@ -22,5 +22,9 @@
<?define QtPlatformPath="$(var.QtPath)\plugins\platforms" ?>
<?define OpenSSLPath="$(var.ExtPath)\openssl\windows\$(var.Platform)" ?>
<?define OpenSSLBinPath="$(var.OpenSSLPath)\bin" ?>
<?define CRT="$(env.CommonProgramFiles)\Merge Modules\Microsoft_VC140_CRT_$(var.Platform).msm" ?>
<?if $(var.Configuration) = "Debug" ?>
<?define CRT="$(env.CommonProgramFiles)\Merge Modules\Microsoft_VC140_DebugCRT_$(var.Platform).msm" ?>
<?else ?>
<?define CRT="$(env.CommonProgramFiles)\Merge Modules\Microsoft_VC140_CRT_$(var.Platform).msm" ?>
<?endif ?>
</Include>