Wrapping a project that has includes directory different than installed #10379
-
I'm working on building a For example, a project with some headers in a directory
installs these headers into a I've had to choose between:
Is there a way to address this situation using Meson / an example of project that deal with this? The |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The best fix would be if upstream aligned the source tree layout to the "real" header paths. The only other solution is that somehow, the files MUST be moved during the build, because the compiler itself needs to have a disk location with the right structure and there is no getting around this. Typically, wraps would perform that move by using |
Beta Was this translation helpful? Give feedback.
The best fix would be if upstream aligned the source tree layout to the "real" header paths.
The only other solution is that somehow, the files MUST be moved during the build, because the compiler itself needs to have a disk location with the right structure and there is no getting around this.
Typically, wraps would perform that move by using
configure_file(input: '../foo.h', output: 'foo.h', copy: true)
to perform the copy at configure time. There are a couple that do this. Check the WrapDB repository for files which contain the referenceinclude-workaround-meson
.