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`
|
2017-06-10 13:15:59 +00:00
|
|
|
`cmake -DCMAKE_INSTALL_PREFIX=./install -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=True ../src`
|
|
|
|
|
|
|
|
Build the project.
|
|
|
|
`make`
|
|
|
|
|
2017-06-10 13:17:37 +00:00
|
|
|
Optionally install the project to where CMAKE\_INSTALL\_PREFIX was set.
|
2017-06-10 13:15:59 +00:00
|
|
|
`make install`
|
|
|
|
|