mirror of
https://github.com/Z3Prover/z3
synced 2025-08-30 06:50:08 +00:00
C examples
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
9dbd0831c4
commit
7f0fcefbe2
13 changed files with 52 additions and 822 deletions
12
examples/maxsat/README
Normal file
12
examples/maxsat/README
Normal file
|
@ -0,0 +1,12 @@
|
|||
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 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.
|
||||
|
||||
This directory contains a test file (ex.smt) that can be use as input for the maxsat test application.
|
Loading…
Add table
Add a link
Reference in a new issue