tarballs
Depends on source tarballs of all packages.
-cmdline
- This target is an internal representation of the command line. Trying to
- add it to the command line will cause Builder to abort.
+goals
+ Depends on all targets on the command line. Trying to add this target to the
+ command line will cause Builder to abort due to a circular dependency.
-------------------------------------------------------------------------------
use "mylib_common";
-Libraries used in this way will always be linked in statically. This can be
-useful in organizing code when multiple components in a package share a common
-part.
+This can be useful in organizing code when multiple components in a package
+share a common part. If the used library is not specified to be installed,
+it will be linked statically.
Packages may want to offer optional features, for example to allow the user to
choose whether to use a particular external library:
};
Any statements inside the conditional block are evaluated if the feature is
-enabled. This can be negated with a !. Conditionals can appear at the package
-level and may contain anything that the package statement can.
+enabled. This can be negated with a !. Conditionals can appear at package and
+component scopes and may contain anything that the enclosing statement can.
When making cross-platform software, it's often necessary to use different
libraries on different platforms. Another kind of conditional can be used for