You can import existing Green Hills Software .gpj projects from the GUI or from the command line.
Note that we support the GPJ format introduced in the MULTI-4.0 environment. Direct importing of BLD format project files is not supported, but you can use the bldtogpj.exe tool to validate and convert projects in the BLD format. See Validating and Converting GHS MULTI 2000 C/C++ Compiler v3.5 .bld Projects.
The key supported MULTI Builder features are:
The GPJ-related features in C++test allow:
|If you want more control over a project's contents and settings than the Green Hills Software project import wizard provides, you can manually create a project (as described in Creating a Project from the GUI) and set it to use the options from a GPJ project (as described in Use options from Green Hills Software (GHS) project).|
To create a C++test project from a .gpj project:
Check if any error/warning messages are displayed on the wizard’s title area. If there are messages, you may not be able to navigate the pages and/or to finish the wizard.
To create a C++test project from a .gpj project, do one of the following:
-gpj <prj_root_file>switch to
gpj.import.*options (see Local Settings (Options) Files for details). Then, in your
If an existing project in the workspace has the same name as the imported project, the new project will not be imported.
Direct importing of BLD format project files is not supported. Users can instead use the bldtogpj.exe tool to validate and convert BLD format to the recognized GPJ format. The bldtogpj.exe tool will utilize the gbldconvert.exe shipped with the GHS v4.0 C/C++ compiler for PowerPC distribution to create a new GPJ format project file.
bldtogpj.exe <path_to_gbldconvert> <path_to_top_level_bld_file> <optional:name_of_ext> <path_to_gbldconvert> : absolute path to gbldconvert in GHS 4.0/4.2 <path_to_top_level_bld_file> : absolute path to the main bld project file <optional:name_of_ext> : extension of the generated gpj file (must end in .gpj, default is .parasoft.gpj)
bldtogpj.exe "C:\GHS\PPC405b\gbldconvert.exe" "C:\Project\default.bld" ".ext.gpj"
After the validation and conversion, a new GPJ file with the specified extension (or by default .parasoft.gpj extension) will be created. You can utilize this newly created GPJ format project file for importing into C++test. See Importing an Existing Green Hills Software .gpj Project.