In a C/Java project, what is an appropriate way to manage the build?
I was initially thinking building everything C with Autotools and everything in Java with Apache Ant and then have each builder "exec" the other.
Another approach could be to do everything in Autotools. I'd prefer autotools over ant because I'm not aware of any Autoconf like applications for Ant.
The project is a JNI project that has equal/symmetrical responsibility between the languages, in other words, it should be usable by Java-only developers and C-only developers as well as Java-and-C developers.
Thanks, Chenz
You can also create a Java project using the Java: Create Java Project command. Bring up the Command Palette (Ctrl+Shift+P) and then type java to search for this command. After selecting the command, you will be prompted for the location and name of the project. You can also choose your build tool from this command.
The "Build" is a process that covers all the steps required to create a "deliverable" of your software. In the Java world, this typically includes: Generating sources (sometimes). Compiling sources. Compiling test sources.
I would recommend CMake which is multi-platform and multi-language.
You can start with:
project(myJavaProject Java)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With