diff --git a/premake5.lua b/premake5.lua index 7b504e9..93b6242 100644 --- a/premake5.lua +++ b/premake5.lua @@ -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 {} diff --git a/readme.md b/readme.md index df979c9..ae69c53 100644 --- a/readme.md +++ b/readme.md @@ -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.