On Wed, Nov 26, 2008 at 1:15 PM, Javier Gonzalez <span dir="ltr">&lt;<a href="mailto:javierggt@yahoo.com">javierggt@yahoo.com</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;">
<div><div></div><div class="Wj3C7c">Robert Dailey wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; My application currently has a dependency on the APR library, which<br>
&gt; uses linux make scripts to build it. Since I&#39;m using CMake for my own<br>
&gt; project, how can I setup APR to build using CMake? The APR libraries<br>
&gt; must be built before my application. I&#39;m not sure how to handle this<br>
&gt; situation. It would be nice to convert APR to use CMake via some tool<br>
&gt; of some sort.</div></div><br>
Check out the EXECUTE_PROCESS command in the documentation. That should<br>
work.</blockquote></div><br>Is this the recommended way to handle this issue? What would you guys
recommend? Should I provide precompiled binaries for all platforms in
version control so I don&#39;t have to worry about making CMake build APR,
or would you recommend complex CMake logic to handle calling
EXECUTE_PROCESS() for APR on all platforms? Either way you look at it,
it looks like a nightmare.<br>