mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-24 04:20:56 -04:00
Merge pull request #516 from kiwix/dependences_version
Print dependence versions
This commit is contained in:
commit
b974e121b4
@ -24,9 +24,15 @@
|
|||||||
#define KIWIX_TOOLS_VERSION "undefined"
|
#define KIWIX_TOOLS_VERSION "undefined"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <kiwix/version.h>
|
||||||
|
#include <zim/version.h>
|
||||||
|
|
||||||
void version()
|
void version()
|
||||||
{
|
{
|
||||||
std::cout << KIWIX_TOOLS_VERSION << std::endl;
|
std::cout << "kiwix-tools " << KIWIX_TOOLS_VERSION << std::endl << std::endl;
|
||||||
|
kiwix::printVersions();
|
||||||
|
std::cout << std::endl;
|
||||||
|
zim::printVersions();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif //_KIWIX_TOOLs_VERSION_H_
|
#endif //_KIWIX_TOOLs_VERSION_H_
|
||||||
|
Loading…
x
Reference in New Issue
Block a user