-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Enhance header installation #13
Comments
Meson avoids globbing patterns due to the reasons outlined in the FAQ. However if you want to do this yourself, it is certainly possible. First write a script that prints out the headers you want to install. Something like this:
Then just use it like this:
|
Another alternative is that you can run a custom script during install time. If you just want to copy a big subtree from one place to another, just put a 'cp -r boo bar' there and you are done. See the manual page on installation for further instructions. |
I guess that makes sense. What about some way of respecting the paths to the files in |
Superceded by #14 |
One of the things about build systems that really annoys me is that one has to manually list every header file (with their full paths!) and specify their destination directory (with full paths!). It would be really useful to have some way of reducing the configuration required to cover 99.9% of cases, which is where the subdirectory containing the headers in the source mirrors how it should be installed.
One possible solution is to have an
install_headers_dir
option, which installs all headers matching a customizable pattern.The text was updated successfully, but these errors were encountered: