Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation on how to add z3 to CMake project using FetchContent and documentation to recdef function. #6613

Merged
merged 5 commits into from
Feb 28, 2023

Conversation

jparsert
Copy link
Contributor

I could not find a documentation on how to add z3 to my cmake project as a dependency. After some time I managed to add z3 as a dependency using FetchContent. However, it took quite some time and searching to realise that I needed to add libz3 instead of z3 in order to link properly. I thought others might have the same issue so it should be documented somewhere.

In a project of mine I used function/recdef to define a function but later realised that the combination recfun/recdef was required instead. In hindsight seems kind of obvious but I added a line in the documentation indicating this.

@NikolajBjorner NikolajBjorner merged commit 6e7d806 into Z3Prover:master Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants