I'm not sure if this is possible but it would be great if there was a checkbox option in CMake to create launchers for the examples based on the platform that is being used. For example, under Windows it would create a batch file that sets the appropriate PATH for the libraries that are needed. Under Linux, maybe it's a BASH script that appends the LD_LIBRARY_PATH for the library.
Thoughts?