You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
{
|
|
|
"targets": [
|
|
|
{
|
|
|
"target_name": "nodelua",
|
|
|
"variables": {
|
|
|
"lua_include": "<!(find /usr/include /usr/local/include $NODELUA_INCLUDE -name lua.h | sed s/lua.h//)"
|
|
|
},
|
|
|
"sources": [
|
|
|
"src/utils.cc",
|
|
|
"src/luastate.cc",
|
|
|
"src/nodelua.cc"
|
|
|
],
|
|
|
"include_dirs": [
|
|
|
"<@(lua_include)",
|
|
|
],
|
|
|
"libraries": [
|
|
|
"<!(echo $NODELUA_FLAGS)",
|
|
|
"<!(pkg-config --libs-only-l --silence-errors lua || pkg-config --libs-only-l --silence-errors lua5.1 || echo '')",
|
|
|
"-ldl"
|
|
|
]
|
|
|
}
|
|
|
]
|
|
|
}
|