Can I use a preprocessor variable in #include directive?
<p>This is what I'm trying to do:</p>

<pre><code>$ c++ -D GENERATED=build/generated-content main.cpp
</code></pre>

<p>My <code>main.cpp</code> file:</p>

<pre><code>#include "GENERATED/header.h"
void f() { /* something */ }
</code></pre>

<p>Currently this code fails to compile. How should I fix it? And whether it's possible at all?</p>
