mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 18:29:11 +00:00
Merge pull request #8093 from tobloef/fix-clion-debug-docs
Fix CLion debugging steps
This commit is contained in:
@@ -24,7 +24,7 @@ CLion does not support compiling and debugging Godot via SCons out of the box. T
|
||||
|
||||
::
|
||||
|
||||
scons
|
||||
scons dev_build=yes
|
||||
|
||||
To add a custom build target that invokes SCons for compilation:
|
||||
|
||||
@@ -47,7 +47,7 @@ To add a custom build target that invokes SCons for compilation:
|
||||
|
||||
.. note:: CLion does not expand shell commands like ``scons -j$(nproc)``. Use concrete values instead, e.g. ``scons -j8``.
|
||||
|
||||
.. figure:: img/clion-create-build-tool.png
|
||||
.. figure:: img/clion-create-build-tool.webp
|
||||
:align: center
|
||||
|
||||
- Back in the **External Tools** dialog, click the **+** again to add a second external tool for cleaning the Godot build via SCons. Give the tool a name, e.g. ``Clean Godot debug``, set **Program** to ``scons``, set **Arguments** to ``-c`` (which will clean the build), and set the **Working directory** to ``$ProjectFileDir$``. Click **OK** to create the tool.
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 276 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 61 KiB |
Reference in New Issue
Block a user