added cmake stuff for simulator - untested
Merge remote-tracking branch 'origin/cmake-sim' into cmake2
finished porting simulator build to cmake