To my understanding from the Photran documentation, if a Fortran source code has an extension with capital letters, such as F90 or F95, this file will be automatically preprocessed when building. But it didn't work for me... If I try to build a project with only one file main.F90:
program main
#ifdef __linux__
print *,"Hello, world!"
#endif
end program
Then Photran would say "Nothing to build for project xxx". I have tried with Photran 8 (Eclipse Juno) and GNU compilers on both Windows and Linux, I have also tried Intel Fortran compiler on Linux so they all failed. So I guess this is related to Eclipse. Also I can confirm that the "Source Form" was set correctly, that is, *.F90 was set to "Free Form - C Preprocessed". Any help would be much appreciated.