mirror of
https://github.com/HolographicHat/Yae.git
synced 2025-12-10 16:38:13 +08:00
42 lines
907 B
Python
42 lines
907 B
Python
{
|
|
"targets": [
|
|
{
|
|
"target_name": "native",
|
|
"sources": [
|
|
"src/main.cc",
|
|
"src/utils.h",
|
|
"src/utils.cc",
|
|
"src/define.h",
|
|
"src/wmi/wmi.cpp",
|
|
"src/wmi/wmi.hpp",
|
|
"src/wmi/unistd.h",
|
|
"src/wmi/wmiresult.cpp",
|
|
"src/wmi/wmiresult.hpp",
|
|
"src/wmi/wmiclasses.hpp",
|
|
"src/wmi/wmiexception.hpp",
|
|
"src/registry/registry.hpp"
|
|
],
|
|
"cflags!": [
|
|
"-fno-exceptions"
|
|
],
|
|
"cflags_cc!": [
|
|
"-fno-exceptions"
|
|
],
|
|
"defines": [
|
|
"NAPI_DISABLE_CPP_EXCEPTIONS"
|
|
],
|
|
"include_dirs": [
|
|
"<!(node -p \"require('node-addon-api').include_dir\")"
|
|
],
|
|
"msvs_settings": {
|
|
"VCCLCompilerTool": {
|
|
"AdditionalOptions": [
|
|
"-std:c++latest",
|
|
"-DUNICODE",
|
|
"-sdl"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |