|
Makeprojects
|
This module contains classes needed to generate project files intended for use by Open Watcom WMAKE 1.9 or higher. More...
Classes | |
| class | BuildWatcomFile |
| Class to build watcom make files. More... | |
| class | WatcomProject |
| Root object for a Watcom IDE project file. More... | |
Functions | |
| match (filename) | |
| Check if the filename is a project type that this module supports. | |
| create_build_object (file_name, priority=50, configurations=None, verbose=False) | |
| Create BuildWatcomFile build records for every desired configuration. | |
| create_clean_object (file_name, priority=50, configurations=None, verbose=False) | |
| Create BuildWatcomFile clean records for every desired configuration. | |
| test (ide, platform_type) | |
| Filter for supported platforms. | |
| generate (solution) | |
| Create a project file for Watcom. | |
Variables | |
| tuple | SUPPORTED_IDES = (IDETypes.watcom,) |
| List of IDETypes the watcom module supports. | |
| _WATCOMFILE_MATCH | |
| Regex for matching files with *.wmk. | |
| str | _WMAKE_DO_NOTHING |
| String to do nothing in WMAKE. | |
This module contains classes needed to generate project files intended for use by Open Watcom WMAKE 1.9 or higher.
| makeprojects.watcom.create_build_object | ( | file_name, | |
| priority = 50, | |||
| configurations = None, | |||
| verbose = False ) |
Create BuildWatcomFile build records for every desired configuration.
| file_name | Pathname to the *.wmk to build |
| priority | Priority to build this object |
| configurations | Configuration list to build |
| verbose | True if verbose output |
| makeprojects.watcom.create_clean_object | ( | file_name, | |
| priority = 50, | |||
| configurations = None, | |||
| verbose = False ) |
Create BuildWatcomFile clean records for every desired configuration.
| file_name | Pathname to the *.wmk to build |
| priority | Priority to build this object |
| configurations | Configuration list to build |
| verbose | True if verbose output |
| makeprojects.watcom.generate | ( | solution | ) |
Create a project file for Watcom.
Given a Solution object, create an appropriate Watcom WMAKE file to allow this project to build.
| solution | Solution instance. |
| makeprojects.watcom.match | ( | filename | ) |
Check if the filename is a project type that this module supports.
Check if the project file ends with ".wmk", return True if so.
| filename | Filename to match |
| makeprojects.watcom.test | ( | ide, | |
| platform_type ) |
Filter for supported platforms.
Watcom supports MSDOS 4GW, MSDOS X32 and Windows 32 only.
| ide | IDETypes |
| platform_type | enums.PlatformTypes |