I had no problem building your example and running it in my electron app. However, all of the tutorials I've come across only demonstrate building a single file referenced from binding.gyp, despite the "sources":[] field in binding.gyp seemingly allowing multiple source.files.
It would be immensely helpful if you would expand your tutorial to show how to build a case with something like:
"sources": [ "src/binding.c", "src/anotherexample.c" ]
Many thanks for your fine tutorial.
I had no problem building your example and running it in my electron app. However, all of the tutorials I've come across only demonstrate building a single file referenced from binding.gyp, despite the "sources":[] field in binding.gyp seemingly allowing multiple source.files.
It would be immensely helpful if you would expand your tutorial to show how to build a case with something like:
"sources": [ "src/binding.c", "src/anotherexample.c" ]
Many thanks for your fine tutorial.