New answers tagged

0

Note that the recommended way by google is to have your existing project pull the gtest source code in. Alternatively, when using with CMake, you can use add_subdirectory to add the gtest source that came with libgtest-dev since it by default goes into /usr/src/googletest. The following will work add_subdirectory(/usr/src/googletest gtest) ...


Top 50 recent answers are included