How to build libtorch statically?

I am building a project in windows for which I require static build of libtorch. Any Idea on how to do it?