3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 02:15:19 +00:00
z3/scripts
Dan Liew 87e99cd734 Move the code for generating `*.hpp files from *.pyg from mk_util.py` to
``mk_genfile_common.py``. A new function ``mk_hpp_from_pyg()`` has been added
which provides a more sensible interface (hides the nasty ``exec()`` stuff)
to create the ``*.hpp`` files from ``*.pyg`` files.

Both ``mk_util.py`` and ``pyg2hpp.py`` have been modified to use the new
interface.

Whilst I'm here reindent ``pyg2hpp.py``.

The purpose of this change is to have Python code common to the Python
and CMake build systems separate from Python code that is only used for
the Python build system.

I've tested this change by making sure that the all the ``*.hpp``
files generated from ``*.pyg`` files match the files generated
before this change.
2016-03-09 11:22:49 +00:00
..
mk_consts_files.py Move `mk_z3consts_py_internal() out of mk_util.py` into 2016-03-09 11:22:48 +00:00
mk_copyright.py tabs 2016-01-04 21:04:07 +00:00
mk_def_file.py Move `mk_def_file_internal() out of mk_util.py` into 2016-03-09 11:22:48 +00:00
mk_exception.py checkpoint 2012-10-23 12:12:59 -07:00
mk_genfile_common.py Move the code for generating `*.hpp files from *.pyg from mk_util.py` to 2016-03-09 11:22:49 +00:00
mk_gparams_register_modules_cpp.py Move `mk_gparams_register_modules_internal() from mk_util.py` 2016-03-09 11:22:48 +00:00
mk_install_tactic_cpp.py Move `mk_install_tactic_cpp_internal() from mk_util.py` to 2016-03-09 11:22:48 +00:00
mk_make.py Added facilities for generating a libz3.vcxproj next to z3.vcxproj for simplified DLL build in VS. 2016-01-04 21:53:24 +00:00
mk_mem_initializer_cpp.py Move `mk_mem_initializer_cpp_internal() from mk_util.py` to 2016-03-09 11:22:48 +00:00
mk_pat_db.py Move `mk_pat_db_internal() from mk_util.py` to 2016-03-09 11:22:48 +00:00
mk_project.py add outline of bv bounds tactic 2016-02-12 22:57:47 +00:00
mk_unix_dist.py build fix for non-windows platforms 2016-03-07 11:21:06 +00:00
mk_util.py Move the code for generating `*.hpp files from *.pyg from mk_util.py` to 2016-03-09 11:22:49 +00:00
mk_win_dist.py Updated build options for .NET API 2015-12-15 14:20:31 +00:00
pyg2hpp.py Move the code for generating `*.hpp files from *.pyg from mk_util.py` to 2016-03-09 11:22:49 +00:00
README updated docs 2012-10-25 18:46:37 -07:00
trackall.sh add more Copyright notes 2015-06-10 11:59:21 -07:00
update_api.py Try to improve some of the comments in `scripts/update_api.py` 2016-03-07 18:45:34 +00:00
update_header_guards.py tabs 2016-01-04 21:04:07 +00:00

Instructions for updating external Z3 API
-----------------------------------------

The python "macros": def_Type() and def_API() are used to add new types and function definitions to the Z3 API.
The .h files provided to `mk_bindings(API_files)` contain these definitions.
See src\api\z3_api.h for many examples.

The bindings for .Net and Python are generated when mk_make.py is invoked.