From ae536749a2342e51c450deb62a13d5cfda965881 Mon Sep 17 00:00:00 2001 From: makaimann Date: Mon, 1 Apr 2019 13:22:04 -0700 Subject: Update includes to use cvc4 top-level directory in examples (#2877) Because the headers are now installed in a `cvc4` directory, the examples need to include from there as well. --- examples/api/bitvectors-new.cpp | 2 +- examples/api/bitvectors_and_arrays-new.cpp | 3 ++- examples/api/combination-new.cpp | 2 +- examples/api/datatypes-new.cpp | 3 ++- examples/api/extract-new.cpp | 2 +- examples/api/helloworld-new.cpp | 2 +- examples/api/linear_arith-new.cpp | 2 +- examples/api/sets-new.cpp | 2 +- examples/api/strings-new.cpp | 2 +- 9 files changed, 11 insertions(+), 9 deletions(-) (limited to 'examples') diff --git a/examples/api/bitvectors-new.cpp b/examples/api/bitvectors-new.cpp index d06671a0d..dfe8c7420 100644 --- a/examples/api/bitvectors-new.cpp +++ b/examples/api/bitvectors-new.cpp @@ -16,7 +16,7 @@ #include -//#include // use this after CVC4 is properly installed +// #include "cvc4/api/cvc4cpp.h" // use this after CVC4 is properly installed #include "api/cvc4cpp.h" using namespace std; diff --git a/examples/api/bitvectors_and_arrays-new.cpp b/examples/api/bitvectors_and_arrays-new.cpp index 723f5e178..2abc5f9b4 100644 --- a/examples/api/bitvectors_and_arrays-new.cpp +++ b/examples/api/bitvectors_and_arrays-new.cpp @@ -16,7 +16,8 @@ #include #include -// #include // use this after CVC4 is properly installed + +// #include "cvc4/api/cvc4cpp.h" // use this after CVC4 is properly installed #include "api/cvc4cpp.h" using namespace std; diff --git a/examples/api/combination-new.cpp b/examples/api/combination-new.cpp index 4c2df3624..de898352e 100644 --- a/examples/api/combination-new.cpp +++ b/examples/api/combination-new.cpp @@ -18,7 +18,7 @@ #include -//#include // use this after CVC4 is properly installed +// #include "cvc4/api/cvc4cpp.h" // use this after CVC4 is properly installed #include "api/cvc4cpp.h" using namespace std; diff --git a/examples/api/datatypes-new.cpp b/examples/api/datatypes-new.cpp index e6e044c96..6efb1f7fc 100644 --- a/examples/api/datatypes-new.cpp +++ b/examples/api/datatypes-new.cpp @@ -15,9 +15,10 @@ **/ #include -//#include // To follow the wiki +// #include "cvc4/api/cvc4cpp.h" // use this after CVC4 is properly installed #include "api/cvc4cpp.h" + using namespace CVC4::api; void test(Solver& slv, Sort& consListSort) diff --git a/examples/api/extract-new.cpp b/examples/api/extract-new.cpp index f020b4951..7d9f2771f 100644 --- a/examples/api/extract-new.cpp +++ b/examples/api/extract-new.cpp @@ -16,7 +16,7 @@ #include -//#include // use this after CVC4 is properly installed +// #include "cvc4/api/cvc4cpp.h" // use this after CVC4 is properly installed #include "api/cvc4cpp.h" using namespace std; diff --git a/examples/api/helloworld-new.cpp b/examples/api/helloworld-new.cpp index 144b307f7..307b1638a 100644 --- a/examples/api/helloworld-new.cpp +++ b/examples/api/helloworld-new.cpp @@ -16,7 +16,7 @@ #include -//#include // use this after CVC4 is properly installed +// #include "cvc4/api/cvc4cpp.h" // use this after CVC4 is properly installed #include "api/cvc4cpp.h" using namespace CVC4::api; diff --git a/examples/api/linear_arith-new.cpp b/examples/api/linear_arith-new.cpp index 8f305c72d..359c12964 100644 --- a/examples/api/linear_arith-new.cpp +++ b/examples/api/linear_arith-new.cpp @@ -17,7 +17,7 @@ #include -//#include // use this after CVC4 is properly installed +// #include "cvc4/api/cvc4cpp.h" // use this after CVC4 is properly installed #include "api/cvc4cpp.h" using namespace std; diff --git a/examples/api/sets-new.cpp b/examples/api/sets-new.cpp index d4b94aa8f..94ce9d9a8 100644 --- a/examples/api/sets-new.cpp +++ b/examples/api/sets-new.cpp @@ -16,7 +16,7 @@ #include -//#include // use this after CVC4 is properly installed +// #include "cvc4/api/cvc4cpp.h" // use this after CVC4 is properly installed #include "api/cvc4cpp.h" using namespace std; diff --git a/examples/api/strings-new.cpp b/examples/api/strings-new.cpp index e3bcb1677..432ee7b80 100644 --- a/examples/api/strings-new.cpp +++ b/examples/api/strings-new.cpp @@ -16,7 +16,7 @@ #include -//#include // use this after CVC4 is properly installed +// #include "cvc4/api/cvc4cpp.h" // use this after CVC4 is properly installed #include "api/cvc4cpp.h" using namespace CVC4::api; -- cgit v1.2.3