Index: INSTALL |
diff --git a/INSTALL b/INSTALL |
old mode 100644 |
new mode 100755 |
index e731ce8f881a7d2e527d201c39a650475d3338b9..dbb1d944e4d08da80ed24f7513cd0331af3a83c8 |
--- a/INSTALL |
+++ b/INSTALL |
@@ -1,19 +1,20 @@ |
-How to build (using scons, on Linux): |
- |
- $ cd ots/test/ |
- $ sudo apt-get install scons g++ libfreetype6-dev |
- $ scons |
- |
How to build (using gyp): |
(Note: test programs which require gtest can't build with gyp for now) |
- 1. If you are building OTS on Windows, download zlib from |
- http://www.zlib.net/ and put them in third_party/zlib. |
+ 1. If you are building OTS on Windows, download both the source |
+ code and compiled driver for zlib from http://www.zlib.net/ |
+ and put them in third_party/zlib. |
+ |
+ 2. If you are building from cloned Git repository, make sure to update the |
+ submodules as well: |
+ |
+ $ git submodule init |
+ $ git submodule update |
- 2. Run gyp_ots |
+ 3. Run gyp_ots |
- $ ./gyp_ots |
+ $ python gyp_ots |
This will fetch gyp and generate build files. By default, following |
files will be generated: |
@@ -23,12 +24,12 @@ How to build (using gyp): |
If you want to generate Makefile on Mac, you can use -f option: |
- $ ./gyp_ots -f make |
+ $ python gyp_ots -f make |
- 3. Build OTS |
+ 4. Build OTS |
Using MSVS: |
- Open ots-standalone.sln and build targets. |
+ Open ots-standalone.sln and build the solution. |
Using Xcode: |
$ xcodebuild -target ots-standalone.xcodeproj -target all |