Replies: 1 comment 3 replies
-
Yes, this is how it is supposed to work. The link dependencies are collected from the complete dependency tree for the current project. Note that linking is only supported in Fortran fpm, but not in the Haskell version (https://github.com/fortran-lang/fpm/issues/288). |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm working an interface to the FLANN library for nearest neighbor searches: https://github.com/ivan-pi/fortran-flann/
I haven't put the manifest in yet, but was just wondering about the current status of build dependencies. Say my project must be linked to a system-installed FLANN library with the flag
-lflann
. If I put the code below in my manifest file,will the linkage dependency get propagated forward to any fpm project that uses my interface like shown below?
I've seen in Cargo that crates are able to communicate some meta-data for such cases, see here.
Beta Was this translation helpful? Give feedback.
All reactions