summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoras564335sa <[email protected]>2022-08-22 14:12:15 +0800
committeras564335sa <[email protected]>2022-08-22 14:12:15 +0800
commita705771770c4d049b1273ee04b19a4ce4737e0fb (patch)
tree6723c845250e62ea5a4c031b701a985d8123059e
parente1ede04e5e66b503ac010d837f8e0aa94f0a7709 (diff)
add comments
-rw-r--r--xmake/modules/core/tools/armasm.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/armasm.lua b/xmake/modules/core/tools/armasm.lua
index 8d982010d..822d413f0 100644
--- a/xmake/modules/core/tools/armasm.lua
+++ b/xmake/modules/core/tools/armasm.lua
@@ -100,6 +100,9 @@ function nf_runtime(self, runtime)
end
-- make the define flag
+-- eg.
+-- add_defines("MACRO") -> --pd "MACRO SETA 1
+-- add_defines("MACRO=3") -> --pd "MACRO SETA 3"
function nf_define(self, macro)
local s = macro:replace(" ", "")
local def = s:split("=")