Removed var-alloc premake option

I'll add it back later once there is a better configuration for variable
allocation.
This commit is contained in:
arookas 2016-02-02 01:38:04 -05:00
parent 12f8ba2fc6
commit 63c5abc42d
2 changed files with 1 additions and 14 deletions

View file

@ -1,14 +1,4 @@
-- options
newoption {
trigger = "var-alloc",
value = "MODE",
description = "Sets how the compiler should allocate variables",
allowed = {
{ "pack", "Recycle slices as they become unused" },
{ "inc", "Every variable gets its own slice" }
}
}
newoption {
trigger = "clean-symbols",
description = "Cleans up the symbol table from unused symbols"
@ -40,8 +30,6 @@ workspace "ssc"
links { "System", "arookas", "grammatica-1.6" }
-- apply options
filter "options:var-alloc=pack"
defines { "SSC_PACK_VARS" }
filter "options:clean-symbols"
defines { "SSC_CLEAN_SYMBOLS" }
filter {}

View file

@ -47,11 +47,10 @@ The script generates a solution with the following projects:
- **sbdump**, a tool which dumps disassembly and other information on compiled SPC binaries
Simply run the script through premake5 and build the resulting solution.
There are also several compile-time options which are able to be configured via the premake5 command line:
There are also compile-time options which are able to be configured via the premake5 command line:
|Option|Description|
|------|-----------|
|var-alloc|Affects how variables are allocated slices. Available values are _pack_ and _inc_.|
|clean-symbols|Cleans symbol table of unused symbols.|
_**Note:** A Java runtime compatible with JDK 1.5 is required for generating the Grammatica parser classes during compilation.