Download MAN page

Transcript
F95FILESUFFIXES
The list of file extensions for which the F95 dialect will be used. By default, this is ['.f95']
F95FLAGS
General user-specified options that are passed to the Fortran 95 compiler. Note that this variable does not
contain -I (or similar) include search path options that scons generates automatically from $F95PATH. See
$_F95INCFLAGS below, for the variable that expands to those options. You only need to set $F95FLAGS if
you need to define specific user options for Fortran 95 files. You should normally set the $FORTRANFLAGS
variable, which specifies the user-specified options passed to the default Fortran compiler for all Fortran versions.
_F95INCFLAGS
An automatically-generated construction variable containing the Fortran 95 compiler command-line options for
specifying directories to be searched for include files. The value of $_F95INCFLAGS is created by appending
$INCPREFIX and $INCSUFFIX to the beginning and end of each directory in $F95PATH.
F95PATH
The list of directories that the Fortran 95 compiler will search for include directories. The implicit dependency scanner will search these directories for include files. Don't explicitly put include directory arguments in
$F95FLAGS because the result will be non-portable and the directories will not be searched by the dependency
scanner. Note: directory names in $F95PATH will be looked-up relative to the SConscript directory when they
are used in a command. To force scons to look-up a directory relative to the root of the source tree use #: You
only need to set $F95PATH if you need to define a specific include path for Fortran 95 files. You should normally
set the $FORTRANPATH variable, which specifies the include path for the default Fortran compiler for all Fortran
versions.
env = Environment(F95PATH='#/include')
The directory look-up can also be forced using the Dir() function:
include = Dir('include')
env = Environment(F95PATH=include)
The directory list will be added to command lines through the automatically-generated $_F95INCFLAGS construction variable, which is constructed by appending the values of the $INCPREFIX and $INCSUFFIX construction variables to the beginning and end of each directory in $F95PATH. Any command lines you define that
need the F95PATH directory list should include $_F95INCFLAGS:
env = Environment(F95COM="my_compiler $_F95INCFLAGS -c -o $TARGET $SOURCE")
F95PPCOM
The command line used to compile a Fortran 95 source file to an object file after first running the file through the
C preprocessor. Any options specified in the $F95FLAGS and $CPPFLAGS construction variables are included
on this command line. You only need to set $F95PPCOM if you need to use a specific C-preprocessor command
line for Fortran 95 files. You should normally set the $FORTRANPPCOM variable, which specifies the default Cpreprocessor command line for all Fortran versions.
F95PPCOMSTR
The string displayed when a Fortran 95 source file is compiled to an object file after first running the file through
the C preprocessor. If this is not set, then $F95PPCOM or $FORTRANPPCOM (the command line) is displayed.
F95PPFILESUFFIXES
The list of file extensions for which the compilation + preprocessor pass for F95 dialect will be used. By default,
this is empty
112