2017-08-01 01:26:33 +03:00
|
|
|
{
|
2017-08-06 07:43:46 +03:00
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"target_name": "windows_process_tree",
|
2024-02-01 19:32:33 +03:00
|
|
|
"dependencies": [
|
|
|
|
"<!(node -p \"require('node-addon-api').targets\"):node_addon_api_except",
|
|
|
|
],
|
2023-06-09 22:59:08 +03:00
|
|
|
"conditions": [
|
|
|
|
['OS=="win"', {
|
|
|
|
"sources": [
|
|
|
|
"src/addon.cc",
|
|
|
|
"src/cpu_worker.cc",
|
|
|
|
"src/process.cc",
|
|
|
|
"src/process_worker.cc",
|
|
|
|
"src/process_commandline.cc"
|
|
|
|
],
|
2024-02-01 19:32:33 +03:00
|
|
|
"include_dirs": [],
|
2023-06-09 22:59:08 +03:00
|
|
|
"libraries": [ 'psapi.lib' ],
|
|
|
|
"msvs_configuration_attributes": {
|
|
|
|
"SpectreMitigation": "Spectre"
|
|
|
|
},
|
|
|
|
"msvs_settings": {
|
|
|
|
"VCCLCompilerTool": {
|
|
|
|
"AdditionalOptions": [
|
|
|
|
"/guard:cf",
|
|
|
|
"/w34244",
|
|
|
|
"/we4267",
|
|
|
|
"/ZH:SHA_256"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"VCLinkerTool": {
|
|
|
|
"AdditionalOptions": [
|
|
|
|
"/guard:cf"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}]
|
|
|
|
]
|
2017-08-06 07:43:46 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|