3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 10:25:18 +00:00
z3/examples/c++
Leonardo de Moura e2f4943b4e moved dll and examples
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-10-23 16:33:20 -07:00
..
build-external.cmd moved dll and examples 2012-10-23 16:33:20 -07:00
build.cmd moved dll and examples 2012-10-23 16:33:20 -07:00
build.sh moved dll and examples 2012-10-23 16:33:20 -07:00
example.cpp moved dll and examples 2012-10-23 16:33:20 -07:00
exec-external.cmd moved dll and examples 2012-10-23 16:33:20 -07:00
README.txt moved dll and examples 2012-10-23 16:33:20 -07:00
z3++.h moved dll and examples 2012-10-23 16:33:20 -07:00

This directory contains scripts to build the test application using
Microsoft C compiler, or g++.

1) Using Microsoft C compiler

Use 'build.cmd' to build the test 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, 
example.exe can find z3.dll.

2) 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 g++. 
It generates the executable 'example'.