foamRun configured with CMake

Set up and run foamRun-based applications compiled via cmake.