mirror of
https://github.com/PDB-REDO/libcifpp.git
synced 2026-06-04 13:54:25 +08:00
git-svn-id: svn+ssh://gitlab/srv/svn-repos/pdb-redo/trunk@432 a1961a4f-ab94-4bcc-80e8-33b5a54de466
1.5 KiB
1.5 KiB
libcif++ and pdb-redo tools
This is the README file for libcif++ and the suite of PDB-REDO tools using this library.
Requirements
The code for this library was written in C++14. You therefore need a recent compiler to be able to build it.
Other requirements are:
- GNU make version 4.1 or higher.
- Boost libraries, the current version was developed using version 1.65
- mrc, a resource compiler that allows including data files into the executable making them easier to install. Strictly this is optional, but at the expense of a lot of functionality.
- newuoa-cpp, required to calculate atom radii.
- libzeep, a library that contains a full validating XML parser as well as a complete HTTP and SOAP server implementation.
- nlohmann/json, a header only library to parse and write JSON. This requirement will be removed in a future release (once libzeep 4 is out of beta).
Make sure you install the libraries and tools in this list first before building. You don't have to install them in system locations, paths can be set as described in the next section.
Building
There are two makefiles, one located in the directory libcif++ and one in tools.
Both makefiles will include a make.config file (which will be generated if it doesn't exist). This configuration file can be used to override local settings, e.g. the location of certain libraries.