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

Change-Id: I2c530df3e81727be9c822514580a20b31365caf2
Tested: Mac OS

google/pindrop,google/pindrop,google/pindrop