Merge pull request #516 from kiwix/dependences_version

Print dependence versions
This commit is contained in:
Kelson 2022-01-03 09:02:58 +01:00 committed by GitHub
commit b974e121b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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_