Replies: 1 comment 9 replies
-
Forget about it, it seems that |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to use the External Project module. Before running
add_project
which expects aconfigure
script, I need to executeautogen.sh
first.The documentation states:
The problem is that
autogen.sh
must be run from its own directory.I tried using
run_command
like this:Unsurprisingly, this fails because the working directory when running the command is not the directory containing
autogen.sh
.The Meson logs show:
The error occurs because
configure.ac
is not found becauseautogen.sh
expectsconfigure.ac
to be in the current working directory.So, is there any way to specify the working directory when executing the command? If not, how meson expect us to write run_command to execute
autogen.sh
?Note that this is the autogen.sh that I am trying to run.
PS: I saw that there is an issue about the problem of working_directory, but I guess that since meson mention that it is possible to run
autogen.sh
withrun_command
there must be a way to do it that I haven't tought about.Beta Was this translation helpful? Give feedback.
All reactions