Factor the logic for setting up a GoogleTest unit test executable into
authorChandler Carruth <chandlerc@gmail.com>
Thu, 21 Jun 2012 05:16:58 +0000 (05:16 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Thu, 21 Jun 2012 05:16:58 +0000 (05:16 +0000)
commitb60182e99b97f31756b013022d94fcfb1aa0be73
treea066762cd1cab367114478a9d7927aa24fb15391
parentb1081af7a283a03b37a8dd7f6adbc4f743b2cc00
Factor the logic for setting up a GoogleTest unit test executable into
a helper function in CMake. This will allow us to share all of this
logic with Clang, and eventually CompilerRT.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158896 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/AddLLVM.cmake
unittests/CMakeLists.txt