[go: up one dir, main page]

Skip to content

Commit

Permalink
debug script
Browse files Browse the repository at this point in the history
  • Loading branch information
planetis-m committed Jul 10, 2024
1 parent 2ea632a commit a414c48
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build_android.nims
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const
AppScreenOrientation = landscape
AppKeystorePass = "raylib"

# mode = ScriptMode.Verbose
mode = ScriptMode.Verbose

task setup, "Set up raylib project for Android":
# Create required temp directories for APK building
Expand Down Expand Up @@ -136,6 +136,10 @@ task compile, "Compile raylib project for Android":
" -d:AndroidNdk=" & AndroidNdk & " -d:" & $AndroidGlEsVersion &
" -o:" & ProjectBuildPath / "lib" / cpu.toArchName / ("lib" & ProjectLibraryName & ".so") &
" --nimcache:" & nimcacheDir().parentDir / (ProjectName & "_" & $cpu) & " " & ProjectSourceFile)
for f in listFiles(ProjectBuildPath):
echo f
for f in listFiles(ProjectBuildPath / "lib" / cpu.toArchName):
echo f
# Compile project .java code into .class (Java bytecode)
exec(JavaHome / "bin/javac" & " -verbose --source 11 --target 11 -d " & ProjectBuildPath / "obj" &
" --system " & JavaHome & " --class-path " & androidResourcePath & (when defined(windows): ";" else: ":") &
Expand Down

0 comments on commit a414c48

Please sign in to comment.