Creating bugzilla entries for KDE Applications
Albert Astals Cid
aacid at kde.org
Mon Jul 31 20:45:17 UTC 2017
El dilluns, 31 de juliol de 2017, a les 9:44:17 CEST, David Faure va escriure:
> On lundi 31 juillet 2017 00:01:54 CEST Albert Astals Cid wrote:
> > Anyone has an idea on how to read the version specified in the cmake
> > project() function?
>
> It sets the variable PROJECT_VERSION.
>
> (as well as PROJECT_VERSION_MAJOR, PROJECT_VERSION_MINOR,
> PROJECT_VERSION_PATCH and PROJECT_VERSION_TWEAK)
These don't seem to be available though cmake -L
One other option would be calling
cmake --trace-expand
and parsing for
project(.* VERSION _THE_NUNBER_WE_WANT )
maybe that does indeed make more sense.
Adrián could you update the code to parse for that?
Patch for okular would be something like https://paste.kde.org/pelj2ugxp
Cheers,
Albert
More information about the release-team
mailing list