qbuild

 

qbuild is used to compile projects or their elements created in LyciaStudio and located in the workspace.

 

Syntax:

 

qbuild [options] ProjectRoot [target]

 

Possible options:

 

-? [ --usage ]

displays usage information

-V [ --version ]

shows the version of the qbuild

-v [ --verbose ]

produces verbose output (detailed compilation information)

-D [ --define ] arg

defines default properties for the Java Virtual Machine

-C [ --configuration ] arg

specifies the build configuration to be used for building a project

-M [ --build_mode ] arg (=build)

specifies the operation for qbuild to do

 

Usage and examples:

 

qbuild produces one or more executable files or object files and places them to the output folder in the workspace. If only the path to the project is specified, the complete project will be built:

 

qbuild C:\work\ws\project4gl

 

If the path to a specific resource (a file or a program)  is specified, only this resource will be built:

 

qbuild C:\work\ws\project4gl program4gl  

 

-C must be followed by the name of the build configuration you want to use for building a project:

 

qbuild -C <configuration_name>

 

-M can be used for both building and cleaning programs. If omitted, the program is built by default. If present, it must be followed by build for building or by clean for cleaning the program:

 

qbuild c:\users\me\workspace\cms-micro

qbuild -M build c:\users\me\workspace\cms-micro

qbuild -M clean c:\users\me\workspace\cms-micro

 

 

Related articles:

Building Programs from Command Line