mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
RS version is now parametrizable at compile time
Avoid the need of dirty patching to set the version at build time In case RS version is not passed as argument attempt to determine it using git describe, if unavailable use hardcoded default
This commit is contained in:
parent
5495f43c51
commit
92f90178c4
12 changed files with 126 additions and 103 deletions
|
@ -61,7 +61,7 @@ public:
|
|||
~Rshare();
|
||||
|
||||
/** Return the version info */
|
||||
static QString retroshareVersion(bool withRevision);
|
||||
static QString retroshareVersion(bool=true);
|
||||
|
||||
/** Return the map of command-line arguments and values. */
|
||||
static QMap<QString, QString> arguments() { return _args; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue