Skip to content
Discussion options

You must be logged in to vote

Hi @NSPC911,

The issue is that before version 0.45.0 there was no way to pass extra undeclared arguments to subtasks of a sequence task, you would need to explicitly declare full_compat as an arg on the sequence task in order to forward it to nuitka in the cmd.

However since 0.45.0 you can now pass the extra arguments from the CLI as $POE_EXTRA_ARGS, which includes any arguments after -- in case named args are declared.

So in your example you should be able to get what you want with:

sequence = [
  { cmd = "docs/scripts/pre_nuitka_build.py" },
  { cmd = 'nuitka --lto=${lto} --mode=${mode} --report=${report} src/rovr ${POE_EXTRA_ARGS}' },
]
args = [
  { name = "mode", help = "Build mode: o…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by NSPC911
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants