PSCF v1.1
Public Member Functions | List of all members
pscfpp.make.MakeMaker Class Reference

Class to construct makefile system for a set of source files. More...

Public Member Functions

def __init__ (self, path='.', pathFromSrc='.', pathToSrc='.', parent=None, isTest=False)
 Constructor. More...
 
def makeInclude (self, base)
 Make include line suitable for a makefile. More...
 
def srcSuffix (self)
 Return suffix for source files: cpp or cc. More...
 
def find (self)
 Find all header and source files in this directory. More...
 

Detailed Description

Class to construct makefile system for a set of source files.

Definition at line 235 of file make.py.

Constructor & Destructor Documentation

◆ __init__()

def pscfpp.make.MakeMaker.__init__ (   self,
  path = '.',
  pathFromSrc = '.',
  pathToSrc = '.',
  parent = None,
  isTest = False 
)

Member Function Documentation

◆ makeInclude()

def pscfpp.make.MakeMaker.makeInclude (   self,
  base 
)

Make include line suitable for a makefile.

Definition at line 318 of file make.py.

References pscfpp.make.MakeMaker.pathFromSrc.

Referenced by pscfpp.make.MakeMaker.find().

◆ srcSuffix()

def pscfpp.make.MakeMaker.srcSuffix (   self)

Return suffix for source files: cpp or cc.

Definition at line 325 of file make.py.

References pscfpp.make.MakeMaker.isTest, pscfpp.text.RecordEditor.isTest, and pscfpp.text.FileEditor.isTest.

Referenced by pscfpp.make.MakeMaker.find().

◆ find()

def pscfpp.make.MakeMaker.find (   self)

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