[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Subversion & CMake

From: Robert Dailey <rcdailey_at_gmail.com>
Date: Sat, 27 Jun 2009 10:05:00 -0500

On Sat, Jun 27, 2009 at 6:05 AM, Arfrever Frehtes Taifersar Arahesis <
arfrever.fta_at_gmail.com> wrote:

> 2009-06-27 04:23:42 Robert Dailey napisał(a):
> > Developers,
> > A few months ago I started a new open source GUI subversion client named
> > HareSVN and I'm now in the process of building Subversion on Windows. My
> > goal is to create a series of CMake scripts that will build the
> Subversion
> > library for the purposes of my personal project. Hopefully the system
> will
> > turn out well enough that it will be useful to Subversion itself,
> You can use CMake in your project, but gen_{base,make}.py+configure.ac
> +Makefile.in
> is definitely better for Subversion project on Unix-like systems.

Why do you say that? CMake can generate makefile scripts on Linux as well
and if those generated makefile scripts happen to build Subversion with the
exact same configuration then I would tend to say that CMake is the better
approach since it allows the programmer to choose the tool he or she will be
using to build Subversion (And it's cross platform, unlike make/configure.
And no, cygwin doesn't count).

You, of course, are entitled to your own opinion.

> > but for right now it is only intended to be a means to an end and will
> probably not
> > be production-quality for the first couple of passes.
> >
> > Since I'm relatively new to Subversion's API, I am not 100% certain of a
> few
> > things. I do not know what preprocessor definitions must be defined on
> > Windows, nor how to modularize the code base (i.e. which source files
> > compile into what static libraries). I'm doubtful that this is documented
> in
> > any form, so I'm more than likely going to have to either depend on the
> > community for help or reverse engineer makefiles to figure these things
> out.
> > Of course, I prefer help from the community (the developers) because this
> > will be the easiest path for me. However, if everyone is too busy then at
> > the very least I ask that someone point me in the right direction. Let me
> > know which files I need to look at to figure out all of the required
> details
> > for building under Windows.
> >
> > I'm not familiar with the makefile language used on Linux, but I'm hoping
> I
> > can browse over the scripts and find the important information.
> You can read:
> http://www.gnu.org/software/make/manual/make.html
> http://www.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html

Thanks, I really appreciate the links. However, I meant to imply that I have
no desire to learn about the makefile language on Linux. Why learn it when I
already know CMake? It can generate my makefiles for me, so I don't have to
write them myself.

Would you be so kind as to tell me where the list of include files are in
the makefile scripts?

Thanks again!

Received on 2009-06-27 17:05:38 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.