title: How to compile CUDA C files and Nvidia OptiX files inside the same Visual Studio project
body: <p>I am currently using the Optix ray tracing engine on Visual Studio. My problem consists of computing data and rendering them with Optix.</p>
  
  <p>I have already written a pure C CUDA program to compute the data, but I cannot integrate it inside my Optix project.</p>
  
  <p>I compiled my Optix project by using the SDK's CMakeLists.txt and modifying it. Any insight on how to make my project compile the C CUDA files (.cu) as well as the Optix Kernels (also .cu) in the same VS project?</p>