simulation: initial cmake support

Added rudimentary cmake. Does not work on OSX yet (stdafx.h issues)