Misha Brukman | 7ae6ff4 | 2008-12-31 17:34:06 +0000 | [diff] [blame] | 1 | LLVM notes |
| 2 | ---------- |
| 3 | |
Benjamin Kramer | aede811 | 2010-06-03 17:11:49 +0000 | [diff] [blame] | 4 | This directory contains Google Test 1.5.0, with all elements removed except for |
Misha Brukman | 7ae6ff4 | 2008-12-31 17:34:06 +0000 | [diff] [blame] | 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 |
Benjamin Kramer | 4839d87 | 2010-06-02 22:02:57 +0000 | [diff] [blame] | 10 | $ rm -f aclocal* CMakeLists.txt configure* Makefile* CHANGES CONTRIBUTORS README |
| 11 | $ rm -rf build-aux codegear fused-src m4 make msvc samples 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 | 105a91a | 2009-01-05 17:42:15 +0000 | [diff] [blame] | 24 | $ mv COPYING LICENSE.TXT |
Jeffrey Yasskin | 9c0c3bf | 2009-09-05 18:16:17 +0000 | [diff] [blame] | 25 | |
| 26 | |
| 27 | Modified as follows: |
| 28 | * To GTestStreamToHelper in include/gtest/internal/gtest-internal.h, |
| 29 | added the ability to stream with raw_os_ostream. |
Nick Lewycky | ec4c02d | 2010-06-23 06:48:34 +0000 | [diff] [blame] | 30 | * To refresh Haiku support in include/gtest/internal/gtest-port.h, |
| 31 | see http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20100621/102898.html |