Changeset View
Changeset View
Standalone View
Standalone View
desktop/addons/windows-pushnotifications/binding.gyp
{ | { | ||||
"variables": { | |||||
"USE_ADDITIONAL_WINMD": "true" | |||||
}, | |||||
"includes": ["common.gypi"], | "includes": ["common.gypi"], | ||||
"targets": [{ | "targets": [{ | ||||
"target_name": "binding", | "target_name": "binding", | ||||
"sources": [], | |||||
"include_dirs": [ | "include_dirs": [ | ||||
"<!(node -e \"require('nan')\")" | "<!(node -e \"require('nan')\")" | ||||
], | ], | ||||
"libraries": [], | "copies": [ | ||||
"conditions": [ | { | ||||
["OS=='win'", { | "destination": "./build/Release", | ||||
"libraries": ["-lruntimeobject.lib"], | "files": ["Microsoft.WindowsAppSDK.1.2.221109.1/runtimes/win10-x64/native/Microsoft.WindowsAppRuntime.Bootstrap.dll"], | ||||
} | |||||
], | |||||
"libraries": [ | |||||
"-lruntimeobject.lib", | |||||
"../Microsoft.WindowsAppSDK.1.2.221109.1/lib/win10-x64/Microsoft.WindowsAppRuntime.Bootstrap.lib" | |||||
], | |||||
"sources": [ | "sources": [ | ||||
"_nodert_generated.cpp", | "_nodert_generated.cpp", | ||||
"NodeRtUtils.cpp", | "NodeRtUtils.cpp", | ||||
"OpaqueWrapper.cpp", | "OpaqueWrapper.cpp", | ||||
"CollectionsConverterUtils.cpp" | "CollectionsConverterUtils.cpp" | ||||
] | |||||
}], | |||||
["USE_ADDITIONAL_WINMD==\"true\"", { | |||||
"msvs_settings": { | |||||
"VCCLCompilerTool": { | |||||
"AdditionalUsingDirectories": [ | |||||
"%ProgramFiles%/Windows Kits/10/UnionMetadata/windows-pushnotifications", | |||||
"%ProgramFiles%/Windows Kits/10/Include/windows-pushnotifications/um", | |||||
"%ProgramFiles(x86)%/Windows Kits/10/UnionMetadata/windows-pushnotifications", | |||||
"%ProgramFiles(x86)%/Windows Kits/10/Include/windows-pushnotifications/um" | |||||
] | |||||
} | |||||
} | |||||
}] | |||||
], | ], | ||||
"msvs_settings": { | "msvs_settings": { | ||||
"VCCLCompilerTool": { | "VCCLCompilerTool": { | ||||
"AdditionalOptions": ["/ZW"], | "AdditionalOptions": ["/ZW"], | ||||
"DisableSpecificWarnings": [4609] | "DisableSpecificWarnings": [4609], | ||||
} | "AdditionalUsingDirectories": [ | ||||
"$(VC_ReferencesPath_VC_x86)/store/references", | |||||
"$(ProgramFiles)/Windows Kits/10/UnionMetadata/10.0.22000.0", | |||||
"<(module_root_dir)/Microsoft.WindowsAppSDK.1.2.221109.1/lib/uap10.0/" | |||||
], | |||||
}, | |||||
} | } | ||||
}] | }] | ||||
} | } | ||||
No newline at end of file | No newline at end of file |