CUDA: -gencode with multiple code targets is improperly parsed
The gencode
flag for NVCC has multiple signatures, one of which allows for multiple code generation targets using the same arch architecture.
The multiple code have either of the following forms:
-gencode arch=compute_20,code=\"sm_20,compute_20\"
-gencode arch=compute_20,code=[sm_20,compute_20]
The logic for converting gencode flags inside the VisualStudio Generator needs to be updated to handle these signatures.
See: https://www.mail-archive.com/cmake@cmake.org/msg57542.html