Skip to content

Commit 433e408

Browse files
committed
Update: manifest reference for include-dir entry
1 parent bbd5b02 commit 433e408

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

manifest-reference.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,15 +188,16 @@ Library targets are exported and useable for other projects.
188188
### Library configuration
189189

190190
Defines the exported library target of the project.
191-
A library is generated if the source directory is found in a project.
192-
The default source directory is ``src`` but can be modified in the *library* section using the *source-dir* entry.
193-
Paths for the source directory are given relative to the project root and use ``/`` as path separator on all platforms.
191+
A library is generated if the source directory or include directory is found in a project.
192+
The default source and include directories are ``src`` and ``include``; these can be modified in the *library* section using the *source-dir* and *include-dir* entries.
193+
Paths for the source and include directories are given relative to the project root and use ``/`` as path separator on all platforms.
194194

195195
*Example:*
196196

197197
```toml
198198
[library]
199199
source-dir = "lib"
200+
include-dir = "inc"
200201
```
201202

202203
#### Custom build script

0 commit comments

Comments
 (0)