Re: [CMake] opencl and visual studio

2014-07-16 Thread Nagy-Egri Máté Ferenc
] On Behalf Of Nagy-Egri Máté Ferenc Sent: Monday, July 14, 2014 4:11 PM To: Boxer, Aaron; cmake@cmake.org Subject: Re: [CMake] opencl and visual studio There are two ways to solve your problem I think. Either create a build rule that copies the .cl files over to your build directory on every

Re: [CMake] opencl and visual studio

2014-07-15 Thread Boxer, Aaron
, Aaron; cmake@cmake.org Subject: Re: [CMake] opencl and visual studio There are two ways to solve your problem I think. 1. Either create a build rule that copies the .cl files over to your build directory on every build. 1. Use a config file that creates a #define with the absolute/relative

[CMake] opencl and visual studio

2014-07-14 Thread Boxer, Aaron
Hello List, I have a cmake project that I am adding opencl support to. I am using the Intel OpenCL sdk, which integrates with Visual Studio. So far, I do the following: 1) I have a cmake script that finds the opencl libraries and include files 2) I manually enable opencl support in

Re: [CMake] opencl and visual studio

2014-07-14 Thread Nagy-Egri Máté Ferenc
There are two ways to solve your problem I think. Either create a build rule that copies the .cl files over to your build directory on every build. Use a config file that creates a #define with the absolute/relative path to the .cl files. As for the OpenCL integration, I did not know that