In order to get a more universal solution to my mathematica_cuda plugin, one that works on Windows as well as on Mac and Linux, I decided to use CMake, which comes with the excellent FindCUDA module together with a MathLink module which would offer the same functionality as the current mathematica_cuda plugin, plus more.
I looked on the web if someone else had already written such a module for MathLink, and in the end found Erik Franken who sent me a version he had modified from a version by Jan Woetzel and others:
By this time I had a version on github which I wrote up. Feel free to download it from here.
Recently Markus van Almsick sent me a more advanced version which I will integrate into my version soon.
This looks awesome! Looking forward to trying it now.