summaryrefslogtreecommitdiff
path: root/test cases/common/9 header install
AgeCommit message (Collapse)Author
2022-05-30Implement `preserve_path` for install_headersFlorian "sp1rit"​
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
2021-08-15editorconfig: add setting to trim trailing whitespaceEli Schwartz
and clean up all outstanding issues Skip 'test cases/common/141 special characters/meson.build' since it intentionally uses trailing newlines.
2020-02-25test: merge installed_files.txt into test.jsonDaniel Mensinger
2019-08-23Add tests for sources that are disablers.James Hilliard
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
2017-03-27Don't require a language/compiler for configuringNirbheek Chauhan
Not really needed for projects that don't compile anything. Closes https://github.com/mesonbuild/meson/issues/1208
2016-11-20Can specify headers to install with Files.Jussi Pakkanen
2015-02-04Rework installation logic so we can go outside the install prefix.Jussi Pakkanen
2014-11-03Use correct path when installing headers. Fixes #16.Jussi Pakkanen
2014-10-11Renamed headers() to install_headers().Jussi Pakkanen
2014-08-12Can set headers() with variables.Jussi Pakkanen
2013-09-13Added installed_files.txt files to all places that needed them.Jussi Pakkanen
2013-03-03Split test suite into common and platform dependent parts.Jussi Pakkanen