Skip to content

Commit

Permalink
fix: Fix cpp file include runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
Berstanio committed Oct 16, 2024
1 parent 2bfc4ae commit 5415480
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions gdx-jnigen-runtime/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,9 @@ jnigen {
def arch = it.architecture.name().toLowerCase() + (it.architecture == x86 && it.bitness != x32 ? "_" : "") + it.bitness.toSuffix()
def combined = name + "_" + arch

headerDirs += ["build/libffi-build/${combined}/include/", "jni/"]
cppIncludes += ["jni/*.cpp"]
headerDirs += ["build/libffi-build/${combined}/include/", "src/main/native"]
cppIncludes += ["src/main/native/*.cpp"]
cFlags += " -std=c11 -fexceptions "
cExcludes += ["libFFI-iOS/"]
cppFlags += " -std=c++11 -fexceptions "
libraries += file("build/libffi-build/${combined}/lib/libffi.a").absolutePath
}
Expand Down

0 comments on commit 5415480

Please sign in to comment.