Files
nginx-unit/src/nodejs/unit-http/binding.gyp
Max Romanov aca42de18a Adding syntax sugar.
With exceptions and overloads.
2019-04-01 16:40:33 +03:00

22 lines
559 B
Python

{
'targets': [{
'target_name': "unit-http",
'cflags!': [ '-fno-exceptions' ],
'cflags_cc!': [ '-fno-exceptions' ],
'conditions': [
['OS=="mac"', {
'xcode_settings': {
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES'
}
}]
],
'sources': ["unit.cpp", "addon.cpp"],
'include_dirs': [
"<!(echo $UNIT_SRC_PATH)", "<!(echo $UNIT_BUILD_PATH)"
],
'libraries': [
"<!(echo $UNIT_LIB_STATIC_PATH)"
]
}]
}