Skip to content

Commit

Permalink
Added kickass main class name setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Swoffa committed Apr 26, 2022
1 parent 49cfee2 commit 877c1f4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions kickass_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"kickass_run_path",
"kickass_debug_path",
"kickass_jar_path",
"kickass_main_class_name",
"kickass_args",
"kickass_run_args",
"kickass_debug_args",
Expand Down Expand Up @@ -220,8 +221,9 @@ def createMakeCommand(self, variables, buildMode):
return KickAssCommand(makeCommand, True, False, buildMode)

def createKickassCommand(self, variables, buildMode):
javaCommand = "java -cp \"${kickass_jar_path}\"" if self.__settings.getSetting("kickass_jar_path") else "java"
compileCommand = javaCommand+" cml.kickass.KickAssembler ${kickass_compile_args} "
javaCommand = "java -cp \"${kickass_jar_path}\"" if self.__settings.getSetting("kickass_jar_path") else "java"
kickAssClassName = "${kickass_main_class_name}" if self.__settings.getSetting("kickass_main_class_name") else "cml.kickass.KickAssembler"
compileCommand = "%s %s ${kickass_compile_args} " % (javaCommand, kickAssClassName)
compileDebugCommandAdd = "${kickass_compile_debug_additional_args}"

runCommand = "${kickass_run_command_x64}"
Expand Down

0 comments on commit 877c1f4

Please sign in to comment.