417
edits
 (-G Ninja and --verbose options added)  | 
				 (→Advanced options:  Markup and hopefully useful keywords for people searching the page)  | 
				||
| Line 773: | Line 773: | ||
* Force the use of a particular branch for a given component: <code>--component-branch ''COMPONENT=BRANCH''</code> (e.g., <code>--component-branch OSG=OpenSceneGraph-3.6</code>, <code>--component-branch FGFS=next</code>, etc.—but remember that components FGFS, SIMGEAR and DATA must ''always'' be in sync). See [[#Component-specific settings|Component-specific settings]] for details.  | * Force the use of a particular branch for a given component: <code>--component-branch ''COMPONENT=BRANCH''</code> (e.g., <code>--component-branch OSG=OpenSceneGraph-3.6</code>, <code>--component-branch FGFS=next</code>, etc.—but remember that components FGFS, SIMGEAR and DATA must ''always'' be in sync). See [[#Component-specific settings|Component-specific settings]] for details.  | ||
* Override the repository from which a given component is initially fetched: <code>--override-repo ''COMPONENT''=''SITE'':''ADDRESS''</code> (see [[#Component-specific settings|Component-specific settings]]).  | * Override the repository from which a given component is initially fetched: <code>--override-repo ''COMPONENT''=''SITE'':''ADDRESS''</code> (see [[#Component-specific settings|Component-specific settings]]).  | ||
* Generate build.ninja files and build using Ninja:   | * Generate build.ninja files and build using Ninja: <code>-G Ninja</code>  | ||
* Run   | * Run CMake in verbose mode: <code>--verbose</code> (this shows compilation commands)  | ||
For example, if you are a developer and wish to quickly recompile and reinstall only your own modifications for FlightGear, you can do this:  | For example, if you are a developer and wish to quickly recompile and reinstall only your own modifications for FlightGear, you can do this:  | ||
edits