Skip to content

Latest commit

 

History

History
96 lines (51 loc) · 1.52 KB

README.md

File metadata and controls

96 lines (51 loc) · 1.52 KB

Home-Port Consolidated Release

The following describes how to checkout and compile the sources

Checkout

Install git:

sudo apt-get install git

Clone the repository:

git clone https://github.com/home-port/HomePort.git HomePort

Switch branch:

cd HomePort

git checkout ConsolidatedRelease

Compile

Install the dependencies:

sudo apt-get install gcc make libev-dev cmake

Compile:

It is advised to compile in a seperate directory:

mkdir build && cd build

First build your makefiles with cmake:

cmake ../

Then compile:

make

Run tests

Install requirements:

sudo apt-get install libcurl4-gnutls-dev

Run cmake as normal:

mkdir build && cd build

cmake ../

Run the tests:

make check

Build examples

Run cmake as normal:

mkdir build && cd build

cmake ../

Build examples

make example

Example executables can be found in the various example directories within the build folder.

Update

Update the repository to the current version:

git pull

Build API Documentation

Install doxygen:

sudo apt-get install doxygen graphviz

Compile it:

make doc

List of various useful links