Added missing template configuration files for nodejs based tests.
This commit is contained in:
parent
315287b656
commit
8b0ee5491a
2 changed files with 26 additions and 0 deletions
25
Examples/test-suite/javascript/node_template/binding.gyp.in
Normal file
25
Examples/test-suite/javascript/node_template/binding.gyp.in
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
{
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"target_name": "$testcase",
|
||||||
|
"sources":[ "$testcase_wrap.cxx" ],
|
||||||
|
"include_dirs": ["../.."],
|
||||||
|
'conditions': [
|
||||||
|
['OS=="mac"',
|
||||||
|
{
|
||||||
|
'xcode_settings': {
|
||||||
|
'GCC_ENABLE_CPP_RTTI': 'YES',
|
||||||
|
'GCC_ENABLE_CPP_EXCEPTIONS' : 'YES'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"',
|
||||||
|
{
|
||||||
|
'cflags!': [ '-fno-exceptions' ],
|
||||||
|
'cflags_cc!': [ '-fno-exceptions', '-fno-rtti' ]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
],
|
||||||
|
}
|
||||||
|
],
|
||||||
|
}
|
||||||
1
Examples/test-suite/javascript/node_template/index.js.in
Normal file
1
Examples/test-suite/javascript/node_template/index.js.in
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
module.exports = require('./build/Release/$testcase');
|
||||||
Loading…
Add table
Add a link
Reference in a new issue