Skip to content

Commit

Permalink
docs: clarify --default-library is for internal libraries [skip ci]
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
  • Loading branch information
rc-matthew-l-weber authored and jpakkane committed Oct 27, 2019
1 parent 2b6c997 commit 6e18e5b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/markdown/Reference-manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -1150,7 +1150,10 @@ You should use this instead of [`shared_library`](#shared_library),
[`static_library`](#static_library) or
[`both_libraries`](#both_libraries) most of the time. This allows you
to toggle your entire project (including subprojects) from shared to
static with only one option.
static with only one option. This option applies to libraries being
built internal to the entire project. For external dependencies, the
default library type prefered is shared. This can be adapted on a per
library basis using the [dependency()](#dependency)) `static` keyword.

The keyword arguments for this are the same as for
[`executable`](#executable) with the following additions:
Expand Down

0 comments on commit 6e18e5b

Please sign in to comment.