How to set up googleTest as a shared library on Linux

后端 未结 12 2656
北荒
北荒 2020-11-28 01:04

Debian does not provide any precompiled packages for gTest anymore. They suggest you integrate the framework into your project\'s makefile. But I want to keep my makefile cl

12条回答
  •  忘掉有多难
    2020-11-28 01:57

    This will install google test and mock library in Ubuntu/Debian based system:

    sudo apt-get install google-mock
    

    Tested in google cloud in debian based image.

提交回复
热议问题