- Need to copy example.cxx to build directory so that build products end up in the right place; use a gyp command expansion to do so
9 lines
220 B
Text
9 lines
220 B
Text
{
|
|
"targets": [
|
|
{
|
|
"target_name": "example",
|
|
"sources": [ "<!(cp $srcdir/example.cxx example-gypcopy.cxx && echo example-gypcopy.cxx)", "example_wrap.cxx" ],
|
|
"include_dirs": ["$srcdir"]
|
|
}
|
|
]
|
|
}
|