Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
libcifpp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
libcifpp
Commits
106ae389
Unverified
Commit
106ae389
authored
Mar 28, 2023
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update readme
parent
f1a52245
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
16 deletions
+14
-16
README.md
+14
-16
No files found.
README.md
View file @
106ae389
...
...
@@ -22,22 +22,20 @@ 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.
On linux e.g. you would issue the following commands:
```
git clone https://github.com/PDB-REDO/libcifpp.git
cd libcifpp
cmake -S . -B build -DCMAKE_INSTALL_PREFIX=$HOME/path/to/libcifpp/ -DCMAKE_BUILD_TYPE=Release
cmake --build build
cmake --install build
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
cd
libcifpp
cmake
-S
.
-B
build
-DCMAKE_INSTALL_PREFIX
=
$HOME
/.local
-DCMAKE_BUILD_TYPE
=
Release
cmake
--build
build
cmake
--install
build
```
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
`%LOCALAPPDATA%`
on Windows (the AppData/Local folder in your home directory).
You can change this by specifying the prefix with the
[
CMAKE_INSTALL_PREFIX
](
https://cmake.org/cmake/help/v3.21/variable/CMAKE_INSTALL_PREFIX.html
)
variable.
This checks out the source code from github, creates a new directory
where cmake stores its files. Run a configure, build the code and then
it installs the library and auxiliary files.
If you want to run the tests before installing, you should add
`-DENABLE_TESTING=ON`
to the first cmake command.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment