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 0ac80fc042 have parser produce ast-vector instead of single ast
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-06-01 21:21:05 -07:00
..
README Fix typo 2016-03-23 12:51:41 +09:00
test_capi.c have parser produce ast-vector instead of single ast 2017-06-01 21:21: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 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.