Having the version number explicitly in the source tree in
include/libstick-0.1 is bad: We do not want to change include directives
when we change the version, but we only want to change PACKAGE_VERSION.
Also, we want to avoid name clashes for header filenames. Hence, we put
the headers in a subdir libstick/ in include/ and install libstick/ to
include/libstick-${PACKAGE_VERSION}/, which is returned by pkg-config
for cflags.
-install (DIRECTORY ./ DESTINATION include FILES_MATCHING PATTERN "*.h")
+install (DIRECTORY ./ DESTINATION include/libstick-${PACKAGE_VERSION} FILES_MATCHING PATTERN "*.h")
#include <cpptest.h>
#include <cpptest-suite.h>
-#include <libstick-0.1/booleanmatrix.h>
+#include <libstick/booleanmatrix.h>
using namespace libstick;
#include <cpptest.h>
#include <cpptest-suite.h>
-#include <libstick-0.1/booleanvector.h>
+#include <libstick/booleanvector.h>
using namespace libstick;
#include <cpptest.h>
#include <cpptest-suite.h>
-#include <libstick-0.1/image.h>
+#include <libstick/image.h>
#include <cassert>
#include <math.h>
#include <cpptest.h>
#include <cpptest-suite.h>
-#include <libstick-0.1/persistence.h>
+#include <libstick/persistence.h>
using namespace libstick;
#include <cpptest.h>
#include <cpptest-suite.h>
-#include <libstick-0.1/simplicialcomplex.h>
+#include <libstick/simplicialfunction.h>
using namespace libstick;