cross compilation tools
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
I was cross compiling VTK for win32 on a linux host using mingw-cross-env. I had to run a native build first in order to use the compile tools. Unfortunately, the compile tools H5detect, H5make_libsettings and ${KWSYS_NAMESPACE}EncodeExecutable are built and run during a cross compilation, which will only work with a wine installation. I came up with a patch for kwsys and vtkhdf5 (see attachments) to build the tools on a native compile and export them similar to the other compile tools. I also added a "CompileTools" target in the main CMakeLists.txt file to only build the compile tools during the native build.