2017-06-10 13:15:59 +00:00
|
|
|
|
|
|
|
# Compiling
|
|
|
|
|
|
|
|
Create a build directory.
|
|
|
|
`mkdir build`
|
|
|
|
|
|
|
|
Generate makefile with CMake.
|
2017-06-10 13:16:55 +00:00
|
|
|
`cd build`
|
2018-05-21 07:49:37 +00:00
|
|
|
`cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=True ../src`
|
2017-06-10 13:15:59 +00:00
|
|
|
|
|
|
|
Build the project.
|
|
|
|
`make`
|
|
|
|
|
2018-05-21 07:49:37 +00:00
|
|
|
Optionally install the project to where you want to.
|
|
|
|
`make DESTDIR=install_here install`
|
2017-06-10 13:15:59 +00:00
|
|
|
|