I would like to have a high level view of how this works. I know that CMake creates configuration files required by the platform to compile. Can it be used to generate DLLs under windows and “.SO” under linux seamlessly?? I just need some perspective about CMake and this script for CUDA.
To answer your first question, I would highly suggest reading the CMake manual, specifically the “running CMake” guide. http://www.cmake.org/cmake/help/runningcmake.html CMake is capable of outputting makefils and/or IDE project files in a variety of formats depending on platform.
To answer your 2nd question, yes: you can create shared libraries seamlessly across platforms. That is the whole point of CMake!