diff options
author | Thomas White <taw@physics.org> | 2018-05-17 15:31:45 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2018-05-17 15:39:22 +0200 |
commit | a9f48b6507b0326a34b84d7600f5eb791993eeb1 (patch) | |
tree | b89b6e73477125336c35c6d7d9996bd8ebae7fd7 /config.h.cmake.in | |
parent | 87fd650abf11da75e7abd2ff90821cf7cb041b91 (diff) | |
parent | a9f4c0ff4376267d90d6e8f9a0b6c012ec0588a4 (diff) |
Merge branch 'tom/cmake'
Diffstat (limited to 'config.h.cmake.in')
-rw-r--r-- | config.h.cmake.in | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/config.h.cmake.in b/config.h.cmake.in new file mode 100644 index 00000000..2db30860 --- /dev/null +++ b/config.h.cmake.in @@ -0,0 +1,31 @@ +#cmakedefine HAVE_CAIRO +#cmakedefine HAVE_CLOCK_GETTIME +#cmakedefine HAVE_CPU_AFFINITY +#cmakedefine HAVE_FFTW +#cmakedefine HAVE_GTK +#cmakedefine HAVE_GDKPIXBUF +#cmakedefine HAVE_GDK +#cmakedefine HAVE_OPENCL +#cmakedefine HAVE_CL_CL_H +#cmakedefine HAVE_TIFF +#cmakedefine HAVE_XGANDALF +#cmakedefine HAVE_FDIP +#cmakedefine HAVE_CURSES + +/* We avoid adding the full path to cbf.h, because CBFlib unhelpfully installs + * some conflicting HDF5 headers which we want to keep out of the include path. + * Unfortunately, sometimes CBFlib installs cbf/cbf.h, other times cbflib/cbf.h. + * These defines tell whether we have CBFlib at all, and if so, what to #include */ +#cmakedefine HAVE_CBFLIB +#cmakedefine HAVE_CBF_CBF_H +#cmakedefine HAVE_CBFLIB_CBF_H + +#define PACKAGE_VERSION "${PROJECT_VERSION}" + +#define CRYSTFEL_VERSIONSTRING "${PROJECT_VERSION}+${GIT_SHA1}" + +#define CRYSTFEL_BOILERPLATE "License GPLv3+: GNU GPL version 3 or later"\ + " <http://gnu.org/licenses/gpl.html>.\n"\ + "This is free software: you are free to change and redistribute it.\n"\ + "There is NO WARRANTY, to the extent permitted by law.\n\n"\ + "Written by Thomas White and others." |