![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
Topic Title: MultiMakeFileGenerator Topic Summary: Created On: 22-Sep-2005 20:36 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|||
------------
Overview ------------ This VB project is creating the GHS MULTI build (.bld) or project (.gpj) files for a Rhapsody generated component. The VB script is compiled into MultiMakefileGenerator.exe located under <Rhapsody>/Share/etc. The executable is used by Rhapsody to create the build files for MULTI based environments. The MULTI build file generator was developed with Microsoft Visual Basic 6.0 SP-3. ----------------------------------- Changing the build file generation ----------------------------------- In order to modify the build file generation: 1. Create backup copies of the following files (recommended) - ../etc/MultiMakefileGenerator.exe - IntegrityBuildScript.bas - MultiMakefileGenerator.vbp 2. Modify file attributes of the following files to RW: - IntegrityBuildScript.bas - MultiMakefileGenerator.vbp 3. Open the MultiMakefileGenerator.vbp with Microsoft Visual Basic 6.0 (Tested with VB 6.0 SP-3). 4. Verify that the project references to the appropriate Rhapsody installation: - Open the References dialog (From VB menu: Project -> References) - Select the reference to Rhapsody, and verify that the path to rhapsody.tlb is correct. 5. Edit the IntegrityBuildScript.bas module. 6. Rebuild the executable (From VB menu: File -> Make MultiMakefileGenerator.exe). The VB Project, MultMakefileGenerator.vbp, contains version information for the generated .exe file. It can be accessed from File->Make MultiMakefileGenerator -> Options. To maintain proper versions always be sure to increment the version if changes are made. All changes must be documented in the MultiMakeFileGenerator changes.doc file. ---------------------- Support of Multi 4.0 ---------------------- Multi 4.0 separates the installation location of Integrity from Multi. The Multi MakeFile Generator requires the location of the installation of Integrity. The location of Integrity can be specified using an environment variable or using a property. In addition, MULTI_ROOT should be specified in order to use Integrity5make.bat file correctly. To specify the Integrity root location by environment variable, set the environment variable INTEGRITY_ROOT to the root location of Integrity, i.e. c:\ghs\int504 To specify the Multi root location by environment variable, set the environment variable MULTI_ROOT to the root location of Integrity, i.e. c:\ghs\ppc405 To specify the location by property, set the property IntegrityRoot. This property is defined in the siteC++.prp file located in the zip file. ------------------------- Support of project format ------------------------- The IntegrityBuildScript recognizes the format of the output file according to the value of the MakeExtention property. If it is equal to ".bld", it creates file(s) in .bld format, otherwise it creates project format files (with .gpj extention) The actual syntax of fragments of the generated files is based on the Keys global table, which contains appropriate keywords in .bld or .gpj format. The table is initialized by the InitKeys subroutine according to the MakeExtention property value. The Integrity5Make.bat file recognizes format of build file (.bld or .gpj) and calls the build or the gbuild correspondingly
|
|||
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.