* Removed gtest-all.cc; .cc files including other .cc files is weird
* Removed gtest_main.cc: we have our own main() elsewhere
* Simplified the Makefile as we don't need SOURCES
* Moved the internal header to gtest/internal/
* Simplified the Makefile to remove -I param to CPP.Flags
* Updated README.LLVM with all the steps I took to massage GTest to
work in LLVM so far
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61540 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/unittest/googletest/README.LLVM b/utils/unittest/googletest/README.LLVM
index 38a77c0..4b72047 100644
--- a/utils/unittest/googletest/README.LLVM
+++ b/utils/unittest/googletest/README.LLVM
@@ -5,10 +5,23 @@
the actual source code, to minimize the addition to the LLVM distribution.
Cleaned up as follows:
+
+# Remove all the unnecessary files and directories
$ rm -f aclocal* configure* Makefile* CHANGES CONTRIBUTORS README
$ rm -rf build-aux m4 make msvc samples scons scripts test xcode
$ rm -f `find . -name \*\.pump`
+
+# Move all the source files to the current directory
$ mv src/* .
$ rmdir src
+# Move the extra header into the already-existing internal headers dir
+$ mv *.h include/gtest/internal/
+
+# Update paths to the included files
+$ perl -pi -e 's|^#include "src/|#include "gtest/internal/|' *.cc
+
+# We have our own main() .
+$ rm -f gtest_main.cc
+
For the license, see the file COPYING in this directory.