https://github.com/Kitware/CMake
Revision 216afc8a818c4f8906b17aefedbc9b9ed60564a8 authored by Brad King on 18 October 2013, 14:22:57 UTC, committed by Brad King on 18 October 2013, 14:28:28 UTC
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.
1 parent c515dc5
Tip revision: 216afc8a818c4f8906b17aefedbc9b9ed60564a8 authored by Brad King on 18 October 2013, 14:22:57 UTC
MSVC: Add /FS flag for cl >= 18 to allow parallel compilation (#14492)
MSVC: Add /FS flag for cl >= 18 to allow parallel compilation (#14492)
Tip revision: 216afc8
File | Mode | Size |
---|---|---|
Demo | ||
Hello | ||
CMakeLists.txt | -rw-r--r-- | 490 bytes |
Computing file changes ...