在命令行使用nvcc编译代码的时候,受到了windows命令行指令长度不能超过8191个字符的限制,该如何解决?

如题。我在英文论坛上也提问了(顺便吐槽一下,原来同个邮箱在中英文两个论坛上是两个账户)
How can I solve the nvcc link error due to command line length limit on windows platform? - CUDA / CUDA NVCC Compiler - NVIDIA Developer Forums