I am trying to build libtorch in order to get what comes in this zip https://download.pytorch.org/libtorch/nightly/cpu/libtorch-shared-with-deps-latest.zip 3 , mainly libs, headers and a FindCMake in order to be able to link to the libraries when building my c++ inference code.
Until now I couldn’t find any tutorial or example on how to do that, I am not interested in running python scripts that build everything, I just want to create a build directory and run cmake with some flags, then make. I’ve seen it done in some other questons but details were lacking.