fix for CUDA release/debug argument to custom command. used CMake generator expressions to resolve this without manual build option.