Hi guys
This is a complete rewrite and cleanup of the CMAKE build files for LuxRays
The previous version implemented many commands for one platform
only but failed to specify those commands as such.
Sadly there is no awk or cat on windows thats why I've split
up those build commands into win32 and *nix sections.
Win32 uses a small c# program that I've supplied as source and
binary that will take care of copying the kernel .cl files into the cpp files.
Please see the Configuration.cmake file for instructions on supplying
your own / private build variables. This is done by appending
"-DLUXRAY_CUSTOM_CONFIG=YouFileCName" to the cmake call.
I've gone to great lengths ensuring the I've done nothing that
breaks builds on other platforms but as Murphy has it I'm sure
there are a couple of rough edges.
Notably missing at the moment are compiler flags for MSVC 9, but a brave soul
could use the ones from MSVC 10. If the patch gets merged in I'll see to
have that filled in as well.
The .hqignore file will now includes the automatically generated build
directories for MSVC.
Some of the new cmake files are taken / based on the OGRE cmake build files
where they are available as public domain.
cheers
amir aka foobarbarian
