Um unser backend auch unter Linux laufen lassen zu können, müssen wir es darunter kompilieren.
Tutorial von Microsoft
https://docs.microsoft.com/de-de/cpp/build/get-started-linux-cmake?view=vs-2019
Proof-of-Concept
Hierfür müssen zuerst die Dependencies erfüllt sein, das machen wir mit vcpkg:
apt-get install -y curl unzip tar git bison flex
git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.sh
./vcpkg integrate install
./vcpkg install pthreads
./vcpkg install paho-mqtt
./vcpkg install poco