This is a collection of services for Cloudsumé to run untrusted code. Eventhough it is written in C# but there are some parts that are written in C++, which is depend on Linux. That mean it cannot be run on Windows.
- .NET 6 SDK
- CMake
- GCC with C++
- Poppler
cmake -D CMAKE_BUILD_TYPE=Release -S cpp -B cpp/build
cmake --build cpp/build && cmake --install cpp/build --prefix dotnet/Cloudsume.Native
If the target machine has .NET runtime installed, run:
dotnet publish -c Release -o dist dotnet/Cloudsume.Services
Otherwise run:
dotnet publish -c Release -o dist -r linux-x64 dotnet/Cloudsume.Services
dist
directory will contains the output binary. Please note that the output binary should be running on the same distro version as the builder.
- Poppler
- XeTeX
Restore NuGet packages before open the VS Code:
dotnet restore dotnet/Cloudsume.sln
Once VS Code is opened change the CMake target on the status bar from [all]
to [install]
then click on Build
.
GNU AGPLv3