Skip to content

Commit

Permalink
Merge pull request #9 from formalsec/minor-fixes
Browse files Browse the repository at this point in the history
Minor fixes
  • Loading branch information
joaomhmpereira authored Apr 6, 2024
2 parents 75069e6 + 994f86d commit d974cc6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion api/dune
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
(foreign_stubs
(language cxx)
(names build_enums)
(extra_deps ../cvc5_export.h)
(extra_deps ../vendor/cvc5/include/cvc5/cvc5_export.h)
(flags :standard -std=c++17 -I/opt/homebrew/include)
(include_dirs ../vendor/cvc5/include))
(foreign_archives ../cvc5 ../cadical ../picpoly ../picpolyxx)
Expand Down
14 changes: 9 additions & 5 deletions dune
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,16 @@
(copy vendor/cvc5/build/deps/lib/libcadical.a libcadical.a)
(copy vendor/cvc5/build/deps/lib/libpicpoly.a libpicpoly.a)
(copy vendor/cvc5/build/deps/lib/libpicpolyxx.a libpicpolyxx.a)
(copy
vendor/cvc5/build/include/cvc5/cvc5_export.h
vendor/cvc5/include/cvc5/cvc5_export.h)
(copy vendor/cvc5/build/include/cvc5/cvc5_export.h cvc5_export.h)))))

(subdir
vendor/cvc5/include/cvc5
(rule
(deps ../../../../cvc5_export.h)
(targets cvc5_export.h)
(action
(copy %{deps} %{targets}))))

(library
(public_name cvc5)
(name cvc5)
Expand All @@ -27,10 +32,9 @@
(foreign_stubs
(language cxx)
(names cvc5_stubs)
(extra_deps cvc5_export.h)
(flags :standard -std=c++17 -I/opt/homebrew/include)
(include_dirs vendor/cvc5/include vendor/cvc5/src vendor/cvc5/src/lib))
(foreign_archives cadical cvc5 picpoly picpolyxx)
(foreign_archives cvc5 cadical picpoly picpolyxx)
(c_library_flags :standard -std=c++17 -L/opt/homebrew/lib -lgmp))

(rule
Expand Down

0 comments on commit d974cc6

Please sign in to comment.