On Sunday 11 May 2008, Nils Kneuper wrote:
> Alexander Neundorf schrieb:
> ~ > You don't have to test for if(COMMAND cmake_minimum_required), this
> exists in
>
> | basically all cmake versions.
>
> The top was a patch supplied by patterner to allow compiling with cmake
> 2.6, too. It added the minimum_required stuff as well as the next block.
>
> | You just test for cmake 2.4.x. I would strongly recommend to test for a
> | specific release, since in the minor releases bugs were fixed and small
> | new features were introduced. We (KDE) require 2.4.5, which works without
> | problems for us. 2.4.3 was also ok, 2.4.4 was a bad release and very soon
> | replaced by 2.4.5. Most distros today ship at least 2.4.6.
>
> Okay, so we can easily set cmake 2.4.6 as minimum, right? Where there any
> syntax changes between 2.4.6 and 2.4.8 (since that is what I got here under
> gentoo)?

In the announcements for 2.4.7 and 2.4.8 there should be detailled changelogs 
included. They are mostly bugfixes and documentation improvements.
You can find the documentation for the versions here:
http://www.cmake.org/Wiki/CMake_Released_Versions

> | If you can afford it, I would suggest to require cmake 2.6.0 and switch
> | basically all "policies" to NEW, this should be better in most cases.
>
> I don't think we really can afford this since eg debian stable does only
> have cmake 2.4.7 IIRC. We basically would like to see all the major
> platforms (that is at least the linux distris) supported with cmake from
> the package manager...

I understand this.
Still if a project starts to use cmake now, I would recommend to use 2.6. It 
has some nice features, like the improved library handling etc.

> | It seems you don't install any libraries ?
> | Is this correct ? (this makes things easier)
>
> No, the libaries are only used to link, they are not meant to be installed.
> I don't know about the python tool stuff, those can probably be called
> libraries and eventually installing for them will have to be implemented,
> too...

Cool, this really makes things easier, no messing with RPATH, lib/bin dirs, 
etc. :-)

> | All in all, it looks good :-)
> | If you have questions, feel free to ask :-)
> |
> | Did you use some tool to generate the files ?
>
> I tried to initially convert stuff with am2cmake, but it was a real
> failure. 

Can you give more details ?

Alex

_______________________________________________
Wesnoth-dev mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-dev

Reply via email to