88
edits
m (→Debian/Ubuntu) |
m (→Definitions) |
||
Line 97: | Line 97: | ||
The following environment variables must be set because they will be used in shell commands: | The following environment variables must be set because they will be used in shell commands: | ||
* <code>NR_JOBS</code>: Number of jobs for parallel compilation. For example: <code>NR_JOBS=$(/usr/bin/nproc)</code>. | * <code>NR_JOBS</code>: Number of jobs for parallel compilation. For example: <code>NR_JOBS=$(/usr/bin/nproc)</code>. | ||
* <code>FGFS_PREFIX</code>: Prefix of the | * <code>FGFS_PREFIX</code>: Prefix of the FlightGear installation. For example: <code>FGFS_PREFIX=${HOME}/FlightGear</code>. All the source code must be located under the directory <code>${FGFS_PREFIX}/src</code> and the installation will be done under the directory <code>${FGFS_PREFIX}</code> as <code>${FGFS_PREFIX}/bin</code>, <code>${FGFS_PREFIX}/include</code>, <code>${FGFS_PREFIX}/lib</code>,... | ||
* <code>cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo</code> can be replaced by <code>cmake -DCMAKE_BUILD_TYPE=Release</code> for better performances. | * <code>cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo</code> can be replaced by <code>cmake -DCMAKE_BUILD_TYPE=Release</code> for better performances. | ||
* <code>FGFS_PREFIX_LIB</code>: The default <code>lib</code> directory is different between RedHat and Debian based distributions. Usually on Debian based distributions | * <code>FGFS_PREFIX_LIB</code>: The default <code>lib</code> directory is different between RedHat and Debian based distributions. Usually on Debian based distributions |
edits