dll加载路径错误
This commit is contained in:
14
hardware_monitor_wrapper/binding.gyp
Normal file
14
hardware_monitor_wrapper/binding.gyp
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"targets": [
|
||||
{
|
||||
"target_name": "hardware_monitor",
|
||||
"sources": ["native/computer.cpp" , "native/cpu.cpp", "native/gpu.cpp", "native/memory.cpp", "native/storage.cpp", "native/monitor.cpp" ],
|
||||
"include_dirs": ["./node_modules/node-addon-api", "./native/include"],
|
||||
"libraries": ["-l../native/libs/LibreHardwareManagerManaged2.lib"],
|
||||
"cflags": ["-fno-exceptions"],
|
||||
"xcode_settings": {
|
||||
"OTHER_CFLAGS": ["-fexceptions"]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user