3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-05 17:14:07 +00:00
z3/examples/c
Bruce Mitchener 73b3da37d8 Typo fixes.
2018-01-02 22:48:06 +07:00
..
CMakeLists.txt [CMake] Try to unbreak the C example build with older GCC versions 2017-10-25 11:13:25 +01:00
README Fix typo 2016-03-23 12:51:41 +09:00
test_capi.c Typo fixes. 2018-01-02 22:48:06 +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 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.