Hi Martin, the compiler decides which files get preprocessed and which files not.
here is some info from ifort o Filenames with the suffix .f, .for, or .ftn are interpreted as fixed-form Fortran source files. o Filenames with the suffix .fpp, .F, .FOR, .FTN, or .FPP are interpreted as fixed-form Fortran source files, which must be preprocessed by the fpp preprocessor before being compiled. you can change the behaviour if I remember correctly with ADD_DEFINITION from cmake and SET_PROPERTIES for individual files. Alin -- ______________________________________________________________________ "...if the universities will not study useless subjects, who will?" G. F. Fitzgerald, Nature, 45/46, 392 (1892) ______________________________________________________________________ Mr. Alin M. ELENA Atomistic Simulation Centre School of Mathematics and Physics Queen's University Belfast Office: +44 (0)28 9097 1428 Fax: +44 (0)28 9097 5359 http://titus.phy.qub.ac.uk/group/Alin/ alin.el...@yahoo.co.uk alin.el...@qub.ac.uk ______________________________________________________________________ _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake