@@ -125,20 +125,24 @@ build targets, and which will be explained below.
125125Target
126126------
127127
128- Target controls if the editor is contained and debug flags are used.
129- All builds are optimized. Each mode means:
128+ The ``target `` option controls if the editor is compiled and debug flags are used.
129+ Optimization levels (``optimize ``) and whether each build contains debug symbols
130+ (``debug_symbols ``) is controlled separately from the target. Each mode means:
130131
131- - ``target=editor ``: Build with editor, optimized, with debugging code (defines: ``TOOLS_ENABLED ``, `` DEBUG_ENABLED ``, ``-O2 ``/`` /O2 ``)
132- - ``target=template_debug ``: Build with C++ debugging symbols (defines: ``DEBUG_ENABLED ``, `` -O2 ``/`` /O2 ``)
133- - ``target=template_release ``: Build without symbols (defines: `` -O3 ``/`` /O2 ``)
132+ - ``target=editor ``: Build an editor binary (defines ``TOOLS_ENABLED `` and ``DEBUG_ENABLED ``)
133+ - ``target=template_debug ``: Build a debug export template (defines ``DEBUG_ENABLED ``)
134+ - ``target=template_release ``: Build a release export template
134135
135136The editor is enabled by default in all PC targets (Linux, Windows, macOS),
136137disabled for everything else. Disabling the editor produces a binary that can
137138run projects but does not include the editor or the Project Manager.
138139
140+ The list of :ref: `command line arguments <doc_command_line_tutorial >`
141+ available varies depending on the build type.
142+
139143::
140144
141- scons platform=<platform> target=editor/ template_debug/ template_release
145+ scons platform=<platform> target=editor| template_debug| template_release
142146
143147.. _doc_introduction_to_the_buildsystem_development_and_production_aliases :
144148
0 commit comments