Adding support for flowing compilation settings to views

Fixes #871
Consider just pulling this out into it's own static class.