Re #3054: Lua byte-code of every loaded script is dumped to a file if LUA_COMPILER=YES is defined (only for simu target. Original code author (dsbeach)
This commit is contained in:
@@ -379,6 +379,10 @@ WATCHDOG_TEST = NO
|
||||
# Values = NO, YES
|
||||
WARNINGS_AS_ERRORS = NO
|
||||
|
||||
# Enable saving of Lua byte-code of all loaded scripts
|
||||
# Values = NO, YES
|
||||
LUA_COMPILER = NO
|
||||
|
||||
#------- END BUILD OPTIONS ---------------------------
|
||||
|
||||
# Define programs and commands.
|
||||
@@ -1416,6 +1420,10 @@ ifeq ($(IRPROTOS), YES)
|
||||
CPPDEFS += -DIRPROTOS
|
||||
endif
|
||||
|
||||
ifeq ($(LUA_COMPILER), YES)
|
||||
CPPDEFS += -DLUA_COMPILER
|
||||
endif
|
||||
|
||||
#---------------- Compiler Options C++ ----------------
|
||||
# -g*: generate debugging information
|
||||
# -O*: optimization level
|
||||
|
||||
Reference in New Issue
Block a user