Can I build and install PyTorch and LibTorch together only using CMake?

I want to use CMake to build PyTorch and LibTorch instead of using python setup.py install

1 Like