You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: manifest-reference.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -199,7 +199,14 @@ Paths for the source and include directories are given relative to the project r
199
199
source-dir = "lib"
200
200
include-dir = "inc"
201
201
```
202
+
203
+
#### Include directory
204
+
205
+
> Supported in Fortran fpm only
206
+
207
+
Projects which use the Fortran `include` statement or C preprocessor `#include` statement, can use the *include-dir* key to specify search directories for the included files.
202
208
*include-dir* can contain one or more directories, where multiple directories are specified using a list of strings.
209
+
Include directories from all project dependencies are passed to the compiler using the appropriate compiler flag.
203
210
204
211
*Example:*
205
212
@@ -208,6 +215,8 @@ include-dir = "inc"
208
215
include-dir = ["include","third_party/include"]
209
216
```
210
217
218
+
> *include-dir* does not currently allow using pre-built module `.mod` files
0 commit comments