Fix Javascript examples so that "make clean" works properly with node

- 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
This commit is contained in:
Karl Wette 2014-05-28 23:39:10 +02:00
commit 74e17fdbf6
9 changed files with 9 additions and 8 deletions

View file

@ -2,7 +2,7 @@
"targets": [
{
"target_name": "example",
"sources": [ "$srcdir/example.cxx", "example_wrap.cxx" ],
"sources": [ "<!(cp $srcdir/example.cxx example-gypcopy.cxx && echo example-gypcopy.cxx)", "example_wrap.cxx" ],
"include_dirs": ["$srcdir"]
}
]