- A modern C++ compiler (e.g. a recent verion of g++, clang, MSVC);
- Z3 (clone from https://github.com/Z3Prover/z3.git, then follow the instructions in the README file to build).
- Create a new Visual C++ Empty Project;
- Change the target build to Release x86 (optional but recommended);
- Add all
.cpp
files fromsrc
under Source files and all.h
files fromsrc
under Header files; - Add
_CRT_SECURE_NO_WARNINGS
to Preprocessor Definitions (Project > Properties > Configuration Properties > C/C++ > Preprocessor); - Add
z3\src\api
to Include Directories andz3\build
to Library Directories (Project > Properties > Configuration Properties > VC++ Directories); - Add
z3.lib
andlibz3.lib
to Additional Dependencies (Project > Properties > Configuration Properties > Linker > Input); - Build the project (Ctrl + Shift + B).