On 11/30/21 11:00, 'Jack He CN' via javacpp wrote:
> I try to understand this builder phase like this:
> 1) (optional) run the cppbuild.sh to build the .so out
> 2) run the parser on the given InfoMap and header files to output the
> JNI (.java) files
> 3) run the generator on JNI code above to output C++ files
> 4) run the c++ compiler on the above JNI C++ code
> Is this correct?
You're just copy/pasting text from the page, so yes it's correct. Is
there anything in particular that you don't understand?
> one more thing, "Outputs native libraries containing JNI wrappers,
> optionally archived in a JAR file", here, "JNI wrappers" means the JNI
> wrappers generated by the above step 4), correct?
Yes, of course. All of the JNI code is generated. It's still possible to
mix it with manually written JNI code though, if that's your question?