I have a cmake project that I have started adding opencl support to.
For those of you who are not familiar with it, cmake is a cross-platform build system.
Typically, the ide project files reside in a folder separate from the source files.
So, I have everything working now, but I find that I have to specify the absolute path of all *.cl files
when reading in the opencl source before compiling with clCreateProgramWithSource.
Is there a way of using relative paths? I can use relative paths when I create the visual studio project
manually, when all *.cl files are in the usual source directory inside the project directory.