Google Test Configure

Aug 16, 2015

The following instructions guide you to use gtest in Claims.


You can either download it from, or from imdb@:


    [~]$ unzip


The aim of build is to create libgtest.a.

    [~]$ cd gtest-1.7.0
    [wangli@Robert gtest-1.7.0]$  g++ -isystem include -I./       -pthread -c src/
    [wangli@Robert gtest-1.7.0]$ ar -rv libgtest.a gtest-all.o

4.Configure the settings of your eclipse

add include : /home/imdb/supports/gtest-1.7.0/include

add /home/imdb/supports/gtest-1.7.0/libgtest.a into “GCC C++ Linker–>Miscellaneous–>Other object”

    If you have any question, do not hesitate to contract us. Email: