|
Makeprojects
|
Sub file for makeprojects. More...
Classes | |
| class | BuildCodeBlocksFile |
| Class to build Codeblocks files. More... | |
| class | Project |
| Root object for a Codeblocks IDE project file Created with the name of the project, the IDE code the platform code (4gw, x32, win) More... | |
Functions | |
| parse_codeblocks_file (full_pathname) | |
| Extract configurations from a Codeblocks project file. | |
| 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 BuildCodeBlocksFile build records for every desired configuration. | |
| create_clean_object (file_name, priority=50, configurations=None, verbose=False) | |
| Create BuildCodeBlocksFile build records for every desired configuration. | |
| test (ide, platform_type) | |
| Filter for supported platforms. | |
| generate (solution) | |
| Create a project file for Codeblocks. | |
Variables | |
| _CBPFILE_MATCH | |
| Regex for matching files with *.cbp. | |
| tuple | SUPPORTED_IDES = (IDETypes.codeblocks,) |
| List of IDETypes the codeblocks module supports. | |
Sub file for makeprojects.
Handler for Codeblocks projects
This module contains classes needed to generate project files intended for use by Codeblocks
| makeprojects.codeblocks.create_build_object | ( | file_name, | |
| priority = 50, | |||
| configurations = None, | |||
| verbose = False ) |
Create BuildCodeBlocksFile build records for every desired configuration.
| file_name | Pathname to the *.cbp to build |
| priority | Priority to build this object |
| configurations | Configuration list to build |
| verbose | True if verbose output |
| makeprojects.codeblocks.create_clean_object | ( | file_name, | |
| priority = 50, | |||
| configurations = None, | |||
| verbose = False ) |
Create BuildCodeBlocksFile build records for every desired configuration.
| file_name | Pathname to the *.cbp to build |
| priority | Priority to build this object |
| configurations | Configuration list to build |
| verbose | True if verbose output |
| makeprojects.codeblocks.generate | ( | solution | ) |
Create a project file for Codeblocks.
Given a Solution object, create an appropriate Watcom WMAKE file to allow this project to build.
| solution | Solution instance. |
| makeprojects.codeblocks.match | ( | filename | ) |
Check if the filename is a type that this module supports.
| filename | Filename to match |
| makeprojects.codeblocks.parse_codeblocks_file | ( | full_pathname | ) |
Extract configurations from a Codeblocks project file.
Given a .cbp file for Codeblocks locate and extract all of the build targets available and return the list.
| full_pathname | Pathname to the .cdp file |
| makeprojects.codeblocks.test | ( | ide, | |
| platform_type ) |
Filter for supported platforms.
| ide | IDETypes |
| platform_type | PlatformTypes |