summaryrefslogtreecommitdiffhomepage
path: root/src/nodejs/unit-http/binding.gyp
blob: 55d965bdd83541a0982669a3cf2c836031f53969 (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)"
        ],
        'libraries': [
            "<!(echo $UNIT_LIB_STATIC_PATH)"
        ]
    }]
}