Fix public headers for make install. (#2856)
authorMathias Preiner <mathias.preiner@gmail.com>
Wed, 13 Mar 2019 03:09:35 +0000 (20:09 -0700)
committerGitHub <noreply@github.com>
Wed, 13 Mar 2019 03:09:35 +0000 (20:09 -0700)
commit1b8ee921760d15492c0c0492ce6a4da07186699a
treed22810e876b2d9e8a68919ff3ff3b950c5525bf6
parent093d5ffdfa5c1656309da6b9cbdfbbf28574a8a0
Fix public headers for make install. (#2856)

This commit fixes make install, which previously copied all public header files to ${CMAKE_INSTALL_PREFIX}/ instead of ${CMAKE_INSTALL_PREFIX}/cvc4.
Further, the old build system modified all #include directives in the installed public header files to use the installed headers, e.g., #include "cvc4_public.h" was changed to #include <cvc4/cvc4_public.h>. Now, after make install the script src/fix-install-headers.sh is executed to change the #include directives accordingly (this should be obsolete with the new C++ API).
.travis.yml
src/CMakeLists.txt
src/fix-install-headers.sh [new file with mode: 0755]