qnode
Version:
Another project of Qt + NodeJS
36 lines (32 loc) • 1.29 kB
JSON
{
"targets": [{
"target_name": "qnode",
"sources": [],
"build_dir": "output",
"include_dirs": [
"<!(node -e \"require('nan')\")",
"./"
]
,
"conditions": [
["OS=='linux'", {
"cflags": [
"<!@(pkg-config --cflags Qt5Core Qt5Network Qt5Gui Qt5Widgets Qt5WebEngineCore Qt5WebEngine Qt5WebEngineWidgets)", "-Wcomment", "-Wparentheses"
],
"ldflags": [
"<!@(pkg-config --libs-only-L --libs-only-other Qt5Core Qt5Network Qt5Gui Qt5Widgets Qt5WebEngineCore Qt5WebEngine Qt5WebEngineWidgets)", "-fexceptions",
"-Wl,-O1 -Wl,-rpath,\\$$ORIGIN:$ORIGIN"
],
"libraries": [
"<!@(pkg-config --libs-only-l Qt5Core Qt5Network Qt5Gui Qt5Widgets Qt5WebEngineCore Qt5WebEngine Qt5WebEngineWidgets)", "-fexceptions"
],
"cflags!": ["-fno-exceptions", "-Wno-comment", "-Wno-parentheses"],
"cflags_cc!": ["-fno-exceptions", "-Wno-comment", "-Wno-parentheses"]
}],
["OS=='win'", {
"include_dirs": [],
"libraries": []
}]
]
}]
}