Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add swig java support #3504

Merged
merged 3 commits into from
Mar 14, 2023
Merged

add swig java support #3504

merged 3 commits into from
Mar 14, 2023

Conversation

compilelife
Copy link
Contributor

为swig添加java支持;

用法示例:

    add_rules("swig.cpp", {moduletype="java"})
    add_files("example.i", {swigflags={
        '-package',
        'com.compilelife.example',
        '-outdir',
        'android-project/src/main/java/com/compilelife/example/'
        }
    })

缺点:

  1. 在scriptfiles中增加了不存在的scriptfile
  2. 需要上层自己指定包名和拷贝路径

@waruqi
Copy link
Member

waruqi commented Mar 14, 2023

@waruqi waruqi changed the base branch from master to dev March 14, 2023 09:59
@waruqi waruqi added this to the v2.7.8 milestone Mar 14, 2023
@waruqi waruqi merged commit c1789f7 into xmake-io:dev Mar 14, 2023
@waruqi
Copy link
Member

waruqi commented Mar 14, 2023

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants