<div class="gmail_quote">On Sat, Jul 28, 2012 at 10:17 PM, Michael Chisholm <span dir="ltr">&lt;<a href="mailto:chisholm@mitre.org" target="_blank">chisholm@mitre.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 7/28/2012 3:56 PM, Fred wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear Boosters,<br>
<br>
I would like to use the Boost/regex library in my application,<br>
but I don&#39;t want my users to have to install Boost.<br>
My preference would be to copy a minimal set<br>
of Boost .hpp and .cpp files into a sub-directory<br>
of my application and then<br>
compile and link the boost/regex stuff<br>
in the same way as the rest of my<br>
application.<br>
<br>
Note that the regex library is not a header-only library.<br>
<br>
So, is there a reasonably straight-forward<br>
and well-accepted procedure to do this?<br>
<br>
Apologies if this topic has already been covered,<br>
but I can&#39;t seem to get a hit.<br>
<br>
Many thanks,<br>
<br>
Fred<br>
<br>
</blockquote>
<br>
I guess I don&#39;t understand the concern.  Does your app require your users to install source code?  Or are you talking about binaries?  Most installers include all required dependencies; it&#39;s pretty rare to require users to pre-install something else before installing your app.  Is there some reason you don&#39;t want to bundle it all together?  Do you just want your app to consist of a single executable, so you don&#39;t have to distribute DLLs/so&#39;s?  If so, why not just statically link the libraries?<br>

<br>
Andy<br>
<br><br></blockquote><div><br>I don&#39;t have an installer, just a fairly simple Makefile to build the executable from my source code. So I&#39;d like to just add the appropriate targets to the Makefile to compile&amp;link whatever I need to from Boost. I don&#39;t want my users to have to &#39;apt-get install&#39; anything else...   Am I wrong?<br>
<br>Thx<br><br><br><br></div></div>

