aspriddell / csdl

A server-focused libtorrent wrapper for C#
Other
2 stars 1 forks source link

csdl native source code #1

Closed leandroconsiglio closed 3 weeks ago

leandroconsiglio commented 3 weeks ago

Hi!, I found the project very interesting. Reviewing the code I could not find the source code of csdl.native. Could you upload the csdl.native code? I'm interested in seeing how you managed to compile and generate the libtorrent library and then consume it from csdl. Thank you!

aspriddell commented 3 weeks ago

All the csdl.Native contents are built from the native folder:

The project uses vcpkg as a package manager to install libtorrent, and is then made available to the c++ project via CMakeLists.txt, though if you were to clone/experiment with the native-side you'd need to setup your environment to use it (either using the submodule or cloning it somewhere centrally and configuring CMake to use it)

leandroconsiglio commented 3 weeks ago

Thank you. I get the point,