An open API service indexing awesome lists of open source software.

https://github.com/ihe1u0/javalib


https://github.com/ihe1u0/javalib

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# JavaLib

A sample project for Java and C++.

## Getting Started

- run `javac -h ./include/ ./src/App.java -d ./bin/` to generate Jni header.
- run `cmake -S ./cpp/ -B ./build/`.
- run Java program.

## Folder Structure

The workspace contains two folders by default, where:

- `src`: the folder to maintain sources
- `lib`: the folder to maintain dependencies
- `include`: the folder for JNI header files.
- `cpp`: the folder for C or C++ sources.

Meanwhile, the compiled output files will be generated in the `bin` folder by default.

> If you want to customize the folder structure, open `.vscode/settings.json` and update the related settings there.