3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-05 17:14:07 +00:00
z3/examples/c
Nikolaj Bjorner 3eac4a4aa1 clean up examples for unused variables
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-09-22 10:24:05 -07:00
..
CMakeLists.txt increase minimal requirement to 3.4 2019-06-07 17:05:12 -07:00
README Refer to macOS rather than Mac OS / OSX. 2018-10-02 17:38:09 +07:00
test_capi.c clean up examples for unused variables 2019-09-22 10:24:05 -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.