Added the excellent CMakeLists.txt example from http://stackoverflow.com/questions/9689183/cmake-googletest/9695234#9695234
Updated to the latest gtest revision (671), renamed the intermediate ThirdParty directory to extern, and removed the MSVC 2012 patch for now - it can be re-evaluated against the current gtest trunk sometime in the future.
Removed the sample main.cpp export from the CMakeLists.txt file, and added the exported version instead.
Consistent indentation.
Added a second test program; just a proof of concept at this stage.
Two test cases; one executable.
Use the default main function in gtest_main.
ExternalProject_Add was added in 2.8.0 RC 1 - http://www.cmake.org/files/v2.8/CMakeChangeLog-2.8.0
Some stylistic tweaks.
Renamed the MainTest project to test.
Use the built-in CMAKE_STATIC_LIBRARY_SUFFIX instead of the custom Suffix variable.
Inverted logic simplification.
Added base README file.
Added shell syntax highlighting, and a final `cd ..`
Added pushd/popd example too (just for fun, really).
Prevented cmake updating the googletest svn checkout everytime we build (eg by running make). This is a necessary compromise, since otherwise, running unit tests is slow, which is of course against the phillisophy of unit testing.
Added a custom 'check' target a la GNU's Standard Targets for Users (http://www.gnu.org/prep/standards/html_node/Standard-Targets.html).
Added tests for the pcp::unit class.
Added some constness.
Correct the semantics of the EXPECT_EQ macros.