cmVS10CudaFlagTable.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. static cmVS7FlagTable cmVS10CudaFlagTable[] = {
  2. // Collect options meant for the host compiler.
  3. { "AdditionalCompilerOptions", "Xcompiler=", "Host compiler options", "",
  4. cmVS7FlagTable::UserValue | cmVS7FlagTable::SpaceAppendable },
  5. { "AdditionalCompilerOptions", "Xcompiler", "Host compiler options", "",
  6. cmVS7FlagTable::UserFollowing | cmVS7FlagTable::SpaceAppendable },
  7. // Select the CUDA runtime library.
  8. { "CudaRuntime", "cudart=none", "No CUDA runtime library", "None", 0 },
  9. { "CudaRuntime", "cudart=shared", "Shared/dynamic CUDA runtime library",
  10. "Shared", 0 },
  11. { "CudaRuntime", "cudart=static", "Static CUDA runtime library", "Static",
  12. 0 },
  13. { "CudaRuntime", "cudart", "CUDA runtime library", "",
  14. cmVS7FlagTable::UserFollowing },
  15. // Capture arch/code arguments into temporaries for post-processing.
  16. { "cmake-temp-gencode", "gencode=", "", "",
  17. cmVS7FlagTable::UserValue | cmVS7FlagTable::SemicolonAppendable },
  18. { "cmake-temp-gencode", "gencode", "", "",
  19. cmVS7FlagTable::UserFollowing | cmVS7FlagTable::SemicolonAppendable },
  20. { "cmake-temp-gencode", "-generate-code=", "", "",
  21. cmVS7FlagTable::UserValue | cmVS7FlagTable::SemicolonAppendable },
  22. { "cmake-temp-gencode", "-generate-code", "", "",
  23. cmVS7FlagTable::UserFollowing | cmVS7FlagTable::SemicolonAppendable },
  24. { "cmake-temp-code", "code=", "", "", cmVS7FlagTable::UserValue },
  25. { "cmake-temp-code", "code", "", "", cmVS7FlagTable::UserFollowing },
  26. { "cmake-temp-code", "-gpu-code=", "", "", cmVS7FlagTable::UserValue },
  27. { "cmake-temp-code", "-gpu-code", "", "", cmVS7FlagTable::UserFollowing },
  28. { "cmake-temp-arch", "arch=", "", "", cmVS7FlagTable::UserValue },
  29. { "cmake-temp-arch", "arch", "", "", cmVS7FlagTable::UserFollowing },
  30. { "cmake-temp-arch", "-gpu-architecture=", "", "",
  31. cmVS7FlagTable::UserValue },
  32. { "cmake-temp-arch", "-gpu-architecture", "", "",
  33. cmVS7FlagTable::UserFollowing },
  34. { 0, 0, 0, 0, 0 }
  35. };