16 lines
319 B
Markdown
16 lines
319 B
Markdown
|
|
# Compiling
|
|
|
|
Create a build directory.
|
|
`mkdir build`
|
|
|
|
Generate makefile with CMake.
|
|
`cd build`
|
|
`cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=True ../src`
|
|
|
|
Build the project.
|
|
`make`
|
|
|
|
Optionally install the project to where you want to.
|
|
`make DESTDIR=install_here install`
|
|
|