fpm icon indicating copy to clipboard operation
fpm copied to clipboard

add predefined macro PROJECT_ROOT

Open St-Maxwell opened this issue 3 years ago • 0 comments

Inspired by #766 This pull request adds PROJECT_ROOT as a predefined macro. If preprocess is activated, this macro definition is passed to the source code. And it is possible to add more predefined macros.

P.S. I find it is quite complex using macro in Fortran source code. Anyway, it is the problem of preprocessor itself.

St-Maxwell avatar Nov 03 '22 08:11 St-Maxwell