On Tue, Dec 23, 2008 at 2:40 PM, Michael Jackson <span dir="ltr">&lt;<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
On Dec 23, 2008, at 1:05 PM, Robert Dailey wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Mike Jackson wrote<br>
</blockquote></blockquote><div class="Ih2E3d">
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

I am just thinking out loud here so if I am totally off the mark just ignore.<br>
<br>
So the problem is including /foo/bar-d or /foo/bar for debug and release.<br>
<br>
For a release build there is the -NDEBUG definition and for Debug there is the -DEBUG compiler definitions defined (or something that at effect)<br>
<br>
In your own project have a header file (MySetup.h) with something like:<br>
<br>
#ifdef NDEBUG<br>
&nbsp;#include &quot;bar/setup.h&quot;<br>
#else<br>
&nbsp;#include &quot;bar-d/setup.h&quot;<br>
#endif<br>
<br>
Then you need to just have C:\foo on the include path.<br>
<br>
I _think_ something like that might work. Not sure how scalable or maintainable that might be since I have never used wxWidgets.<br>
</blockquote>
<br>
This is a great idea but I can&#39;t do this, since I would have to edit wxWidgets source files to make this work. For my own specific case I do not want to edit third party libraries. However, again, this is a very valid work around and would be usable in the typical case.<br>

</blockquote>
<br></div>
Um.. why would you need to modify the wxWidgets source?</blockquote></div><br>Because wxWidgets is the library including the setup.h file. It expects you to setup the include directories so it can find it, that&#39;s all.<br>