Commit c17809bc authored by Stephan Szabo's avatar Stephan Szabo

VS: Select CUDA code generation architectures

Original header commit v3.9.0-rc1~431^2~4

Parse the `-gencode=`, `-arch`, and `-code` flags and generate a
`CodeGeneration` field in the project file.
parent 73ce99cb
......@@ -48,5 +48,117 @@
"flags": [
"UserFollowing"
]
},
{
"name": "cmake-temp-gencode",
"switch": "gencode=",
"comment": "",
"value": "",
"flags": [
"UserValue",
"SemicolonAppendable"
]
},
{
"name": "cmake-temp-gencode",
"switch": "gencode",
"comment": "",
"value": "",
"flags": [
"UserFollowing",
"SemicolonAppendable"
]
},
{
"name": "cmake-temp-gencode",
"switch": "-generate-code=",
"comment": "",
"value": "",
"flags": [
"UserValue",
"SemicolonAppendable"
]
},
{
"name": "cmake-temp-gencode",
"switch": "-generate-code",
"comment": "",
"value": "",
"flags": [
"UserFollowing",
"SemicolonAppendable"
]
},
{
"name": "cmake-temp-code",
"switch": "code=",
"comment": "",
"value": "",
"flags": [
"UserValue"
]
},
{
"name": "cmake-temp-code",
"switch": "code",
"comment": "",
"value": "",
"flags": [
"UserFollowing"
]
},
{
"name": "cmake-temp-code",
"switch": "-gpu-code=",
"comment": "",
"value": "",
"flags": [
"UserValue"
]
},
{
"name": "cmake-temp-code",
"switch": "-gpu-code",
"comment": "",
"value": "",
"flags": [
"UserFollowing"
]
},
{
"name": "cmake-temp-arch",
"switch": "arch=",
"comment": "",
"value": "",
"flags": [
"UserValue"
]
},
{
"name": "cmake-temp-arch",
"switch": "arch",
"comment": "",
"value": "",
"flags": [
"UserFollowing"
]
},
{
"name": "cmake-temp-arch",
"switch": "-gpu-architecture=",
"comment": "",
"value": "",
"flags": [
"UserValue"
]
},
{
"name": "cmake-temp-arch",
"switch": "-gpu-architecture",
"comment": "",
"value": "",
"flags": [
"UserFollowing"
]
}
]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment