diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-11-05 03:49:09 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-11-10 00:40:16 +0530 |
commit | 88f1d400c070fdd95d00298584c6ac18cf087a14 (patch) | |
tree | 430e8fdd8cf5679c0c1093eff4e89d96f446ba25 /run_project_tests.py | |
parent | 69756fdabb123b3e0499f6daa0f32ef06b406614 (diff) | |
download | meson-88f1d400c070fdd95d00298584c6ac18cf087a14.zip meson-88f1d400c070fdd95d00298584c6ac18cf087a14.tar.gz meson-88f1d400c070fdd95d00298584c6ac18cf087a14.tar.bz2 |
Fix debug PCH builds with MSVC 2012 and later
With MSVC 2013 and newer, using pre-compiled headers with .pdb debugging
fails with the following error message:
fatal error C1041: cannot open program database '[...]\prog.pdb'; if multiple CL.EXE write to the same .PDB file, please use /FS
So we use /FS when PCH is enabled. When PCH is enabled and debugging is
disabled, this will have no effect since .pdb files will not be written.
Diffstat (limited to 'run_project_tests.py')
0 files changed, 0 insertions, 0 deletions