Renamed to STRIP_SYMBOLS and made logic more clear (nw)

This commit is contained in:
Miodrag Milanovic 2015-04-22 14:23:49 +02:00
parent 98297ad03d
commit 3827f898ab
2 changed files with 8 additions and 8 deletions

View File

@ -77,7 +77,7 @@
# SEPARATE_BIN = 1
# PYTHON_EXECUTABLE = python3
# SHADOW_CHECK = 1
# NO_STRIPPING = 1
# STRIP_SYMBOLS = 0
# QT_HOME = /usr/lib64/qt48/
@ -539,8 +539,8 @@ ifdef SHADOW_CHECK
PARAMS += --SHADOW_CHECK='$(SHADOW_CHECK)'
endif
ifdef NO_STRIPPING
PARAMS += --NO_STRIPPING='$(NO_STRIPPING)'
ifdef STRIP_SYMBOLS
PARAMS += --STRIP_SYMBOLS='$(STRIP_SYMBOLS)'
endif
ifdef QT_HOME

View File

@ -288,11 +288,11 @@ newoption {
}
newoption {
trigger = "NO_STRIPPING",
description = "Stripping.",
trigger = "STRIP_SYMBOLS",
description = "Symbols stripping.",
allowed = {
{ "0", "Enabled" },
{ "1", "Disabled" },
{ "0", "Disabled" },
{ "1", "Enabled" },
}
}
@ -1148,7 +1148,7 @@ else
end
mainProject(_OPTIONS["target"],_OPTIONS["subtarget"])
if (_OPTIONS["NO_STRIPPING"]~="1") then
if (_OPTIONS["STRIP_SYMBOLS"]== nil or _OPTIONS["STRIP_SYMBOLS"]=="1") then
strip()
end