3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-09-09 19:21:24 +00:00
z3/examples/c
copilot-swe-agent[bot] 2e031bc7fc Add comprehensive documentation and examples for UserPropagator quantifier instantiation callbacks
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2025-08-29 01:49:26 +00:00
..
CMakeLists.txt clean up CMake code (#5182) 2021-04-14 10:29:15 -07:00
quantifier_instantiation_callback.c Add comprehensive documentation and examples for UserPropagator quantifier instantiation callbacks 2025-08-29 01:49:26 +00:00
README Refer to macOS rather than Mac OS / OSX. 2018-10-02 17:38:09 +07:00
test_capi.c Remove vestiges of old ml api (#7597) 2025-03-27 16:41:31 -07:00

Small example using the C bindings.
To build the example execute
   make examples
in the build directory.

This command will create the executable c_example.
On Windows, you can just execute it.
On macOS and Linux, you must install z3 first using
   sudo make install
OR update LD_LIBRARY_PATH (Linux) or DYLD_LIBRARY_PATH (macOS) with the build directory. You need that to be able to find the Z3 shared library.