PyXMake Developer Guide  1.0
PyXMake
PyXMake.Build.Make.Fortran Class Reference

Base class for all Fortran build events. More...

Inheritance diagram for PyXMake.Build.Make.Fortran:
PyXMake.Build.Make.Make

Public Member Functions

def __init__ (self, args, kwargs)
 
def OutputPath (self, modulepath=None, libpath=os.getcwd())
 
def Preprocessing
 
def Wrapper (self, module_name, source_name=None)
 
def Build (self, cmdstring)
 
def create (self, kwargs)
 
- Public Member Functions inherited from PyXMake.Build.Make.Make
def __init__ (self, BuildID, Srcs, scratch=os.getcwd(), msvsc='vs2015', stype='Fortran', verbose=0, args, kwargs)
 
def __getstate__ (self)
 
def __setstate__ (self, _dict)
 
def AddIncludePath (self, includes)
 
def AddDependencyPath (self, dependencies)
 
def UseLibraries (self, libs)
 
def SourcePath (self, path)
 
def OutputPath (self, path, files="")
 
def Environment (self, path, script="ifortvars.bat")
 
def Preprocessing
 
def Build (self, cmdstring)
 
def Postprocessing (self, cmdstring='')
 
def create (self)
 

Public Attributes

 MakeObjectKind
 String identifier of current instance. More...
 
 isStatic
 Static or dynamic link library flag. More...
 
 architecture
 
 libs
 
 libname
 Name of library, assembled using BuildID. More...
 
 buildname
 Temporary build name. More...
 
 incremental
 
 intermediate_wrapper
 Wrapper interface file for 3rd party FORTRAN code. More...
 
 wrapper_source
 
 wrapper_module
 
 linkedIn
 List of libraries which should be statically linked in. More...
 
 temps
 Blank version of tuple to store temporary file names scheduled for removal. More...
 
 libdirs
 Blank version of list containing library directories without initially specifying MKL. More...
 
 outmodule
 Output path for module or header files. More...
 
 outlibs
 Output path for library files. More...
 
 compargs
 Used defined command line options. More...
 
 makecmd
 Intel Compiler command. More...
 
 linkcmd
 Intel Linker command. More...
 
 postcmd
 
- Public Attributes inherited from PyXMake.Build.Make.Make
 buildid
 Base string of build object. More...
 
 srcs
 Source file or folders.
 
 stype
 Source file type.
 
 verbose
 Level of verbosity of the current build object. More...
 
 scrtdir
 Current scratch directory.
 
 srcdir
 Default search directory for source files. More...
 
 outdir
 Default search directory for output. More...
 
 intelpath
 Path to Intel Fortran Compiler (read from Paths.log). More...
 
 temps
 Tuple of data to be removed after job completion. More...
 
 incdirs
 List of include directories. More...
 
 libdirs
 List of library directories. More...
 
 libs
 List of actual libraries (by name) used during linking. More...
 
 copyfiles
 List of files to be copied to the output directory after finish. More...
 
 setarch
 Define the architecture for the build directly by using the keyword argument "arch". More...
 
 architecture
 Processor architecture.
 
 iniCompiler
 Executable batch script (including absolute system path) to set up the Intel Fortran Compiler. More...
 
 msvsc
 Default version of Microsoft visual studio used by the Intel Fortran Compiler. More...
 
 postcmd
 Post build command. More...
 
 buildname
 
 precmd
 Command executed during pre-build event. More...
 
 compargs
 Command line arguments passed in by the user. More...
 
 makecmd
 Command executed during build event. More...
 

Detailed Description

Base class for all Fortran build events.

Inherited class to build projects using Intel Fortran.

Inherited from Make.

Definition at line 647 of file Make.py.

Constructor & Destructor Documentation

◆ __init__()

def PyXMake.Build.Make.Fortran.__init__ (   self,
  args,
  kwargs 
)
Initialization of Fortran class object.

Definition at line 651 of file Make.py.

Member Function Documentation

◆ Build()

def PyXMake.Build.Make.Fortran.Build (   self,
  cmdstring 
)
Assemble command strings for the main build event.

Definition at line 798 of file Make.py.

◆ create()

def PyXMake.Build.Make.Fortran.create (   self,
  kwargs 
)
Execute make command

Definition at line 853 of file Make.py.

◆ OutputPath()

def PyXMake.Build.Make.Fortran.OutputPath (   self,
  modulepath = None,
  libpath = os.getcwd() 
)
Define output directories for modules and libraries. 

Definition at line 702 of file Make.py.

◆ Wrapper()

def PyXMake.Build.Make.Fortran.Wrapper (   self,
  module_name,
  source_name = None 
)
Assemble command string for the pre-build event.

Definition at line 775 of file Make.py.

Member Data Documentation

◆ buildname

PyXMake.Build.Make.Fortran.buildname

Temporary build name.

Definition at line 678 of file Make.py.

◆ compargs

PyXMake.Build.Make.Fortran.compargs

Used defined command line options.

Definition at line 826 of file Make.py.

◆ intermediate_wrapper

PyXMake.Build.Make.Fortran.intermediate_wrapper

Wrapper interface file for 3rd party FORTRAN code.

Automatically creates a module of the underlying source material.

Definition at line 685 of file Make.py.

◆ isStatic

PyXMake.Build.Make.Fortran.isStatic

Static or dynamic link library flag.

Definition at line 660 of file Make.py.

◆ libdirs

PyXMake.Build.Make.Fortran.libdirs

Blank version of list containing library directories without initially specifying MKL.

Definition at line 699 of file Make.py.

◆ libname

PyXMake.Build.Make.Fortran.libname

Name of library, assembled using BuildID.

Definition at line 676 of file Make.py.

◆ linkcmd

PyXMake.Build.Make.Fortran.linkcmd

Intel Linker command.

Definition at line 844 of file Make.py.

◆ linkedIn

PyXMake.Build.Make.Fortran.linkedIn

List of libraries which should be statically linked in.

Definition at line 691 of file Make.py.

◆ makecmd

PyXMake.Build.Make.Fortran.makecmd

Intel Compiler command.

Definition at line 828 of file Make.py.

◆ MakeObjectKind

PyXMake.Build.Make.Fortran.MakeObjectKind

String identifier of current instance.

Definition at line 657 of file Make.py.

◆ outlibs

PyXMake.Build.Make.Fortran.outlibs

Output path for library files.

Definition at line 712 of file Make.py.

◆ outmodule

PyXMake.Build.Make.Fortran.outmodule

Output path for module or header files.

Definition at line 710 of file Make.py.

◆ temps

PyXMake.Build.Make.Fortran.temps

Blank version of tuple to store temporary file names scheduled for removal.

Definition at line 695 of file Make.py.


The documentation for this class was generated from the following file: