As of lately, some projects like Kuzu and DuckDB provide a single header file to their APIs in order to make life easier for binding generators (or manual binding generation).
They provide also helpful packages for API consumers containing
h file, .hpp file, .lib and .dll
Is it possible to do so in the next release?
Hello,
I you know exactly what you need, why don’t you make a proposal under the form of a merge request at scilab · GitLab ? BTW, the next release is scheduled in less than two weeks, so…
S.
Not a bad idea at all, I think I can find some time for this, because I need it.
Before doing anything I would like to consult you. There are two strategies
- Merge all headers, but it may disrupt your workflows and my PR may be rejected
- Use an external script like the Lyra and the said projects. They implemented that in Python, which means one more dependency. However Scilab is very featureful and can be used (no extra dependency) to create the said package.
I prefer option (2), less invasive. What is your advice?
BTW the term as coined by SQLite is called “amalgamation”, they too offer amalgamation builds but ship different .dll+.def / .h+.c zips. The second for embedding.
I will go with the second option.