mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-02-04 22:10:50 +00:00
nhj
more
This commit is contained in:
21
unified-ai-platform/node_modules/node-addon-api/common.gypi
generated
vendored
Normal file
21
unified-ai-platform/node_modules/node-addon-api/common.gypi
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
'variables': {
|
||||
'NAPI_VERSION%': "<!(node -p \"process.versions.napi\")",
|
||||
'disable_deprecated': "<!(node -p \"process.env['npm_config_disable_deprecated']\")"
|
||||
},
|
||||
'conditions': [
|
||||
['NAPI_VERSION!=""', { 'defines': ['NAPI_VERSION=<@(NAPI_VERSION)'] } ],
|
||||
['disable_deprecated=="true"', {
|
||||
'defines': ['NODE_ADDON_API_DISABLE_DEPRECATED']
|
||||
}],
|
||||
['OS=="mac"', {
|
||||
'cflags+': ['-fvisibility=hidden'],
|
||||
'xcode_settings': {
|
||||
'OTHER_CFLAGS': ['-fvisibility=hidden']
|
||||
}
|
||||
}]
|
||||
],
|
||||
'include_dirs': ["<!(node -p \"require('../').include_dir\")"],
|
||||
'cflags': [ '-Werror', '-Wall', '-Wextra', '-Wpedantic', '-Wunused-parameter' ],
|
||||
'cflags_cc': [ '-Werror', '-Wall', '-Wextra', '-Wpedantic', '-Wunused-parameter' ]
|
||||
}
|
||||
25
unified-ai-platform/node_modules/node-addon-api/except.gypi
generated
vendored
Normal file
25
unified-ai-platform/node_modules/node-addon-api/except.gypi
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
'defines': [ 'NAPI_CPP_EXCEPTIONS' ],
|
||||
'cflags!': [ '-fno-exceptions' ],
|
||||
'cflags_cc!': [ '-fno-exceptions' ],
|
||||
'conditions': [
|
||||
["OS=='win'", {
|
||||
"defines": [
|
||||
"_HAS_EXCEPTIONS=1"
|
||||
],
|
||||
"msvs_settings": {
|
||||
"VCCLCompilerTool": {
|
||||
"ExceptionHandling": 1,
|
||||
'EnablePREfast': 'true',
|
||||
},
|
||||
},
|
||||
}],
|
||||
["OS=='mac'", {
|
||||
'xcode_settings': {
|
||||
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES',
|
||||
'CLANG_CXX_LIBRARY': 'libc++',
|
||||
'MACOSX_DEPLOYMENT_TARGET': '10.7',
|
||||
},
|
||||
}],
|
||||
],
|
||||
}
|
||||
9
unified-ai-platform/node_modules/node-addon-api/node_api.gyp
generated
vendored
Normal file
9
unified-ai-platform/node_modules/node-addon-api/node_api.gyp
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'nothing',
|
||||
'type': 'static_library',
|
||||
'sources': [ 'nothing.c' ]
|
||||
}
|
||||
]
|
||||
}
|
||||
0
unified-ai-platform/node_modules/node-addon-api/nothing.c
generated
vendored
Normal file
0
unified-ai-platform/node_modules/node-addon-api/nothing.c
generated
vendored
Normal file
Reference in New Issue
Block a user