mirror of
https://github.com/YuhangQ/InvoDB.git
synced 2025-01-24 21:50:58 +00:00
32 lines
821 B
Python
32 lines
821 B
Python
{
|
|
"targets": [
|
|
{
|
|
"target_name": "core",
|
|
"sources": [
|
|
"./src/collection/collection.cpp",
|
|
"./src/collection/index.cpp",
|
|
"./src/collection/query.cpp",
|
|
"./src/file/page_manager.cpp",
|
|
"./src/file/storage_page.cpp",
|
|
"./src/main.cpp",
|
|
],
|
|
"include_dirs": [
|
|
"<!@(node -p \"require('node-addon-api').include\")"
|
|
],
|
|
"dependencies": [
|
|
"<!(node -p \"require('node-addon-api').gyp\")"
|
|
],
|
|
"cflags!": ["-fno-exceptions"],
|
|
"cflags_cc!": ["-fno-exceptions"],
|
|
"defines": ["NAPI_CPP_EXCEPTIONS"],
|
|
"xcode_settings": {
|
|
"GCC_ENABLE_CPP_EXCEPTIONS": "YES"
|
|
},
|
|
'msvs_settings': {
|
|
'VCCLCompilerTool': {
|
|
'AdditionalOptions': [ '-std:c++17', ],
|
|
},
|
|
},
|
|
}
|
|
]
|
|
} |