The groups in a project (4pw files) can also be compiled from the
operating system command line, using the tool gsmake, which is located in the
GSTDIR/bin directory.
Syntax
gsmake [options] <file_list>
where file_list is a list of target Project (4pw) files, with or
without the extension.
Table 1. gsmake arguments
Argument |
Description |
-h |
Displays help information. |
-V |
Displays this program name and version. |
Table 2. gsmake targets with parameters
Targets |
Parameter |
Description |
-active |
|
Targets the application set as default in the project. |
-all |
|
Targets the complete project (default behavior). |
-t |
TARGET |
Adds TARGET to the list of targets to build. This argument
can be used multiple times to build several targets |
Table 3. gsmake operations
Operations |
Description |
-b |
Builds the target (default behavior). The files that are not up-to-date are
compiled, the others are not changed. |
-r |
Rebuilds the target. The output files are deleted, then all files are
compiled. |
-c |
Cleans the target. The output files are deleted. |
-force-build |
Forces the build/rebuild of the target. The files are compiled, whether or not
they are up-to-date. |
Table 4. gsmake options with parameters
Options |
Parameter |
Description |
-j |
NB |
Sets the number of parallel jobs to NB (default: 1). Set NB to 0 to use
the local computer's number of CPUs. When using this option, gsmake will try to start multiple
compilations in parallel when possible. This should speed up the global compilation time. |
-encoding |
ENCODING |
Sets the encoding to ENCODING. (default: System encoding) |
-disable-dependencies |
|
Disables the computation of the dependencies database. (default: false) |
-ag-GSTSETUPDIR |
DIRECTORY |
Sets the Application Generator template directory to DIRECTORY. Enter an absolute path, or a path relative to
the GSTDIR/bin/src/ag/tpl directory.
The default value, "default" corresponds to the multiple-dialog template
directory.
|
-max-errors |
NB |
Sets the maximum number of erroneous files to NB (default: 5) . Set the
value of NB to 0 for an unlimited number of error files. |
-generate-4pwdb |
|
Generate the 4pwdb file only (default is False). |
-wcDir |
WEBCOMPONENTS_DIR |
Web Components Directory path |