forked from mesonbuild/meson
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The existing error upon detecting use of an absolute include directory path (within the source tree) is a well-intentioned but blunt tool that unnecessarily prevents use of valid and safe absolute include dir paths. Absolute paths can be constructed from build-relative absolute paths (e.g. src_root = project_source_root(), ... src_root / 'dir/inc') and so use consistent 'src_root'-relative path construction across multiple meson.build files while also making each meson.build file easy to move without breaking through use of pure relative paths. Discussed with more context and rationale here - mesonbuild#12244 Setting the option `allow_abs_paths=true` prevents this error check and is obviously used at your own risk.
- Loading branch information
Showing
4 changed files
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters