meson/docs/markdown/snippets
Florian "sp1rit"​ ad8f24f232 Implement `preserve_path` for install_headers
The `install_headers` function now has an optional argument
`preserve_path` that allows installing multi-directory
headerfile structures that live alongside sourcecode with a
single command.

For example, the headerfile structure

headers = [
  'one.h',
  'two.h',
  'alpha/one.h',
  'alpha/two.h',
  'alpha/three.h'
  'beta/one.h'
]

can now be passed to `install_headers(headers, subdir: 'mylib', preserve_path: true)`
and the resulting directory tree will look like

{prefix}
└── include
    └── mylib
        ├── alpha
        │   ├── one.h
        │   ├── two.h
        │   └── three.h
        ├── beta
        │   └── one.h
        ├── one.h
        └── two.h

Fixes #3371
2022-05-30 18:03:01 -04:00
..
add_project_dependencies.md interpreter: new function add_project_dependencies() 2022-05-03 02:00:29 -04:00
add_release_note_snippets_here Tell contributors not to write things in the snippet help file. [skip ci] 2020-01-27 23:11:44 +02:00
coverage_config_files.md coverage: be clever and detect config files for gcovr/lcov 2022-05-06 22:55:37 +03:00
d_compiler_checks.md add release snippet 2022-04-30 10:07:38 -04:00
deprecated_for_option.md Allow deprecating an option for a new one 2022-04-21 14:18:29 -04:00
devenv_winepath.md devenv: Set WINEPATH when cross compiling for Windows 2022-05-06 23:04:11 +03:00
install_headers_preserve_path_arg.md Implement `preserve_path` for install_headers 2022-05-30 18:03:01 -04:00
jar-resources.md Add ability to add resources to jars 2022-03-22 13:21:26 +02:00
mold-support.md linkers: Add support for mold linker 2022-04-30 10:06:22 -04:00
msvc_cplusplus_define.md compilers/c++: Add MSVC option to make the __cplusplus define accurate 2022-05-08 14:40:54 -04:00
new-debug-function.md Add new debug() function 2022-03-30 06:57:30 -04:00
per-project-compiler-options.md interpreter: Make compiler options per-subproject 2022-03-22 17:20:48 -04:00
per_project_compiler.md Make compilers list per subproject 2022-03-24 12:27:06 -04:00
pkgconfig-relocatable.md docs: Add documentation on pkgconfig.relocatable 2022-04-19 17:35:08 -04:00
prefer_static.md add prefer_static built-in option 2022-05-03 23:03:56 -04:00
python-extension-module-visibility.md python module: default extensions to hidden symbol visibility 2022-05-09 10:49:04 -04:00
support-multiline-fstring.md Add support for multiline f-strings 2022-05-01 12:47:37 -04:00