Added a platform check cmake file for future platform checking.
Merge remote-tracking branch 'origin/develop' into sync_log_flush