[CMake] Autoconf2CMake
Jordi Inglada
jordi.inglada at cnes.fr
Wed May 10 17:27:44 EDT 2006
Hi Alex,
Thank you very much for your help. I have tried to use am2cmake, but I
don't have the Makefile.am's but rather the configure.in. I have forced am2cmake to parse the configure.in, but it
won't work: a CMakeLists.txt is generated, but it contains a commented
copy of the configure.in and nothing else.
Since I am not familiar with autoconf/automake I am not able to
understand if your script could be adapted to parse Makefile.in or
configure.in?
Thanks again.
Jordi
Le mercredi 10 mai 2006 à 12:09 +0200, Alexander Neundorf a écrit :
> Hi,
>
> > Von: Jordi Inglada <jordi.inglada at cnes.fr>
> >
> > Hi all,
> >
> > Is there anything like an autoconf2CMake utility? We are trying to
> > include an autoconf-based project in the source tree of our CMake-based
> > library and we are having some trouble.
> >
> > The library we want to encapsulate has a complex directory tree and the
> > manual conversion is not an easy task. We would like to have an
> > automatic procedure, since we plan to update the sources when new
> > versions of the library are available.
>
> I wrote a ruby script to convert the KDE Makefile.am's to CMakeLists.txt.
> You can find it here:
> http://websvn.kde.org/trunk/KDE/kdesdk/scripts/cmake/
>
> It works well for the KDE files, but I don't know how well it will work
> for other source trees. Just start it from the top level of your source
> tree.
>
> It generates a bunch of CMakeLists.txt and some additional files (I think
> they were ConvenienceLibs.cmake, PotentialProblems.txt and
> AdditionalInfo.txt or something like this).
> It doesn't convert configure checks.
>
> Bye
> Alex
>
>
--
CNES - DCT/SI/AP - BPI 1219
18, avenue Edouard Belin
31401 Toulouse Cedex 09 - France
Tel. +33.(0)5.61.27.33.97 - Fax. +33.(0)5.61.28.31.09
More information about the CMake
mailing list