Skip to content

Commit

Permalink
Since we have to feed command line parameters, print them back out so…
Browse files Browse the repository at this point in the history
… we can see if anything needs quoting.
  • Loading branch information
starseeker committed Sep 11, 2024
1 parent 84bba8b commit 3d22937
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CMake/JavaCheck.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,13 @@ if (NOT JCEXEC OR NOT JAREXEC OR NOT JEXEC)
set(JAREXEC ${Java_JAR_EXECUTABLE})
endif (NOT JCEXEC OR NOT JAREXEC OR NOT JEXEC)

# Report the active parameters
message("Java executable (JEXEC): ${JEXEC}")
message("Java compiler executable (JCEXEC): ${JCEXEC}")
message("Java archiver executable (JAREXEC): ${JAREXEC}")
message("Dll suffix (DLLSUFFIX): ${DLLSUFFIX}")
message("Dll directory (DLL_DIR): ${DLL_DIR}")

if (JCEXEC AND JAREXEC AND JEXEC AND DLLSUFFIX AND DLL_DIR)
JavaCheck(${JCEXEC} ${JAREXEC} ${JEXEC} ${DLLSUFFIX} ${DLL_DIR})
endif ()
Expand Down

0 comments on commit 3d22937

Please sign in to comment.