3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-10 03:07:07 +00:00

Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable

This commit is contained in:
Christoph M. Wintersteiger 2013-02-13 17:21:29 +00:00
commit f161f455df
2 changed files with 6 additions and 3 deletions

View file

@ -1298,7 +1298,7 @@ def mk_config():
'SLINK_OUT_FLAG=/Fe\n')
extra_opt = ''
if GIT_HASH:
extra_opt = '%s /D Z3GITHASH="%s"' % (extra_opt, GIT_HASH)
extra_opt = '%s /D Z3GITHASH=%s' % (extra_opt, GIT_HASH)
if DEBUG_MODE:
config.write(
'LINK_FLAGS=/nologo /MDd\n'
@ -1361,7 +1361,7 @@ def mk_config():
else:
CPPFLAGS = '%s -D_MP_INTERNAL' % CPPFLAGS
if GIT_HASH:
CPPFLAGS = '%s -DZ3GITHASH="%s"' % (CPPFLAGS, GIT_HASH)
CPPFLAGS = '%s -DZ3GITHASH=%s' % (CPPFLAGS, GIT_HASH)
CXXFLAGS = '%s -c' % CXXFLAGS
HAS_OMP = test_openmp(CXX)
if HAS_OMP:

View file

@ -50,6 +50,9 @@ void error(const char * msg) {
exit(ERR_CMD_LINE);
}
#define STRINGIZE(x) #x
#define STRINGIZE_VALUE_OF(x) STRINGIZE(x)
void display_usage() {
std::cout << "Z3 [version " << Z3_MAJOR_VERSION << "." << Z3_MINOR_VERSION << "." << Z3_BUILD_NUMBER;
std::cout << " - ";
@ -60,7 +63,7 @@ void display_usage() {
#endif
std::cout << " bit";
#ifdef Z3GITHASH
std::cout << " - build hashcode " << Z3GITHASH;
std::cout << " - build hashcode " << STRINGIZE_VALUE_OF(Z3GITHASH);
#endif
std::cout << "]. (C) Copyright 2006-2013 Microsoft Corp.\n";
std::cout << "Usage: z3 [options] [-file:]file\n";