diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-11 13:08:53 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-11 13:08:53 +0200 |
commit | a7362cf29a76ef679c9a1ce74715a5d087851b91 (patch) | |
tree | b26ff0e7f59ca47e5d4f1c84f5c7ab99c2beca44 /tests/amalgam/unnamed/buildfile | |
parent | f57f97a7fde4ebe69c160530d61fcd958aac0cf3 (diff) |
Add support for unnamed projects
Sometimes (e.g., in bpkg configuration) we don't have a project name.
In fact, it is not really a project; it can never be referenced in an
import directive.
So we now have a notion of an unnamed project. Such a project should
still have the 'project' variable set first thing in bootstrap.build
but its value should be empty.
Note that we can still amalgamate such projects just liked named ones.
Diffstat (limited to 'tests/amalgam/unnamed/buildfile')
-rw-r--r-- | tests/amalgam/unnamed/buildfile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/amalgam/unnamed/buildfile b/tests/amalgam/unnamed/buildfile new file mode 100644 index 0000000..5aa12c3 --- /dev/null +++ b/tests/amalgam/unnamed/buildfile @@ -0,0 +1,3 @@ +.: sub/ +include sub/ +print $subprojects |