Adding syntax sugar.

With exceptions and overloads.
This commit is contained in:
Max Romanov
2019-04-01 16:40:33 +03:00
parent 19eba1730a
commit aca42de18a
5 changed files with 901 additions and 673 deletions

View File

@@ -1,6 +1,15 @@
{
'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"],
'libraries': ["-lunit"]
}]