On Wed, Nov 26, 2008 at 1:15 PM, Javier Gonzalez <span dir="ltr"><<a href="mailto:javierggt@yahoo.com">javierggt@yahoo.com</a>></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>
> Hi,<br>
><br>
> My application currently has a dependency on the APR library, which<br>
> uses linux make scripts to build it. Since I'm using CMake for my own<br>
> project, how can I setup APR to build using CMake? The APR libraries<br>
> must be built before my application. I'm not sure how to handle this<br>
> situation. It would be nice to convert APR to use CMake via some tool<br>
> 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'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>