thedesk/app/node_modules/font-manager/binding.gyp
2019-09-12 23:38:13 +09:00

32 lines
755 B
Python

{
"targets": [
{
"target_name": "fontmanager",
"sources": [ "src/FontManager.cc" ],
"include_dirs" : [
"<!(node -e \"require('nan')\")"
],
"conditions": [
['OS=="mac"', {
"sources": ["src/FontManagerMac.mm"],
"link_settings": {
"libraries": ["CoreText.framework", "Foundation.framework"]
}
}],
['OS=="win"', {
"sources": ["src/FontManagerWindows.cc"],
"link_settings": {
"libraries": ["Dwrite.lib"]
}
}],
['OS=="linux"', {
"sources": ["src/FontManagerLinux.cc"],
"link_settings": {
"libraries": ["-lfontconfig"]
}
}]
]
}
]
}