I would like to create a DLL package from some C code and headers. The code in question, from the cgranges repository, consists of a simple C source file, with no exotic dependencies, and two header files. (This code is the reference implementation in the same author’s comparison of implementations of the algorithm in different languages at his biofast repository.)
I do need to modify the files before building the DLL package. (Well, I think I do - I would like to have some extractors of fields from a struct which are defined as static inline
in a header file exported in the DLL file so they can be called in Julia with ccall
. I don’t know iof a way of doing that without modifying the header file itself.) Is there a simple build_tarballs.jl
that I could modify for this case? If I use BinaryBuilder.run_wizard()
it wants to know about the repository, etc.