Difference between revisions of "Build Configurations"

From VSI OpenVMS Wiki
Jump to: navigation, search
openvms>Sergey.vorfolomeev
m (Sergey.vorfolomeev moved page Builds Configuration to Build Configurations)
openvms>Sergey.vorfolomeev
Line 1: Line 1:
 +
'''New in version 0.0.22'''
 +
 
== Named build configurations ==
 
== Named build configurations ==
  

Revision as of 11:40, 28 May 2019

New in version 0.0.22

Named build configurations

   "builds": {
       "configurations": [
           {
               "label": "DEBUG",
               "description": "DEBUG",
               "command": "",
               "parameter": "DEBUG" 
           },
           {
               "label": "RELEASE",
               "description": "RELEASE",
               "command": "",
               "parameter": "RELEASE" 
           },
           {
               "label": "myOwnRelease",
               "description": "My own build release",
               "command": "executable.mms",
               "parameter": "" 
           },
           {
               "label": "myOwnDebug",
               "description": "My own build debug",
               "command": "build.com",
               "parameter": "DEBUG" 
           }
       ]
   }
  • label - unique label, name of build configuration. Also this value is used as output folder.
  • description - description
  • command - command to build, clean project
  • parameter - parameter to pass into command

In case of command is empty the default auto-created MMS file is used to build project. Parameter is used to distinguish DEBUG and RELEASE.
If the user defined command is MMS file, it is processed via command "MMS/EXTENDED_SYNTAX/DESCR=<MMS file> parameter", so the parameter is treated as a target.
If the user defined command is COM file, it is executed like "@<COM file> parameter".
In the CLEAN operation parameter will be just "CLEAN" string.

Editing of builds is the same as editing of project settings.

To change current build configuration click "Change" on the buildName: line.

To debug a project, there must be a build configuration named DEBUG.

Changes in task2cmd: parameter for any build and clean command must be named build configuration label.