xmake-io / xmake

🔥 A cross-platform build utility based on Lua
https://xmake.io
Apache License 2.0
9.87k stars 776 forks source link

add jar generate in swig mode #5536

Closed ririyeye closed 3 weeks ago

ririyeye commented 1 month ago

在使用swig生成java文件的场景下,添加javac和jar打包文件 这样可以直接使用jar包

使用方法如下 添加buildjar = true参数

- add_rules("swig.c", {moduletype = "java"})
+ add_rules("swig.c", {moduletype = "java" , buildjar = true})
waruqi commented 3 weeks ago

最近有点忙,等后两天我看下

Issues-translate-bot commented 3 weeks ago

Bot detected the issue body's language is not English, translate it automatically.


I've been a little busy lately. I'll check it out in the next two days.

waruqi commented 3 weeks ago

thanks