Commit 71908282 by Maarten L. Hekkelman

merged from trunk

parent 6af0d96a
...@@ -22,25 +22,20 @@ Building ...@@ -22,25 +22,20 @@ Building
This library uses [cmake](https://cmake.org). The usual way of building This library uses [cmake](https://cmake.org). The usual way of building
and installing is to create a `build` directory and run cmake there. and installing is to create a `build` directory and run cmake there.
On linux e.g. you would issue the following commands: On linux e.g. you would issue the following commands to build and install
libcifpp in your `$HOME/.local` folder:
``` ```bash
git clone https://github.com/PDB-REDO/libcifpp.git git clone https://github.com/PDB-REDO/libcifpp.git
cd libcifpp cd libcifpp
mkdir build cmake -S . -B build -DCMAKE_INSTALL_PREFIX=$HOME/.local -DCMAKE_BUILD_TYPE=Release
cd build cmake --build build
cmake .. cmake --install build
cmake --build . --config Release
ctest -C Release
cmake --install .
``` ```
This checks out the source code from github, creates a new directory
where cmake stores its files. Run a configure, build the code and run
tests. And then it installs the library and auxiliary files.
The default is to install everything in `$HOME/.local` on Linux and This checks out the source code from github, creates a new directory
`%LOCALAPPDATA%` on Windows (the AppData/Local folder in your home directory). where cmake stores its files. Run a configure, build the code and then
You can change this by specifying the prefix with the it installs the library and auxiliary files.
[CMAKE_INSTALL_PREFIX](https://cmake.org/cmake/help/v3.21/variable/CMAKE_INSTALL_PREFIX.html)
variable.
If you want to run the tests before installing, you should add `-DENABLE_TESTING=ON`
to the first cmake command.
...@@ -4,6 +4,7 @@ Version 5.0.9 ...@@ -4,6 +4,7 @@ Version 5.0.9
- Writing twin domain info in PDB files and more PDB fixes - Writing twin domain info in PDB files and more PDB fixes
- remove_atom improved (remove struct_conn records) - remove_atom improved (remove struct_conn records)
- Added a specialisation for category::find1<std::optional> - Added a specialisation for category::find1<std::optional>
- fix memory leak in category
Version 5.0.8 Version 5.0.8
- implemented find_first, find_min, find_max and count in category - implemented find_first, find_min, find_max and count in category
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment