xref: /unit/src/nodejs/unit-http/binding.gyp (revision 2397:817968931c58)
1{
2    'targets': [{
3        'target_name': "unit-http",
4        'cflags!': [ '-fno-exceptions' ],
5        'cflags_cc!': [ '-fno-exceptions' ],
6        'conditions': [
7            ['OS=="mac"', {
8              'xcode_settings': {
9                'GCC_ENABLE_CPP_EXCEPTIONS': 'YES'
10              }
11            }]
12        ],
13        'sources': ["unit.cpp", "addon.cpp"],
14        'include_dirs': [
15            "<!(echo $UNIT_SRC_PATH)", "<!(echo $UNIT_BUILD_PATH/include)"
16        ],
17        'libraries': [
18            "<!(echo $UNIT_LIB_STATIC_PATH)"
19        ]
20    }]
21}
22