diff options
author | LKedward <laurence.kedward@bristol.ac.uk> | 2021-03-19 15:42:46 +0000 |
---|---|---|
committer | LKedward <laurence.kedward@bristol.ac.uk> | 2021-03-19 15:42:46 +0000 |
commit | 9d1af51f5cc47a19c13d5e51120bc8987c5a82a1 (patch) | |
tree | 86cdd6c279f384c23594d47a0d48763ab8727402 | |
parent | 57712f3b823e876015fb5dddbc4f24f372a7a5d0 (diff) | |
download | fpm-9d1af51f5cc47a19c13d5e51120bc8987c5a82a1.tar.gz fpm-9d1af51f5cc47a19c13d5e51120bc8987c5a82a1.zip |
Update: manifest reference on include-dir
Add note about non-support for external mod files
-rw-r--r-- | manifest-reference.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/manifest-reference.md b/manifest-reference.md index 97b415d..d8c86ab 100644 --- a/manifest-reference.md +++ b/manifest-reference.md @@ -199,7 +199,14 @@ Paths for the source and include directories are given relative to the project r source-dir = "lib" include-dir = "inc" ``` + +#### Include directory + +> Supported in Fortran fpm only + +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. *include-dir* can contain one or more directories, where multiple directories are specified using a list of strings. +Include directories from all project dependencies are passed to the compiler using the appropriate compiler flag. *Example:* @@ -208,6 +215,8 @@ include-dir = "inc" include-dir = ["include","third_party/include"] ``` +> *include-dir* does not currently allow using pre-built module `.mod` files + #### Custom build script > Supported in Bootstrap fpm only |