Freitag, 27. Januar 2017

Using gTest in Eclipse CDT on Archlinux

Install gmock:
# pacman -S gmock

I'm using Clang and LLVM to compile my project. Install the C/C++ LLVM-Family Compiler Build Support plugin if you want to have support for creating projects using Clang. In the C/C++ Build settings you have to add the following two libaries:
gtest_main
gtest

Keine Kommentare:

Kommentar veröffentlichen