mirror of
https://github.com/Z3Prover/z3
synced 2025-11-03 13:07:53 +00:00
was requested in #1223. This example uses the new `Z3_mk_model()`, `Z3_add_const_interp()` , `Z3_add_func_interp()`, and `Z3_mk_as_array()` API calls. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| README | ||
| test_capi.c | ||
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 OSX and Linux, you must install z3 first using sudo make install OR update LD_LIBRARY_PATH (Linux) or DYLD_LIBRARY_PATH (OSX) with the build directory. You need that to be able to find the Z3 shared library.