[CMake] A configure script solution

J j at intuitivecreations.com
Tue Jun 24 16:16:24 EDT 2008


On Tue, 2008-06-24 at 21:19 +0200, Alexander Neundorf wrote:
> On Tuesday 24 June 2008, J wrote:
> > Greetings all!
> >
> > I've been sold on cmake. From what I gather, it's hands down better than
> > automake and family. However, I do have a problem with not having a
> > configure script.
> >
> > A couple of the main benefits of having a configure script are letting
> > the user/package maintainer choose portions of a project to compile or
> > exclude from compilation, as well as choosing alternate locations for
> > libraries/includes/installations, both of which are rather important.
> >
> > Without a configure script all package maintainers for red hat/fedora,
> > debian/ubuntu, etc will have to learn all the ins and outs of cmake and
> > spend oodles of time setting variables and passing -D switches to cmake.
> >
> > So my question to everyone is, is there already a replacement configure
> > system/script that mimics or replaces the configure scripts created by
> > autotools?
> >
> > The KDE folks wrote a very simple configure script by hand it seems,
> > which replaces rudimentary options such as --libdir and such, which is a
> 
> No we didn't:
> http://websvn.kde.org/trunk/KDE/kdelibs/configure?revision=733258&view=markup
> 
> This script is called "configure", and what it does is tell the user that 
> there is no configure script, but instead he has to use cmake.
> Additionally it translates a few configure arguments to cmake and prints them 
> to stdout.
> It does not try to behave like configure, it explicitely informs the user how 
> to use cmake.
> 
> Alex
Sorry Alex, didn't mean to mis-speak.
I read the source of the configure script. It definitely tells the user
to use cmake, but it also maps some basic arguments to cmake, which is
what I was referring to.

Sorry for the confusion.

j

> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake



More information about the CMake mailing list