forked from khaledhosny/ots
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
32 lines (21 loc) · 813 Bytes
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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 both the source
code and compiled driver for zlib from http://www.zlib.net/
and put them in third_party/zlib.
2. Run gyp_ots
$ python gyp_ots
This will fetch gyp and generate build files. By default, following
files will be generated:
- MSVS solution file on Windows
- Xcode project file on Mac
- Makefile on Linux
If you want to generate Makefile on Mac, you can use -f option:
$ python gyp_ots -f make
3. Build OTS
Using MSVS:
Open ots-standalone.sln and build the solution.
Using Xcode:
$ xcodebuild -target ots-standalone.xcodeproj -target all
Using Makefile:
$ make