Open
Description
Hi all,
As far as I understand, pre-processor support by fpm is still under discussion (#78, #308, #425).
I have a use case where I build my source code together with modules from an external library. Some of these modules are not present in my src
directory because they not needed -- the underlying dependencies within this library are masked by (cpp) pre-processing.
So, in short, I wanted to ask if you consider supporting pre-processing specific source files (similar to this #425 (comment)), prior to generating dependencies?
E.g.:
module mod_a
#ifdef _B
use mod_b, only: b
#endif
(...)
with the dependency of mod_b
in mod_a
not determined if mod_a
is not compiled with -cpp -D_B
?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels