MSVC: Multiple PCH files in the same directory
I have a project with dynamic + static library targets from the same sources in the same directory. Trying to add PCH for both targets I've faced w/ the strange CMake behavior: to build cmake_pch.cxx
of the second target I see /Yu
option with the cmake_pch.hxx
belongs to the first target.
Is more than one PCH file per-directory "officially" supported?
I use CMake 3.16.4 and VisualStudio 16 2019 generator.