When you develop, you modify the ".cl" file. (See the constructor of the sort algorithm).
But when the project is ready for delivery, you generate a new ".h" file (See the .bat file) that contains the ".cl" file.
It allow you to deliver CLPP as a DLL without all the ".cl" file. This way, it is easier to deliver OpenCL code.
Do you understand ?
Krys
What are these DLL files you speak of :p. Yeah, some will want to run clpp on straight cl files, some will want them in DLLs, some will want them compiled into their app statically. We should plan for all. Also, I am writing a short WebCL demo.
But honnestly I don't see any situation where peoples really need to use ".cl" file, except when they work on CLPP !
Krys