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:
Damjan Adamic
2015-11-15 16:32:12 +01:00
parent 2572ed0eba
commit 754b875d81
2 changed files with 55 additions and 0 deletions
+8
View File
@@ -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