mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 00:55:31 +00:00
rename version.h to z3_version.h to differentiate name in install include directory. Add support for z3_version.h in python build system. #1833
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
38c6429184
commit
0c4754d94b
8 changed files with 10 additions and 9 deletions
|
@ -10,7 +10,7 @@ from mk_util import *
|
|||
# Z3 Project definition
|
||||
def init_project_def():
|
||||
set_version(4, 8, 0, 0)
|
||||
add_lib('util', [])
|
||||
add_lib('util', [], includes2install = ['z3_version.h'])
|
||||
add_lib('polynomial', ['util'], 'math/polynomial')
|
||||
add_lib('sat', ['util'])
|
||||
add_lib('nlsat', ['polynomial', 'sat'])
|
||||
|
|
|
@ -2805,8 +2805,8 @@ def get_full_version_string(major, minor, build, revision):
|
|||
# Update files with the version number
|
||||
def mk_version_dot_h(major, minor, build, revision):
|
||||
c = get_component(UTIL_COMPONENT)
|
||||
version_template = os.path.join(c.src_dir, 'version.h.in')
|
||||
version_header_output = os.path.join(c.src_dir, 'version.h')
|
||||
version_template = os.path.join(c.src_dir, 'z3_version.h.in')
|
||||
version_header_output = os.path.join(c.src_dir, 'z3_version.h')
|
||||
# Note the substitution names are what is used by the CMake
|
||||
# builds system. If you change these you should change them
|
||||
# in the CMake build too
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue