982
edits
No edit summary |
|||
| Line 205: | Line 205: | ||
<references/> | <references/> | ||
== | ==Options and Parameters for a new Version download_and_compile== | ||
Revamp options and parameters. | Revamp options and parameters. | ||
| Line 212: | Line 212: | ||
{| class=wikitable | {| class=wikitable | ||
! value | ! value | ||
! | ! meaning | ||
|- | |||
| colspan="2" |'''Development Environment''' | |||
|- | |||
| | | -a: [y or n] || apt-get update | ||
|- | |||
| | | -p: [y or n] || download install required development packages | ||
|- | |||
| | | colspan="2" |'''Obtain Sources''' | ||
|- | |||
| -d: [y or n] || download sources | |||
*Update the local repository from upstream | |||
| | *Update sources from local repository | ||
|- | |||
| | | -m || Create separate local repositories for each source version (new) | ||
|- | |||
| | | colspan="2" |'''Configuration''' | ||
|- | |||
| -r: [y or n] || configure or reconfigure | |||
| | |- | ||
| -w || Verbose makefile option | |||
| | |- | ||
| | |colspan="2"|'''Compile and Build''' | ||
| | |- | ||
|c: | | -c: [y or n] || do the compilation and building | ||
|- | |||
| | | -j: n|| Threads for the make command | ||
|- | |||
| | | -O: n|| Optimization level for g++ | ||
|- | |||
|d | | -g|| Compile with debug| append a d or -d to any component name listed in parameters and that one will be built with debug | ||
|- | |||
| | |colspan="2"|'''Script Behavior''' | ||
|- | |||
| | | -h|| display help | ||
|- | |||
| | | -x ||Sets -x in the script for script debugging | ||
|- | |||
|B: | | -v ||Sets -v in the script for script debugging | ||
|- | |||
|R: | |colspan="2"|'''Deprecated''' | ||
|-e ||Build with new event model||Is this still needed? | |||
|G: | |- | ||
|- | |||
| -u || Update Mode - supress reconfigure. | |||
*This feature is deprecated because -r n will do the same thing. | |||
|- | |||
| -B: ||Branch | |||
*This feature is deprecated because branch is not specified as a parameter | |||
|- | |||
| -R: ||Revision | |||
*This feature is not needed as a separate item Revision can be specified in the parameters | |||
|- | |||
|-G: || version no for osg | |||
*This feature is not needed - version of osg can be specified in the parameters | |||
|- | |||
| -z || Stop after one module was added to allow easier debugging by preventing the script from writing too much -x and -v output. The extra output made errors harder to identify. | |||
*More robust error handling and reporting in the script would make this unnecessary. | |||
|} | |} | ||
*Parameters tell what things will be included and which version to build | |||
**all | |||
**plib | |||
**osg | |||
**osg-version | |||
**events | |||
**openrti | |||
**simgear | |||
**flightgear or fgfs | |||
**stable | |||
**2.12.1 etc | |||
**master | |||
**next | |||
[[User:Callahanp|Callahanp]] ([[User talk:Callahanp|talk]]) 04:46, 17 November 2013 (UTC) | |||
edits