| OLD | NEW | 
|---|
| 1 How to build (using scons, on Linux): |  | 
| 2 |  | 
| 3  $ cd ots/test/ |  | 
| 4  $ sudo apt-get install scons g++ libfreetype6-dev |  | 
| 5  $ scons |  | 
| 6 |  | 
| 7 How to build (using gyp): | 1 How to build (using gyp): | 
| 8 | 2 | 
| 9   (Note: test programs which require gtest can't build with gyp for now) | 3   (Note: test programs which require gtest can't build with gyp for now) | 
| 10 | 4 | 
| 11   1. If you are building OTS on Windows, download zlib from | 5   1. If you are building OTS on Windows, download both the source | 
| 12      http://www.zlib.net/ and put them in third_party/zlib. | 6      code and compiled driver for zlib from http://www.zlib.net/ | 
|  | 7      and put them in third_party/zlib. | 
| 13 | 8 | 
| 14   2. Run gyp_ots | 9   2. If you are building from cloned Git repository, make sure to update the | 
|  | 10      submodules as well: | 
| 15 | 11 | 
| 16     $ ./gyp_ots | 12      $ git submodule init | 
|  | 13      $ git submodule update | 
|  | 14 | 
|  | 15   3. Run gyp_ots | 
|  | 16 | 
|  | 17     $ python gyp_ots | 
| 17 | 18 | 
| 18     This will fetch gyp and generate build files. By default, following | 19     This will fetch gyp and generate build files. By default, following | 
| 19     files will be generated: | 20     files will be generated: | 
| 20       - MSVS solution file on Windows | 21       - MSVS solution file on Windows | 
| 21       - Xcode project file on Mac | 22       - Xcode project file on Mac | 
| 22       - Makefile on Linux | 23       - Makefile on Linux | 
| 23 | 24 | 
| 24     If you want to generate Makefile on Mac, you can use -f option: | 25     If you want to generate Makefile on Mac, you can use -f option: | 
| 25 | 26 | 
| 26     $ ./gyp_ots -f make | 27     $ python gyp_ots -f make | 
| 27 | 28 | 
| 28   3. Build OTS | 29   4. Build OTS | 
| 29 | 30 | 
| 30     Using MSVS: | 31     Using MSVS: | 
| 31       Open ots-standalone.sln and build targets. | 32       Open ots-standalone.sln and build the solution. | 
| 32 | 33 | 
| 33     Using Xcode: | 34     Using Xcode: | 
| 34       $ xcodebuild -target ots-standalone.xcodeproj -target all | 35       $ xcodebuild -target ots-standalone.xcodeproj -target all | 
| 35 | 36 | 
| 36     Using Makefile: | 37     Using Makefile: | 
| 37       $ make | 38       $ make | 
| OLD | NEW | 
|---|