| OLD | NEW |
| (Empty) |
| 1 This contains a stripped down version of TR1::Boost version 1.36.0. It | |
| 2 contains only the files required to use tr1::tuple in Visual Studio 2005. | |
| 3 All other files have been removed. The original packing of Boost tuple used | |
| 4 to create this version was taken from the googlemock project download page: | |
| 5 | |
| 6 http://googlemock.googlecode.com/files/boost_tr1_tuple_1_36_0.zip | |
| 7 | |
| 8 This code is released under the Boost Software License - Version 1.0. See | |
| 9 boost_1_36_0/LICENSE_1_0.txt for details. | |
| 10 | |
| 11 Steps to reproduce stripped down package: | |
| 12 1) Download from | |
| 13 http://googlemock.googlecode.com/files/boost_tr1_tuple_1_36_0.zip | |
| 14 2) Unzip the package. This will create the boost_1_36_0 directory. | |
| 15 3) Create a .cpp file with one line: | |
| 16 #include <tuple> | |
| 17 4) Run this file through the Visual C++ preprocessor, making sure that the | |
| 18 same compiler options (/I, /D, etc) are the same as for the the rest | |
| 19 project, and that #{BOOST_ROOT}/boost/tr1/tr1;${BOOST_ROOT} are added | |
| 20 to the include path path. To get the preprocess output in Visual Studio, | |
| 21 select the .cpp file, go to Properties | C/C++ | Preprocessor, and set | |
| 22 "Generate Preprocessed File" to Yes. | |
| 23 *5) In the preprocessed file, find all header files referenced in the | |
| 24 boost_1_36_0 subdirectory. | |
| 25 6) For each file in the boost_1_36_0 directory, if it is not referenced in | |
| 26 the list produced in step 5, delete it. | |
| 27 | |
| 28 The result should be 389 files, at about 2.4 megs. Adding in the | |
| 29 LICENSE_1_0.txt file brings the distribution to an even 390 files. | |
| 30 | |
| 31 In comparison the full expansion of boost_tr1_tuple_1_36_0.zip is 1097 files | |
| 32 using 9.2 megs. | |
| 33 | |
| 34 * For step 5, the following bash line helps generate a list of files: | |
| 35 | |
| 36 cat file.i | grep "^#line" | grep boost_1_36_0 | \ | |
| 37 tr -s ' ' | cut -d ' ' -f3 | tr -d \" | sort -u | |
| OLD | NEW |