Open
Description
Fpm already has a preliminary support for C and C++ source files. But there are still some issues to iron out. Here are a few that I am aware of, we should create individual issues out of these and link them here.
-
One issue is that you currently have to manually specify
stdc++
infpm.toml
. It should work automatically. -
I think we need to add tests for this and test it at our CI.
-
Document this feature in our documentation
-
Ensure this works with MPI. Fpm does not support MPI yet, so we should add support first (Support MPI natively #354). I remember there being issues regarding whether the main program has to be linked as a C++ or Fortran project.