Sharing precompiled headers between projects in Visual Studio

后端 未结 6 1413
野性不改
野性不改 2020-12-01 01:25

I have a solution with many Visual C++ projects, all using PCH, but some have particular compiler switches turned on for project-specific needs.

Most of these projec

6条回答
  •  暖寄归人
    2020-12-01 02:06

    It seems it's not possible because each source file has to be compiled against the same PDB against which the PCH was compiled. darn it.

提交回复
热议问题