blob: 4b720478daa70adad72acd5ebaf517e2953aded7 [file] [log] [blame]
Misha Brukman7ae6ff42008-12-31 17:34:06 +00001LLVM notes
2----------
3
4This directory contains Google Test 1.2.1, with all elements removed except for
5the actual source code, to minimize the addition to the LLVM distribution.
6
7Cleaned up as follows:
Misha Brukmane5f94712009-01-01 02:05:43 +00008
9# Remove all the unnecessary files and directories
Misha Brukman7ae6ff42008-12-31 17:34:06 +000010$ rm -f aclocal* configure* Makefile* CHANGES CONTRIBUTORS README
11$ rm -rf build-aux m4 make msvc samples scons scripts test xcode
Misha Brukman7ae6ff42008-12-31 17:34:06 +000012$ rm -f `find . -name \*\.pump`
Misha Brukmane5f94712009-01-01 02:05:43 +000013
14# Move all the source files to the current directory
Misha Brukman3aae44e2009-01-01 01:29:44 +000015$ mv src/* .
16$ rmdir src
Misha Brukman7ae6ff42008-12-31 17:34:06 +000017
Misha Brukmane5f94712009-01-01 02:05:43 +000018# Move the extra header into the already-existing internal headers dir
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
24# We have our own main() .
25$ rm -f gtest_main.cc
26
Misha Brukman7ae6ff42008-12-31 17:34:06 +000027For the license, see the file COPYING in this directory.