What is the proper way to use stdafx.h, in terms of separating dependencies?
If I put everything in there, then my compiles ar
Conditionally include the PCH's, then define something like "#define _PRE_COMPILE_" This way the original headers are still visible and the code is modular if you so need. An example of this would be to include
#ifdef _PRE_COMPILE_
#include "stdafx.h"
#elif
#include
#include
#endif
Include this at the beginning of every source file.