How to generate a usable lib with Visual Studio


I compile a projet library with cuda on ubuntu with QtCreator but I had to compile it on Windows.

I add to use Visual Studio because, it seems that I can compile with QtCreator on Window multiple .cu file project… so I use Visual Studio.

Is there a example of compiled project cuda on Windows ?
Because I can compile the lib or the dll file but I still have error when I try to use the generated file.

Where could I get a example, please?