z3/examples/c
Lu zhiping 65307b9f12 Import Upstream version 4.8.7 2022-08-15 16:26:39 +08:00
..
CMakeLists.txt Import Upstream version 4.8.7 2022-08-15 16:26:39 +08:00
README Import Upstream version 4.8.7 2022-08-15 16:26:39 +08:00
test_capi.c Import Upstream version 4.8.7 2022-08-15 16:26:39 +08:00

README

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.