Oat++ for OpenWRT
This is the Oat++ OpenWRT-feed containing build-scripts, options and patches for applications, modules and libraries provided by Oat++.
Oat++ is the modern Web Framework for C++. It’s fully loaded and contains all necessary components for
effective production level development. It’s also light and has small memory footprint.
Join the community
This repository is intended to be layered on-top of an OpenWrt buildroot. If you do not have an OpenWrt buildroot installed, see the documentation at: OpenWrt Buildroot – Installation on the OpenWrt support site.
To install this feed and all its package definitions, run the following in your OpenWRT root-folder:
echo "src-git oatpp https://github.com/oatpp/oatpp-openwrt-feed.git" >> ./feeds.conf
./scripts/feeds update oatpp
./scripts/feeds install -a -p oatpp
Oat++ libraries and options are located in Libraries/Oat++
.
We do not bundle a working LibreSSL recipe/makefile for OpenWRT. You have to create you own to fit your needs.
OpenWRT only ships OpenSSL-1.1 which is not compatible with LibreSSL.
Oat++-OpenWRT behaves differently on OpenWRT then it’s non-embedded version.
Libraries are build as shared objects instead of static libraries, the test-lib is not installed and libraries are symlinked to /usr/lib
.
Build Oat++ libraries and moduels as static or shared libraries. (Default: Shared)
By default, Oat++ is installed to /usr/lib/oatpp.so
To match the desktop-behaviour Oat++ can be installed to /usr/lib/oatpp-<version>/oatpp.so
with this switch
Install the Oat++ testing library. (default: no)
Install the Oat++ testing binary. (default: no, depends on OATPP_INSTALL_TEST_LIB
)
Install the Oat++-LibreSSL testing binary. (default: no, depends on OATPP_INSTALL_TEST_LIB
)
Install the Swagger-UI resources to /usr/share/oatpp-$(PKG_VERSION)/bin/oatpp-swagger/res
(default: y, why would you install swagger if not?)
Install the Oat++-Swagger testing binary. (default: no, depends on OATPP_INSTALL_TEST_LIB
)
Install the Oat++-Websocket testing binary. (default: no, depends on OATPP_INSTALL_TEST_LIB
)
See LICENSE file.