Commit 73ce99cb authored by Stephan Szabo's avatar Stephan Szabo

VS: Select the CUDA runtime library

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

Parse the `-cudart=` option and add a corresponding `CudaRuntime`
field to the generated project file.  Also add a matching `.lib`
to the list of libraries linked.
parent f044bbbf
......@@ -18,5 +18,35 @@
"UserFollowing",
"SpaceAppendable"
]
},
{
"name": "CudaRuntime",
"switch": "cudart=none",
"comment": "No CUDA runtime library",
"value": "None",
"flags": []
},
{
"name": "CudaRuntime",
"switch": "cudart=shared",
"comment": "Shared/dynamic CUDA runtime library",
"value": "Shared",
"flags": []
},
{
"name": "CudaRuntime",
"switch": "cudart=static",
"comment": "Static CUDA runtime library",
"value": "Static",
"flags": []
},
{
"name": "CudaRuntime",
"switch": "cudart",
"comment": "CUDA runtime library",
"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