<div dir="ltr">Sorry for the confusion. And ignore my last comment about #defines.<br><br>To rephrase, can the build system extract macros from a project's source, whether that means printing a list, making a config header. or something else? Or is that out of scope for now?<br><br>I imagine one could look for #ifdef, #ifndef, and all-caps identifiers, but almost anything could be changed a la -D define flags so there's no completely 'correct' way to do this.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 6, 2017 at 8:34 AM, Boris Kolpackov <span dir="ltr"><<a href="mailto:boris@codesynthesis.com" target="_blank">boris@codesynthesis.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Joshua Olson <<a href="mailto:0joshua.olson1@gmail.com">0joshua.olson1@gmail.com</a>> writes:<br>
<br>
> That sounds like a good way to do it. Or simply a list of macro definitions<br>
> the compiler detects and where they were detected.<br>
<br>
</span>Now I am completely lost: "list of macro definitions the compiler detects<br>
and where they were detected" -- what does this even mean? I've never heard<br>
of compilers (I presume C++ compilers) detecting macros.<br>
<span class="HOEnZb"><font color="#888888"><br>
Boris<br>
</font></span></blockquote></div><br></div>