forked from openkylin/z3
13 lines
515 B
Plaintext
13 lines
515 B
Plaintext
Small example using the C bindings.
|
|
To build the example execute
|
|
make examples
|
|
in the build directory.
|
|
|
|
This command will create the executable maxsat.
|
|
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.
|
|
|
|
This directory contains a test file (ex.smt) that can be used as input for the maxsat test application.
|