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: Ic3b2a214f662295bd0cda6ad21c7c3c1e8c128c1
Tested: Mac OS

google/fplbase,google/fplbase,google/fplbase,google/fplbase