Difference between revisions of "Autobuild source environment"

From Second Life Wiki
Jump to navigation Jump to search
(Created page with "<!-- ======================================================================= This wiki page was generated by the converting the --help output from this command using the pyhelp2w…")
 
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<!-- =======================================================================
{{Autobuild Cmd
This wiki page was generated by the converting the --help output from this
|command=
command using the pyhelp2wiki command.
autobuild source_environment <br>    ''option'' [''value''] [''option'' [''value'']] ...
|comments=Displays the shell environment Autobuild-based buildscripts to use (by
calling 'eval' i.e. eval "$(autobuild source_environment)") or sourceing the output  
into the running shell.
}}


Rather than changing this page directly, or at least after having done so,
'''Command-Specific Options'''
consider making the change to the command help itself (or suggest doing so
{| class=lltable border=1
to the author).
|--
======================================================================== -->
!Option
Usage:
!Shortcut
      <nowiki>autobuild source_environment [-h] [-V] [-n] [-q] [-v] [-d]</nowiki>
!Value
!Description


|-
| --version
| -V
| None
| Show version information for source_environment tool module.
|}


Options:
In autobuild version 1.1, a new optional argument is added:
:{|border="0" cellpadding="5" style="border-collapse: collapse; border-style: none;"
<nowiki>optional arguments:</nowiki>


|- style="vertical-align: top;"
{{Syntax|autobuild source_environment [varsfile]}}
|<nowiki>-h, --help</nowiki>
|<nowiki>show this help message and exit</nowiki>


|- style="vertical-align: top;"
{| class=lltable border=1
|<nowiki>-V, --version</nowiki>
|--
 
!Option
|- style="vertical-align: top;"
!Shortcut
|<nowiki>-n, --dry-run</nowiki>
!Value
|<nowiki>run tool in dry run mode if available</nowiki>
!Description
 
|-  
|- style="vertical-align: top;"
| varsfile
|<nowiki>-q, --quiet</nowiki>
|  
|<nowiki>minimal output</nowiki>
| $AUTOBUILD_VARIABLES_FILE
| A file containing template variable assignments to be modified based on the buildtype
|}


|- style="vertical-align: top;"
This allows a separate file that can be used in related projects (such as the viewer and its libraries) so that all builds use the same compilation and option switches.
|<nowiki>-v, --verbose</nowiki>
|<nowiki>verbose output</nowiki>


|- style="vertical-align: top;"
The variables file used by Linden Lab to build the viewer and its libraries is in the [https://bitbucket.org/lindenlab/viewer-build-variables viewer-build-variables] repository.
|<nowiki>-d, --debug</nowiki>
 
|}


[[Category:Autobuild]]
[[Category:Autobuild]]

Latest revision as of 11:00, 7 October 2016

autobuild source_environment
option [value] [option [value]] ...

Displays the shell environment Autobuild-based buildscripts to use (by calling 'eval' i.e. eval "$(autobuild source_environment)") or sourceing the output into the running shell.

Standard Options

Option Shortcut Value Description
--debug -d None Display debug output
--dry-run -n None Run tool in dry run mode if available
--help -h None Show help message
--quiet -q None Display minimal output
--verbose -v None Display verbose output

Command-Specific Options

Option Shortcut Value Description
--version -V None Show version information for source_environment tool module.

In autobuild version 1.1, a new optional argument is added:

autobuild source_environment [varsfile]
Option Shortcut Value Description
varsfile $AUTOBUILD_VARIABLES_FILE A file containing template variable assignments to be modified based on the buildtype

This allows a separate file that can be used in related projects (such as the viewer and its libraries) so that all builds use the same compilation and option switches.

The variables file used by Linden Lab to build the viewer and its libraries is in the viewer-build-variables repository.