diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-07-10 07:25:34 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-07-10 11:07:49 +0200 |
commit | b92a060879caf1de82a60ff2980f70ac165ec1a8 (patch) | |
tree | c22949d5f5d3b49a1ef172a3a2312434ee289b6d /.gitignore | |
parent | fefcedab45d3e35782943faeee49478b5737c424 (diff) |
Add support for project-local importation
An import without a project name or with the same name as the importing
project's is now treated as importation from the same project.
For example, given the libhello project that exports the lib{hello} target, a
buildfile for an executable in the same project instead of doing something
like this:
include ../libhello/
exe{hello}: ../libhello/lib{hello}
Can now do this:
import lib = libhello%lib{hello}
Or:
import lib = lib{hello}
And then:
exe{hello}: $lib
Note that a target in project-local importation must still be exported in
the project's export stub. In other words, project-local importation goes
through the same mechanisms as normal import.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions