diff options
| author | Brad King <brad.king@kitware.com> | 2013-10-18 14:22:57 (GMT) |
|---|---|---|
| committer | Brad King <brad.king@kitware.com> | 2013-10-18 14:28:28 (GMT) |
| commit | 216afc8a818c4f8906b17aefedbc9b9ed60564a8 (patch) | |
| tree | b9c6ce50d27ba3ac50c1f5760cf91c6817638047 /Tests/Module/GenerateExportHeader/exportheader_test.cpp | |
| parent | c515dc574879448d66e2c5a27b9807d95a27fefd (diff) | |
| download | CMake-216afc8a818c4f8906b17aefedbc9b9ed60564a8.zip CMake-216afc8a818c4f8906b17aefedbc9b9ed60564a8.tar.gz CMake-216afc8a818c4f8906b17aefedbc9b9ed60564a8.tar.bz2 | |
MSVC: Add /FS flag for cl >= 18 to allow parallel compilation (#14492)
In generators such as Ninja that can run multiple "cl" processes that
refer to the same compiler .pdb file (/Fd) at the same time, MSVC from
Visual Studio 2013 complains:
fatal error C1041: cannot open program database '.../vc120.pdb';
if multiple CL.EXE write to the same .PDB file, please use /FS
According to "cl /?":
/FS force to use MSPDBSRV.EXE
Add the flag to compilation lines for this compiler version just after the
/Fd option.
Diffstat (limited to 'Tests/Module/GenerateExportHeader/exportheader_test.cpp')
0 files changed, 0 insertions, 0 deletions
