mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +00:00
Include git hash in the binary
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
fa0bd4f789
commit
5790115e40
3 changed files with 26 additions and 8 deletions
|
@ -51,13 +51,18 @@ void error(const char * msg) {
|
|||
}
|
||||
|
||||
void display_usage() {
|
||||
std::cout << "Z3 [version " << Z3_MAJOR_VERSION << "." << Z3_MINOR_VERSION << "." << Z3_BUILD_NUMBER << " - ";
|
||||
std::cout << "Z3 [version " << Z3_MAJOR_VERSION << "." << Z3_MINOR_VERSION << "." << Z3_BUILD_NUMBER;
|
||||
std::cout << " - ";
|
||||
#ifdef _AMD64_
|
||||
std::cout << "64";
|
||||
#else
|
||||
std::cout << "32";
|
||||
#endif
|
||||
std::cout << " bit]. (C) Copyright 2006 Microsoft Corp.\n";
|
||||
std::cout << " bit";
|
||||
#ifdef Z3GITHASH
|
||||
std::cout << " - build hashcode " << Z3GITHASH;
|
||||
#endif
|
||||
std::cout << "]. (C) Copyright 2006-2013 Microsoft Corp.\n";
|
||||
std::cout << "Usage: z3 [options] [-file:]file\n";
|
||||
std::cout << "\nInput format:\n";
|
||||
std::cout << " -smt use parser for SMT input format.\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue