kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #21999
Re: GLM versioning
-
To:
kicad-developers@xxxxxxxxxxxxxxxxxxx
-
From:
Jean-Samuel Reynaud <js.reynaud@xxxxxxxxx>
-
Date:
Wed, 16 Dec 2015 09:58:53 +0100
-
In-reply-to:
<CAHBNN+Mw8e+0mG52jr=Y4+V70gk3XaNNc-PZbg7whCBW+U08-A@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0
Hi,
Currently the version on CMakeLists.txt is 0.9.5.4. On Ubuntu 14.04 the
available version is 0.9.5.1.
Did I build a backport of libglm for ubuntu or 0.9.5.1 is enougth ?
or other solution ?
Regards,
Le 05/12/2015 23:11, Cirilo Bernardo a écrit :
> I had a look at GLM issues and it's a bigger hassle than I initially
> imagined.
>
> 1. earlier versions provided a very primitive FindGLM which did not
> handle versions
> 2. current versions deprecated FindGLM in favor of the glmConfig.cmake
> files etc
> which in principle allow you to use glm as an 'external' project -
> except of course
> (a) we still lack a FindGLM (b) installation of these cmake external
> project files
> is unreliable across distributions and platforms and (c) even if these
> external
> project files were present it is not clear how we take advantage of the
> version info.
>
> On top of all that, GLM hard-codes the revision number into the top level
> CMakeLists.txt and there is no guarantee that this number is the same as
> the actual version information which is stored as #defines in setup.hpp.
>
> SO - it looks to me like the most sensible thing to do is (a) take the
> deprecated
> FindGLM.cmake file as a primitive starting point to implement our own
> version
> which supports versioning. The greatest challenge then is extracting the
> version information from setup.hpp in a platform independent way.
>
> - Cirilo
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References