You're probably safe, except some edge cases, calling all your source files .cc since C is a subset of C++ I did it in https://github.com/Floby/node-libspotify/blob/master/binding.gyp
On Tuesday, 30 April 2013 00:04:52 UTC+2, Kiki wrote: > > I am trying to create a nodejs addon using node-gyp. The source has both > C++ and C functions. However, if I change my "bindings.gyp" file to include > a <>.c file as a target source, the Makefile generated doesn't seem to > support compiling and linking of the corresponding C function. Has anyone > faced a similar issue with a C-dependency in node-gyp? Thanks! -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
