add upload / exec target

This commit is contained in:
Chris
2024-09-06 06:35:14 +00:00
committed by GitHub
parent b60c688385
commit 4cbcf95001

View File

@@ -47,6 +47,16 @@ if get_systype() == "darwin_x86_64":
target_bin = env.BuildProgram()
#
# Target: Execute binary
#
exec_action = env.VerboseAction(
"$SOURCE $PROGRAM_ARGS", "Executing $SOURCE")
AlwaysBuild(env.Alias("exec", target_bin, exec_action))
AlwaysBuild(env.Alias("upload", target_bin, exec_action))
#
# Target: Print binary size
#