xref: /unit/src/nodejs/unit-http/binding.gyp (revision 1020:53533ba0097c)
1802Salexander.borisov@nginx.com{
2802Salexander.borisov@nginx.com    'targets': [{
3802Salexander.borisov@nginx.com        'target_name': "unit-http",
4*1020Smax.romanov@nginx.com        'cflags!': [ '-fno-exceptions' ],
5*1020Smax.romanov@nginx.com        'cflags_cc!': [ '-fno-exceptions' ],
6*1020Smax.romanov@nginx.com        'conditions': [
7*1020Smax.romanov@nginx.com            ['OS=="mac"', {
8*1020Smax.romanov@nginx.com              'xcode_settings': {
9*1020Smax.romanov@nginx.com                'GCC_ENABLE_CPP_EXCEPTIONS': 'YES'
10*1020Smax.romanov@nginx.com              }
11*1020Smax.romanov@nginx.com            }]
12*1020Smax.romanov@nginx.com        ],
13802Salexander.borisov@nginx.com        'sources': ["unit.cpp", "addon.cpp"],
14802Salexander.borisov@nginx.com        'include_dirs': [
15877Salexander.borisov@nginx.com            "<!(echo $UNIT_SRC_PATH)", "<!(echo $UNIT_BUILD_PATH)"
16802Salexander.borisov@nginx.com        ],
17802Salexander.borisov@nginx.com        'libraries': [
18802Salexander.borisov@nginx.com            "<!(echo $UNIT_LIB_STATIC_PATH)"
19802Salexander.borisov@nginx.com        ]
20802Salexander.borisov@nginx.com    }]
21802Salexander.borisov@nginx.com}
22