scons builds the SWIG PHP bindings that can create parsers but not parse any input yet
This commit is contained in:
parent
6daa5367ca
commit
94d855c516
2 changed files with 15 additions and 0 deletions
12
src/bindings/php/SConscript
Normal file
12
src/bindings/php/SConscript
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# -*- python -*-
|
||||
Import('env')
|
||||
|
||||
phpenv = env.Clone()
|
||||
|
||||
phpenv.Append(CPPPATH = ['../../', '/usr/include/php5', '/usr/include/php5/main', '/usr/include/php5/Zend', '/usr/include/php5/TSRM'])
|
||||
phpenv.Append(CCFLAGS = ['-fpic', '-DSWIG', '-Wno-unused-variable', '-Wno-unused-label', '-Wno-unused-function', '-Wno-missing-field-initializers'])
|
||||
phpenv.Append(SWIGFLAGS = '-DHAMMER_INTERNAL__NO_STDARG_H -Isrc/ -php')
|
||||
|
||||
swig = ['../swig/hammer.i']
|
||||
|
||||
libhammer_php = phpenv.SharedLibrary('hammer', swig)
|
||||
Loading…
Add table
Add a link
Reference in a new issue