Print dependence versions

This commit is contained in:
Emmanuel Engelhart 2021-12-29 11:12:12 +01:00
parent 9b158360a6
commit d2bb9d123e
No known key found for this signature in database
GPG Key ID: 120B30D020B553D3

View File

@ -24,9 +24,15 @@
#define KIWIX_TOOLS_VERSION "undefined"
#endif
#include <kiwix/version.h>
#include <zim/version.h>
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_