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