Misha Brukman | 7ae6ff4 | 2008-12-31 17:34:06 +0000 | [diff] [blame] | 1 | LLVM notes |
| 2 | ---------- |
| 3 | |
| 4 | This directory contains Google Test 1.2.1, with all elements removed except for |
| 5 | the actual source code, to minimize the addition to the LLVM distribution. |
| 6 | |
| 7 | Cleaned up as follows: |
Misha Brukman | e5f9471 | 2009-01-01 02:05:43 +0000 | [diff] [blame] | 8 | |
| 9 | # Remove all the unnecessary files and directories |
Misha Brukman | 7ae6ff4 | 2008-12-31 17:34:06 +0000 | [diff] [blame] | 10 | $ rm -f aclocal* configure* Makefile* CHANGES CONTRIBUTORS README |
| 11 | $ rm -rf build-aux m4 make msvc samples scons scripts test xcode |
Misha Brukman | 7ae6ff4 | 2008-12-31 17:34:06 +0000 | [diff] [blame] | 12 | $ rm -f `find . -name \*\.pump` |
Misha Brukman | e5f9471 | 2009-01-01 02:05:43 +0000 | [diff] [blame] | 13 | |
| 14 | # Move all the source files to the current directory |
Misha Brukman | 3aae44e | 2009-01-01 01:29:44 +0000 | [diff] [blame] | 15 | $ mv src/* . |
| 16 | $ rmdir src |
Misha Brukman | 7ae6ff4 | 2008-12-31 17:34:06 +0000 | [diff] [blame] | 17 | |
Misha Brukman | 715a958 | 2009-01-02 15:28:00 +0000 | [diff] [blame] | 18 | # Move extra headers into the already-existing internal headers dir |
Misha Brukman | e5f9471 | 2009-01-01 02:05:43 +0000 | [diff] [blame] | 19 | $ mv *.h include/gtest/internal/ |
| 20 | |
| 21 | # Update paths to the included files |
| 22 | $ perl -pi -e 's|^#include "src/|#include "gtest/internal/|' *.cc |
| 23 | |
Misha Brukman | 715a958 | 2009-01-02 15:28:00 +0000 | [diff] [blame] | 24 | $ rm -f gtest-all.cc gtest_main.cc |
Misha Brukman | e5f9471 | 2009-01-01 02:05:43 +0000 | [diff] [blame] | 25 | |
Misha Brukman | 105a91a | 2009-01-05 17:42:15 +0000 | [diff] [blame] | 26 | $ mv COPYING LICENSE.TXT |
Jeffrey Yasskin | 9c0c3bf | 2009-09-05 18:16:17 +0000 | [diff] [blame] | 27 | |
| 28 | |
| 29 | Modified as follows: |
| 30 | * To GTestStreamToHelper in include/gtest/internal/gtest-internal.h, |
| 31 | added the ability to stream with raw_os_ostream. |