Robert Dailey wrote:
> On Fri, Jun 26, 2009 at 8:13 PM, Branko Čibej <brane_at_xbc.nu
> <mailto:brane_at_xbc.nu>> wrote:
> Robert Dailey wrote:
> > Reason why I'm asking is because I've setup a couple of CMake
> > to provide a means to build APR, APR-UTIL, and APR-ICONV.
> > The less files I have to build to meet the requirements of
> > the better. It would be great if you guys could tell me exactly
> > source files I need to build in all 3 APR libraries. I know that
> > Subversion uses apr_pool, but not sure about anything else.
> > Unfortunately the only way I'm going to be able to tell is through
> > missing symbol linker error later on when I try to link against the
> > subversion library.
> Uh, sorry, if you're doing your own build scripts, then you're pretty
> much on your own ... especially as the list of files you have to
> will differ from platform to platform. For any one partiular platform,
> "nm" or local equivalent will tell you (almost) all you need to know.
> AFAIK no-one has ever compiled a list of minimal required sources from
> APR; doesn't really make sense, we just recommend a particular set of
> apr(-util) versions.
> I had to just to get APR building on Windows. They had some NMAKE
> scripts already, but those did not function. I have all 3 APR
> libraries building right now, so we'll see if they contain all of the
> code needed for Subversion when I build it later on. I'm going to be
> creating CMake scripts for Subversion next, since the vc6-build.bat
> file is ancient and broken as well :)
> If I get it somewhat functional, I will submit it to the Subversion
> library. You guys can either choose to take it or leave it at that
> point, but I absolutely need to do this to make it easier for people
> (particularly myself) to build Subversion on Windows.
> Thanks for your help.
Aren't you wasting your time just a bit? Subversion does include a
build-file generator that'll create project files for, IIRC, every
version of Microsoft compiler from VC6 onwards. Pretty much the same is
true of APR; witness the fact that a fair number of people are building
Subversion on Windows, and there's also a script used on buildbots that
automates the whole shebang.
Going from scratch with CMake will quite likely give you a splitting
headache, and no-one in their right mind would want to help with that. :-P
Received on 2009-06-28 00:50:27 CEST