summaryrefslogtreecommitdiffhomepage
path: root/src/nodejs/unit-http/binding.gyp
blob: e41db7c43994dce90623946de9ccd901f1812f68 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
    '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/include)"
        ],
        'libraries': [
            "<!(echo $UNIT_LIB_STATIC_PATH)"
        ]
    }]
}