Added clean-symbols option
Going to add the actual logic for it later
This commit is contained in:
parent
b147006ffe
commit
08ca27a4b9
2 changed files with 8 additions and 0 deletions
|
@ -9,6 +9,11 @@ newoption {
|
|||
}
|
||||
}
|
||||
|
||||
newoption {
|
||||
trigger = "clean-symbols",
|
||||
description = "Cleans up the symbol table from unused symbols"
|
||||
}
|
||||
|
||||
-- main workspace
|
||||
workspace "ssc"
|
||||
configurations { "Debug", "Release" }
|
||||
|
@ -37,6 +42,8 @@ workspace "ssc"
|
|||
-- apply options
|
||||
filter "options:var-alloc=pack"
|
||||
defines { "SSC_PACK_VARS" }
|
||||
filter "options:clean-symbols"
|
||||
defines { "SSC_CLEAN_SYMBOLS" }
|
||||
filter {}
|
||||
|
||||
files {
|
||||
|
|
|
@ -52,6 +52,7 @@ There are also several compile-time options which are able to be configured via
|
|||
|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.
|
||||
For more information, see Grammatica's official [installation documentation](http://grammatica.percederberg.net/doc/release/install.html)._
|
||||
|
|
Loading…
Reference in a new issue