Added cmake common function to remove duplicated code in CMakefiles.txt files    set_common_build_variables() Tested: Mac OS
Added cmake common function to remove duplicated code in CMakefiles.txt files
   set_common_build_variables()
Tested: Mac OS

Change-Id: Idb80902885c4061e7cdfb2d765519455b24c1039

google/zooshi,google/zooshi,google/zooshi,google/zooshi,google/zooshi