Replies: 1 comment 2 replies
-
If there aren't objections I'm planning to add support for an An inelegant workaround for now could be to make a copy/link of the required header files in the same directory as the test. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have recently ported a project to fpm which exports a C-API via
iso_c_binding
(sees-dftd3
). I usually put the C headers ininclude/
to have them in a prominent place in the repo and export this directory with meson as include-directory.The project currently fails to build with Fortran fpm because the header cannot be found when compiling the API test:
Currently my only choice seems to be moving the C API test to somewhere where fpm won't try to compile it and just test the Fortran API.
Is there a way to keep the C API test or do I have to disable this feature for fpm? What would be the correct place to put the header to allow fpm to build the test?
Beta Was this translation helpful? Give feedback.
All reactions