14 lines
483 B
Python
14 lines
483 B
Python
{
|
|
"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"]
|
|
}
|
|
}
|
|
]
|
|
} |