forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
compiling_flags
Lukas Sägesser edited this page Jun 22, 2015
·
3 revisions
Godot is usually compiled by calling:
scons <binary>
There are a few extra flags that can be used which work in most platforms:
Tools are added by default. Disabling tools produces a binary that can run projects but that does not include the editor or the project manager.
scons <binary> tools=yes/no
Target controls optimization and debug flags. Each mode means:
- debug: Build with C++ debugging symbols, runtime checks (performs checks and reports error) and none to little optimization.
- release_debug: Build without C++ debugging symbols and optimization, but keep the runtime checks (performs checks and reports errors)
- release: Build without symbols, with optimization and with little to no runtime checks.
scons <binary> target=debug/release_debug/release
(c) Juan Linietsky, Ariel Manzur, Distributed under the terms of the CC By license.