Functionize setting cmake dirs, cover backbone and tests.
Functionize setting cmake dirs, cover backbone and tests.

jesserayadkins/lily,FascinatedBox/lily,jesserayadkins/lily,FascinatedBox/lily,FascinatedBox/lily,FascinatedBox/lily,jesserayadkins/lily