Oh wow, so this CMake builds a project with both pytorch and the TWS API in C++? Thank you so much
Yes. You're very welcome.
Just bear in mind that the process will be a little different for you since you're on Windows. For example, in order for me to get my stack ready I only needed to download the TWS API and the rest was set up using aptitude install cmake libtorch-dev libintelrdfpmath-dev
.
I also don't know if WIndows supports genuine symbolic links so you may have to copy more stuff around than otherwise necessary.
In addition, you'll need to fiddle w/ the target_link_libraries for your specific needs. The bullet-points I mentioned should be most, if not everything, you need to "wrap your mind around" though.
-Good luck