3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-11 19:53:34 +00:00
z3/maxsat/README-external.txt
Leonardo de Moura 68269c43a6 other components
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-10-02 11:48:48 -07:00

26 lines
776 B
Plaintext

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 Microsoft C compiler
Use 'build.cmd' to build the MaxSAT application using Microsoft C
compiler.
Remark: The Microsoft C compiler (cl) must be in your path,
or you can use the Visual Studio Command Prompt.
The script 'exec.cmd' adds the bin directory to the path. So,
maxsat.exe can find z3.dll.
2) Using gcc
Use 'build.sh' to build the MaxSAT application using gcc.
The script 'exec.sh' adds the bin directory to the path. So,
maxsat.exe can find z3.dll.
Remark: the scripts 'build.sh' and 'exec.sh' assumes you are in a
Cygwin or Mingw shell.