[SailfishDevel] Sharing version number (and other constants?) between .yaml/spec, .pro and .cpp/.qml
Artem Marchenko
artem.marchenko at gmail.com
Fri Dec 6 23:25:15 UTC 2013
Just what I was looking for. Thanks, Robin!
Cheers,
Artem.
On Sat, Dec 7, 2013 at 12:50 AM, Robin Burchell <robin.burchell at jolla.com>wrote:
> https://github.com/nemomobile/mlite/blob/master/rpm/mlite-qt5.yaml#L20
> gives you
> https://github.com/nemomobile/mlite/blob/master/rpm/mlite-qt5.spec#L60
>
> if you want to go all out gung-ho with automation, you can also do
> something like
> https://github.com/nemomobile/mlite/blob/master/src/src.pro#L3 in your
> project file for local builds.
>
> On 06 Dec 2013, at 23:45, Artem Marchenko <artem.marchenko at gmail.com>
> wrote:
>
> Hi All
>
> Does anybody know a way to share constants between .yaml and any other
> project file (preferably .pro, but any other way would do as well)?
>
> I sort of got tired to duplicate version numbers in .yaml and app's
> about dialog :)
> Writing app description in one place only would've been good too.
>
> Best regards,
> Artem.
>
> --
> Artem Marchenko
> http://agilesoftwaredevelopment.com
> http://twitter.com/AgileArtem
> _______________________________________________
> SailfishOS.org Devel mailing list
>
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
>
--
Artem Marchenko
http://agilesoftwaredevelopment.com
http://twitter.com/AgileArtem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20131207/73c3cfd5/attachment.html>
More information about the Devel
mailing list