drill code struct common build and install >cd $project_root_dir >cd lib/gtest-1.6.0 >cmake . >make >cd $project_root_dir >mkdir build >cd build >cmake ../ >make >make install >make package(if you want build rpm package)