Difference between revisions of "Scons command line flags"

From The Powder Toy
Jump to: navigation, search
(Enter a short summary [alt-b])
 
(It's hammer time! (for typos and such))
Line 7: Line 7:
 
| Define
 
| Define
 
|-
 
|-
| OpenGl
+
| OpenGL
| Compiles using opengl
+
| Compiles using OpenGL instead of SDL
 
| --opengl
 
| --opengl
 
|-
 
|-
Line 15: Line 15:
 
| --renderer
 
| --renderer
 
|-
 
|-
| 64 bit
+
| 64-bit
| Compiles a 64 bit version
+
| Compiles a 64-bit (AMD64) version instead of 32-bit (x86) version.
 
| --64bit  
 
| --64bit  
 
|-
 
|-
Line 29: Line 29:
 
| Python Version
 
| Python Version
 
| Determines which python version to use with generator.py
 
| Determines which python version to use with generator.py
| --python-ver
+
| --python-ver version
 
|-
 
|-
 
| Release
 
| Release
Line 36: Line 36:
 
|-
 
|-
 
| Lua Directory
 
| Lua Directory
| Defines the directory in which the lus Headers are located.
+
| Defines the directory in which the Lua headers are located.
| --lua-dir
+
| --lua-dir path
 
|-
 
|-
 
| SDL Directory
 
| SDL Directory
| Defines the directory in which the SDL Headers are located.
+
| Defines the directory in which the SDL headers are located.
| --sdl-dir
+
| --sdl-dir path
 
|-
 
|-
 
| Tool
 
| Tool
Line 60: Line 60:
 
|-
 
|-
 
| X86
 
| X86
| Target Intel x86 platform
+
| Target Intel x86 platform (32-bit)
 
| --x86
 
| --x86
 
|-
 
|-
Line 68: Line 68:
 
|-
 
|-
 
| No Lua
 
| No Lua
| Disables all lua scripting features.
+
| Disables all Lua scripting features.
 
| --nolua
 
| --nolua
 
|-
 
|-
Line 81: Line 81:
 
| Save Version
 
| Save Version
 
| Defines save version
 
| Defines save version
| --save-version
+
| --save-version ver
 
|-
 
|-
 
| Minor Version
 
| Minor Version
 
| Defines the minor version
 
| Defines the minor version
| --minor-version
+
| --minor-version ver
 
|-
 
|-
 
| Build Number
 
| Build Number
 
| Defines the build number
 
| Defines the build number
| --build-number
+
| --build-number ver
 
|-
 
|-
 
| Snapshot
 
| Snapshot
Line 96: Line 96:
 
|-
 
|-
 
| Snapshot ID
 
| Snapshot ID
| Defines the snapshot id
+
| Defines the snapshot ID
| --snapshot-id
+
| --snapshot-id id
 
|-
 
|-
 
| Stable
 
| Stable
Line 103: Line 103:
 
| --stable
 
| --stable
 
|-
 
|-
| Everything At Once
+
| All at Once
 
| Compiles everything at once
 
| Compiles everything at once
 
| --aao
 
| --aao
Line 119: Line 119:
 
| --macosx
 
| --macosx
 
|-
 
|-
| Raspbain
+
| Raspbian
| Targets the Raspbain platform
+
| Targets the Raspbian (OS of Raspberry Pi) platform
 
| --rpi
 
| --rpi
 
|-
 
|-

Revision as of 13:27, 25 September 2013

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