This isn't stated anywhere, but the first line of the cc files should always be #include "pch.hpp". That way it will include the precompiled headers first.