This document explains how to build and run OpenEEBUS by NIBE on a Linux system for development and testing.
Make sure you have installed the required dependencies. This includes the development files needed, such as headers and CMake configuration files.
You also need to make sure you have a GCC toolchain with CMake installed.
- Create a build subdirectory under the repository and change working directory to it
mkdir build && cd build
- Run CMake to configure the project. In the example we use the
ninjabuild tool, but other build tools should work similarly.cmake -GNinja ..
- Build the application
ninja
The examples are built within the OpenEEBUS repository and no additional repository is needed.
cd build
./hemscd build
./heat_pump- Start by creating a build subdirectory under the tests
cd tests && mkdir build && cd build
- Configure the project using CMake. In this example we use the
ninjabuild tool.cmake -GNinja ..
- Build the project
ninja
- Run the unit tests
ctest