|
Makeprojects
|
Class to build Visual Studio files. More...


Public Member Functions | |
| __init__ (self, file_name, priority, configuration, verbose=False, vs_version=0) | |
| Class to handle Visual Studio solution files. | |
| build_clean (self, build=True) | |
| Build or clean a visual studio .sln file. | |
| build (self) | |
| Build a visual studio .sln file. | |
| clean (self) | |
| Delete temporary files. | |
| Public Member Functions inherited from makeprojects.build_objects.BuildObject | |
| __init__ (self, file_name, priority=None, configuration=None) | |
| Initializers for an BuildObject. | |
| run_command (self, cmd, verbose) | |
| Issue a command and return the generated BuildError. | |
| __repr__ (self) | |
| Convert the object into a string. | |
| __str__ (self) | |
| Convert the object into a string. | |
Public Attributes | |
| verbose = verbose | |
| The verbose flag. | |
| int | vs_version = vs_version |
| The required version of Visual Studio. | |
| Public Attributes inherited from makeprojects.build_objects.BuildObject | |
| file_name = os.path.abspath(file_name) | |
| Name of file to build. | |
| priority = int(priority) | |
| Numeric priorty in ascending order. | |
| configuration = configuration | |
| Configuration if applicable. | |
Class to build Visual Studio files.
This builds files from Visual Studio 2003-2022.
| makeprojects.visual_studio.BuildVisualStudioFile.__init__ | ( | self, | |
| file_name, | |||
| priority, | |||
| configuration, | |||
| verbose = False, | |||
| vs_version = 0 ) |
Class to handle Visual Studio solution files.
| file_name | Pathname to the *.sln to build |
| priority | Priority to build this object |
| configuration | Build configuration |
| verbose | True if verbose output |
| vs_version | Integer Visual Studio version |
| makeprojects.visual_studio.BuildVisualStudioFile.build | ( | self | ) |
Build a visual studio .sln file.
Supports Visual Studio 2003 - 2022. Supports platforms Win32, x64, Android, nVidia Tegra, PS3, ORBIS, PSP, PSVita, Xbox, Xbox 360, Xbox ONE, Switch, Wii
Reimplemented from makeprojects.build_objects.BuildObject.
| makeprojects.visual_studio.BuildVisualStudioFile.build_clean | ( | self, | |
| build = True ) |
Build or clean a visual studio .sln file.
Supports Visual Studio 2003 - 2022. Supports platforms Win32, x64, Android, nVidia Tegra, PS3, ORBIS, PSP, PSVita, Xbox, Xbox 360, Xbox ONE, Switch, Wii
| build | If true, build, otherwise clean |
| makeprojects.visual_studio.BuildVisualStudioFile.clean | ( | self | ) |
Delete temporary files.
This function is called by cleanme to remove temporary files.
On exit, return 0 for no error, or a non zero error code if there was an error to report. None if not implemented or not applicable.
Reimplemented from makeprojects.build_objects.BuildObject.