Scripted Compilation on Linux Debian/Ubuntu: Difference between revisions

Jump to navigation Jump to search
→‎Task-specific instructions: Add section showing how to pass -DCMAKE_VERBOSE_MAKEFILE=1 when building SG or FG
(→‎Getting download_and_compile.sh the “right way”: Remove confusing note and add '-b next' to the 'git clone' command to be 100% sure 'next' will be checked out)
(→‎Task-specific instructions: Add section showing how to pass -DCMAKE_VERBOSE_MAKEFILE=1 when building SG or FG)
Line 606: Line 606:
  $ export FG_CMAKEARGS='-DENABLE_SWIFT=ON -DENABLE_HID_INPUT=OFF'
  $ export FG_CMAKEARGS='-DENABLE_SWIFT=ON -DENABLE_HID_INPUT=OFF'
  $ download_and_compile.sh
  $ download_and_compile.sh
=== Seeing the compilation commands run by Make ===
As a simple application of the previous section, the following options are often useful. When passed to <tt>download_and_compile.sh</tt>, these options cause the compilation commands run via Make to be printed on the terminal and recorded in the compilation_log.txt file:
  --sg-cmake-arg='-DCMAKE_VERBOSE_MAKEFILE=1' \
  --fg-cmake-arg='-DCMAKE_VERBOSE_MAKEFILE=1'
(the backslash is unneeded if you put both options on the same line). Passing the value 0 instead of 1 would explicitly request the default, non-verbose behavior.


=== Launching FlightGear ===
=== Launching FlightGear ===
377

edits

Navigation menu