I\'m writing binding.gyp
file for my new node.js module. I have all my source files under src/
subdirectory. I would like to use all of them while buil
To filter specific file extensions like cpp
and to support also pre-compiled libraries
.a
files, I have slightly modified the accepted solution to be:
'sources': [
'jamspell.cpp',
"f.endsWith('.cpp')).map(f=>'src/'+f).join(' ')\")",
"f.endsWith('.cpp')).map(f=>'src/jamspell/'+f).join(' ')\")"
],
'include_dirs': [
"f.endsWith('.a')).map(f=>'lib/contrib/'+f).join(' ')\")"
],
'dependencies': [
"