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): 8 9 (Note: test programs which require gtest can't build with gyp for now) 10 11 1. If you are building OTS on Windows, download zlib from 12 http://www.zlib.net/ and put them in third_party/zlib. 13 14 2. Run gyp_ots 15 16 $ ./gyp_ots 17 18 This will fetch gyp and generate build files. By default, following 19 files will be generated: 20 - MSVS solution file on Windows 21 - Xcode project file on Mac 22 - Makefile on Linux 23 24 If you want to generate Makefile on Mac, you can use -f option: 25 26 $ ./gyp_ots -f make 27 28 3. Build OTS 29 30 Using MSVS: 31 Open ots-standalone.sln and build targets. 32 33 Using Xcode: 34 $ xcodebuild -target ots-standalone.xcodeproj -target all 35 36 Using Makefile: 37 $ make 38