diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-08-05 16:38:18 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-08-05 16:38:18 +0200 |
commit | 1b01309cf61f45ffc5862a2c3da8c71324bc77b3 (patch) | |
tree | 1072ef7d6fb35e3e86eb68ae4e5363a3742f4eee /tests/target/out-qualified/src | |
parent | 0f1697e7465f15590a115dedb4516568f1e30db8 (diff) |
Implement out-qualified target syntax for setting target-specific vars
So now we can do:
doc{INSTALL}@./: install = false
Note that so far that's the only place where we support out-qualification.
Grep for @@ OUT to see other places.
Diffstat (limited to 'tests/target/out-qualified/src')
-rw-r--r-- | tests/target/out-qualified/src/build/bootstrap.build | 2 | ||||
-rw-r--r-- | tests/target/out-qualified/src/buildfile | 5 | ||||
-rw-r--r-- | tests/target/out-qualified/src/foo | 0 |
3 files changed, 7 insertions, 0 deletions
diff --git a/tests/target/out-qualified/src/build/bootstrap.build b/tests/target/out-qualified/src/build/bootstrap.build new file mode 100644 index 0000000..056ee6f --- /dev/null +++ b/tests/target/out-qualified/src/build/bootstrap.build @@ -0,0 +1,2 @@ +project = test +amalgamation = diff --git a/tests/target/out-qualified/src/buildfile b/tests/target/out-qualified/src/buildfile new file mode 100644 index 0000000..1bcaa32 --- /dev/null +++ b/tests/target/out-qualified/src/buildfile @@ -0,0 +1,5 @@ +./: file{foo} + +# Use --verbose 6 to debug. +# +file{foo}@./: x = y diff --git a/tests/target/out-qualified/src/foo b/tests/target/out-qualified/src/foo new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/target/out-qualified/src/foo |