From 3567542ce611fe172c79bd7bb1fd3ef96d9e7cd1 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Mon, 1 Nov 2021 21:53:37 +0100 Subject: [PATCH] Document compiling a debug server build A debug server build is lighter than an editor headless build, but still allows debugging tools to be used. --- development/compiling/compiling_for_osx.rst | 7 ++++++- development/compiling/compiling_for_x11.rst | 5 +++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/development/compiling/compiling_for_osx.rst b/development/compiling/compiling_for_osx.rst index 22a713050..2839ff27d 100644 --- a/development/compiling/compiling_for_osx.rst +++ b/development/compiling/compiling_for_osx.rst @@ -77,7 +77,12 @@ projects in an automated manner, use:: scons platform=server tools=yes target=release_debug --jobs=$(sysctl -n hw.logicalcpu) -To compile a *server* build which is optimized to run dedicated game servers, +To compile a debug *server* build which can be used with +:ref:`remote debugging tools `, use:: + + scons platform=server tools=no target=release_debug --jobs=$(sysctl -n hw.logicalcpu) + +To compile a release *server* build which is optimized to run dedicated game servers, use:: scons platform=server tools=no target=release --jobs=$(sysctl -n hw.logicalcpu) diff --git a/development/compiling/compiling_for_x11.rst b/development/compiling/compiling_for_x11.rst index 1ab0cb428..39ffd754f 100644 --- a/development/compiling/compiling_for_x11.rst +++ b/development/compiling/compiling_for_x11.rst @@ -142,6 +142,11 @@ projects in an automated manner, use:: scons -j8 platform=server tools=yes target=release_debug +To compile a debug *server* build which can be used with +:ref:`remote debugging tools `, use:: + + scons -j8 platform=server tools=no target=release_debug + To compile a *server* build which is optimized to run dedicated game servers, use::