Creates test executables and RUN-only test scripts for all combinations of:
- CUDA version: all versions found in externals/cuda
- C++ dialect: C++98,C++11
- C++ library: libc++, libstdc++ (for all gcc versions found in externals/cuda)
Supported tests:
- simple CUDA executables (included)
- thrust tests (enabled if if thrust sources are found in externals/cuda)
It's unusual to do stuff like setting CPPFLAGS in a function rather than toplevel. At least in the sense that it is inconsistent with the style in the rest of the test-suite.