Makeprojects
Loading...
Searching...
No Matches
makeprojects.makefile Namespace Reference

Sub file for makeprojects. More...

Classes

class  BuildMakeFile
 Class to build Linux make files. More...
class  MakeProject
 Root object for a Makefile make file Created with the name of the project, the IDE code the platform code (Linux) More...

Functions

 match (filename)
 Check if the filename is a type that this module supports.
 create_build_object (file_name, priority=50, configurations=None, verbose=False)
 Create BuildMakeFile build records for every desired configuration.
 create_clean_object (file_name, priority=50, configurations=None, verbose=False)
 Create BuildMakeFile build records for every desired configuration.
 test (ide, platform_type)
 Filter for supported platforms.
 generate (solution)
 Create a gnu makefile.

Variables

tuple SUPPORTED_IDES = (IDETypes.make,)
 List of IDETypes the makefile module supports.
tuple _BASH_DELETE_EMPTY_FOLDER
 Bash command to delete an empty folder.
tuple _DEPLOY
 Deploy a file without source control.
tuple _DEPLOY_PERFORCE
 Using perforce, deploy a file.

Detailed Description

Sub file for makeprojects.

Handler for Linux make projects

This module contains classes needed to generate project files intended for use by make

Function Documentation

◆ create_build_object()

makeprojects.makefile.create_build_object ( file_name,
priority = 50,
configurations = None,
verbose = False )

Create BuildMakeFile build records for every desired configuration.

Parameters
file_namePathname to the *.mak to build
priorityPriority to build this object
configurationsConfiguration list to build
verboseTrue if verbose output
Returns
list of BuildMakeFile classes

◆ create_clean_object()

makeprojects.makefile.create_clean_object ( file_name,
priority = 50,
configurations = None,
verbose = False )

Create BuildMakeFile build records for every desired configuration.

Parameters
file_namePathname to the *.mak to build
priorityPriority to build this object
configurationsConfiguration list to build
verboseTrue if verbose output
Returns
list of BuildMakeFile classes

◆ generate()

makeprojects.makefile.generate ( solution)

Create a gnu makefile.

Given a Solution object, generate a makefile.

Parameters
solutionA Solution object
Returns
0 if no error, or an non-zero error code.

◆ match()

makeprojects.makefile.match ( filename)

Check if the filename is a type that this module supports.

Parameters
filenameFilename to match
Returns
False if not a match, True if supported

◆ test()

makeprojects.makefile.test ( ide,
platform_type )

Filter for supported platforms.

Parameters
ideIDETypes
platform_typePlatformTypes
Returns
True if supported, False if not