The following describes how to checkout and compile the sources
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
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
Install requirements:
sudo apt-get install libcurl4-gnutls-dev
Run cmake as normal:
mkdir build && cd build
cmake ../
Run the tests:
make check
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 the repository to the current version:
git pull
Install doxygen:
sudo apt-get install doxygen graphviz
Compile it:
make doc