cmake, put box2d config on its own file

Authored by jjazeix on Oct 10 2018, 3:28 PM.