OLD | NEW |
1 # Build script for Linux | 1 # Build script for Linux |
2 # | 2 # |
3 # Usage: | 3 # Usage: |
4 # $ cd ots/test/ | 4 # $ cd ots/test/ |
5 # $ scons -c # clean | 5 # $ scons -c # clean |
6 # $ scons # build | 6 # $ scons # build |
7 # | 7 # |
8 | 8 |
9 # Since the validator-checker tool might handle malicious font files, all harden
ing options for recent g++/ld are enabled just in case. | 9 # Since the validator-checker tool might handle malicious font files, all harden
ing options for recent g++/ld are enabled just in case. |
10 # See http://wiki.debian.org/Hardening for details. | 10 # See http://wiki.debian.org/Hardening for details. |
(...skipping 17 matching lines...) Expand all Loading... |
28 '../src/name.cc', | 28 '../src/name.cc', |
29 '../src/os2.cc', | 29 '../src/os2.cc', |
30 '../src/ots.cc', | 30 '../src/ots.cc', |
31 '../src/post.cc', | 31 '../src/post.cc', |
32 '../src/prep.cc', | 32 '../src/prep.cc', |
33 '../src/vdmx.cc', | 33 '../src/vdmx.cc', |
34 '../src/vorg.cc' | 34 '../src/vorg.cc' |
35 ]) | 35 ]) |
36 | 36 |
37 env.Program('../test/ot-sanitise.cc', LIBS = ['ots'], LIBPATH='../src') | 37 env.Program('../test/ot-sanitise.cc', LIBS = ['ots'], LIBPATH='../src') |
38 env.Program('../test/idempotent.cc', LIBS = ['ots'], LIBPATH='../src') | 38 env.Program('../test/idempotent.cc', LIBS = ['ots', 'freetype', 'z', 'm'], LIBPA
TH='../src') |
39 env.Program('../test/perf.cc', LIBS = ['ots'], LIBPATH='../src') | 39 env.Program('../test/perf.cc', LIBS = ['ots'], LIBPATH='../src') |
40 | 40 |
41 # TODO(yusukes): better to use pkg-config freetype2 --libs | 41 # TODO(yusukes): better to use pkg-config freetype2 --libs |
42 env.Program('../test/side-by-side.cc', LIBS = ['ots', 'freetype', 'z', 'm'], LIB
PATH = '../src') | 42 env.Program('../test/side-by-side.cc', LIBS = ['ots', 'freetype', 'z', 'm'], LIB
PATH = '../src') |
43 env.Program('../test/validator-checker.cc', LIBS = ['ots', 'freetype', 'z', 'm']
, LIBPATH = '../src') | 43 env.Program('../test/validator-checker.cc', LIBS = ['ots', 'freetype', 'z', 'm']
, LIBPATH = '../src') |
OLD | NEW |