Scons command line flags

From The Powder Toy
Revision as of 20:29, 25 September 2013 by wolfy1339 (talk | contribs) (added fullclean)
Jump to: navigation, search

This page will explain all the SCONS command line flags.

Name Description Define
OpenGL Compiles using OpenGL instead of SDL --opengl
Renderer Saves Renderer --renderer
64-bit Compiles a 64-bit (AMD64) version instead of 32-bit (x86) version. --64bit
Static Linking Reduces external library dependencies --static
Pthreadw32 Use PTW32_STATIC_LIB for pthreadw32 headers --pthreadw32-static
Python Version Determines which python version to use with generator.py --python-ver version
Release Makes a release build (slows down compiling) --release
Lua Directory Defines the directory in which the Lua headers are located. --lua-dir path
SDL Directory Defines the directory in which the SDL headers are located. --sdl-dir path
Tool Usually used for cross compiling --tool
SSE Compiles a legacy version --sse
SSE2 Enable SSE2 optimisations --sse2
SSE3 Enable SSE3 optimisations --sse3
X86 Target Intel x86 platform (32-bit) --x86
No FFT Do not use fftw3f for gravity. --nofft
No Lua Disables all Lua scripting features. --nolua
Debugging Enables Debug Options --debugging
Beta Makes a beta build --beta
Save Version Defines save version --save-version ver
Minor Version Defines the minor version --minor-version ver
Build Number Defines the build number --build-number ver
Snapshot Makes a snapshot build --snapshot
Snapshot ID Defines the snapshot ID --snapshot-id id
Stable Makes a stable build --stable
All at Once Compiles everything at once --aao
Windows Targets the Windows platform --win
Linux Targets the Linux platform --lin
Mac OS X Targets the Mac OS X platform --macosx
Raspbian Targets the Raspbian (OS of Raspberry Pi) platform --rpi
Build Sets the build directory --build
Full Clean For when nothing else works. Deletes all sconscript temporary files. --fullclean