From c76fe316122969986103d243706dc7fa7ab6ddc1 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 3 Mar 2015 12:53:37 +0200 Subject: Use names() to handle include/source, support include of directories This gives us variable expansion and directory prefixes. Also, in include, if the path is a directory (either ends with / or has dir{} type), then we append 'buildfile'. --- tests/build/semantics/include/includer | 1 + tests/build/semantics/source/sourcer | 1 + 2 files changed, 2 insertions(+) (limited to 'tests/build/semantics') diff --git a/tests/build/semantics/include/includer b/tests/build/semantics/include/includer index c129e33..70527a5 100644 --- a/tests/build/semantics/include/includer +++ b/tests/build/semantics/include/includer @@ -7,3 +7,4 @@ nested/: include includee5 include ../includee2 # skipped } +: diff --git a/tests/build/semantics/source/sourcer b/tests/build/semantics/source/sourcer index e8b9558..eb1310e 100644 --- a/tests/build/semantics/source/sourcer +++ b/tests/build/semantics/source/sourcer @@ -6,3 +6,4 @@ nested/: source sourcee3 source ../sourcee1 } +: -- cgit v1.1