| | |
| | | # Build - Linux |
| | | |
| | | ## Install prerequisites |
| | | Below the prerequisites for compiling open-license-manager. For developing it we use Eclipse. Recent CDT works smoothly with CMake. Remember to install the Ninja package as build system and Cmake Gui for a good eclipse integration. |
| | | Below the prerequisites for compiling `open-license-manager`. For developing it we use Eclipse. |
| | | Recent CDT works smoothly with CMake. Remember to install the Ninja package as build system and Cmake Gui for a good eclipse integration. |
| | | |
| | | ### Ubuntu |
| | | Supported Ubuntu distributions are 18.04 (Bionic Beaver) and 16.04 (Xenial) though it should be possible to build on any recent Ubuntu version. |
| | | Supported Ubuntu distributions are 20.04 (Focal Fossa), 18.04 (Bionic Beaver) and 16.04 (Xenial). It should be possible to build on any recent Ubuntu (debian like) version. |
| | | |
| | | Install prerequisites: |
| | | |
| | |
| | | cmake -DCMAKE_TOOLCHAIN_FILE=../modules/toolchain-ubuntu-mingw64.cmake -DOPENSSL_ROOT_DIR=$CUR_PATH/openssl-OpenSSL_1_1_1d/dist -DCMAKE_FIND_DEBUG_MODE=ON -DOPENSSL_USE_STATIC_LIBS=ON -DBOOST_ROOT=$CUR_PATH/boost_1_71_0/dist .. |
| | | |
| | | ``` |
| | | |
| | | ###Build documentation |
| | | |
| | | Setup the python virtual environment: |
| | | |
| | | ``` |
| | | python3 -m venv .venv |
| | | |
| | | . .venv/bin/activate |
| | | pip install wheel |
| | | pip install -r requirements.txt |
| | | |
| | | ``` |
| | | |
| | | Build the docs: |
| | | |
| | | ``` |
| | | . .venv/bin/activate |
| | | cd build |
| | | cmake .. |
| | | make documentation |
| | | ``` |