[SailfishDevel] Sharing version number (and other constants?) between .yaml/spec, .pro and .cpp/.qml
Robin Burchell
robin.burchell at jolla.com
Fri Dec 6 22:50:38 UTC 2013
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<mailto: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://agilesoftwaredevelopment.com/>
http://twitter.com/AgileArtem
_______________________________________________
SailfishOS.org<http://SailfishOS.org> Devel mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20131206/fc90e265/attachment.html>
More information about the Devel
mailing list