- Prepare environment by sourcing script prepare-env.sh
source scripts/prepare-env.sh
- Create build directory
mkdir build
- Generate Makefile (or another build script by chosing different generator in cmake command)
cd build
cmake ..
- Build application
cmake --build .
Because in the project there is no libraries' types specified, you can choose what type you need by passing -DBUILD_SHARED_LIBS=ON/OFF
switch do cmake
command, e.g.
cmake .. -DBUILD_SHARED_LIBS=ON
Above command will generate all unspecified libraries added using add_library()
as shared