mirror of
https://github.com/Z3Prover/z3
synced 2025-04-07 18:05:21 +00:00
|
||
---|---|---|
.. | ||
build-external.cmd | ||
build.sh | ||
ex.smt | ||
exec-external.cmd | ||
maxsat.c | ||
maxsat.vcxproj | ||
README-external.txt | ||
README.txt |
WARNING: this example still uses the old Z3 (version 3.x) C API. The current version is backward compatible. This directory contains scripts to build the MaxSAT application using Microsoft C compiler, or gcc. 1) Using Visual Studio (with Z3 source code release) Use the maxsat.vcxproj project file. 2) Using gcc (on Linux or OSX) Use 'build.sh' to build the MaxSAT application using gcc. You must install Z3 before running this example. To install Z3, execute the following command in the Z3 root directory. sudo make install Use 'build.sh' to build the test application using gcc. It generates the executable 'maxsat'.