[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-release-team
Subject: Re: Creating bugzilla entries for KDE Applications
From: Albert Astals Cid <aacid () kde ! org>
Date: 2017-07-31 20:45:17
Message-ID: 136531982.SKLk10Lfxz () xps
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic