Basic template for C++ development using Google Test/Mock and Cygwin With Eclipse-CDT.
- Install Cygwin as described in this blog
- Install latest Eclipse-CDT
- Download latest Google-Test
a. Open Cygwin (find the install directory for Cygwin and double-click on Cygwin.bat).
b. Change the current working directory to the unzipped GoogleTest make directory: cd c:/<<yourpath>>/gtest-1.7.0/make/
c. Build the project: make
d. Create an archived library out of the gtest-all.o file: ar -rv libgtest.a gtest-all.o