Generated source code not in the location expected by an extension_module. #503
|
I have a project called The top-level The python script When I run The |
Replies: 2 comments 1 reply
This is not how generator are supposed to be used. See https://mesonbuild.com/Generating-sources.html#using-generator The output of the generator needs to be written in |
Passing the headers as source files is not necessary: Meson uses the compiler dependency tracking to keep track of this kind of dependencies between build artifact and source files. |
This is not how generator are supposed to be used. See https://mesonbuild.com/Generating-sources.html#using-generator The output of the generator needs to be written in
@BUILD_DIR@. The simplest thing is to pass both@INPUT@and@OUTPUT@as arguments to your script.